blob: 0dff8a7ca7da29e76beaf43a172c7055fd0d62fc [file] [log] [blame]
Michael Blow82464fb2017-03-28 18:48:13 -04001<!--
2 ! Licensed to the Apache Software Foundation (ASF) under one
3 ! or more contributor license agreements. See the NOTICE file
4 ! distributed with this work for additional information
5 ! regarding copyright ownership. The ASF licenses this file
6 ! to you under the Apache License, Version 2.0 (the
7 ! "License"); you may not use this file except in compliance
8 ! with the License. You may obtain a copy of the License at
9 !
10 ! http://www.apache.org/licenses/LICENSE-2.0
11 !
12 ! Unless required by applicable law or agreed to in writing,
13 ! software distributed under the License is distributed on an
14 ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ! KIND, either express or implied. See the License for the
16 ! specific language governing permissions and limitations
17 ! under the License.
18 !-->
Abdullah Alamoudi806f7d22016-07-23 18:02:55 +030019<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Yingyi Buab817482016-08-19 21:29:31 -070020 <modelVersion>4.0.0</modelVersion>
21 <parent>
22 <groupId>org.apache.asterix</groupId>
23 <artifactId>asterix-maven-plugins</artifactId>
Ian Maxon2ce56312023-05-09 12:37:01 -070024 <version>0.9.8.2-SNAPSHOT</version>
Yingyi Buab817482016-08-19 21:29:31 -070025 </parent>
26 <artifactId>asterix-grammar-extension-maven-plugin</artifactId>
27 <packaging>maven-plugin</packaging>
Michael Blow4cd925c2018-01-20 17:15:38 -050028 <properties>
29 <root.dir>${basedir}/../..</root.dir>
30 </properties>
Yingyi Buab817482016-08-19 21:29:31 -070031 <dependencies>
32 <dependency>
33 <groupId>org.apache.maven</groupId>
34 <artifactId>maven-plugin-api</artifactId>
Yingyi Buab817482016-08-19 21:29:31 -070035 </dependency>
36 <dependency>
37 <groupId>org.apache.maven</groupId>
38 <artifactId>maven-core</artifactId>
Yingyi Buab817482016-08-19 21:29:31 -070039 </dependency>
40 <dependency>
41 <groupId>org.apache.maven</groupId>
42 <artifactId>maven-compat</artifactId>
Yingyi Buab817482016-08-19 21:29:31 -070043 </dependency>
Abdullah Alamoudi806f7d22016-07-23 18:02:55 +030044 <!-- dependencies to annotations -->
Yingyi Buab817482016-08-19 21:29:31 -070045 <dependency>
46 <groupId>org.apache.maven.plugin-tools</groupId>
47 <artifactId>maven-plugin-annotations</artifactId>
Yingyi Buab817482016-08-19 21:29:31 -070048 <scope>provided</scope>
49 </dependency>
50 <dependency>
Abdullah Alamoudid718dc42017-02-02 21:41:48 -080051 <groupId>org.apache.hyracks</groupId>
52 <artifactId>algebricks-common</artifactId>
53 </dependency>
54 <dependency>
Yingyi Buab817482016-08-19 21:29:31 -070055 <groupId>org.apache.asterix</groupId>
56 <artifactId>asterix-external-data</artifactId>
57 <version>${project.version}</version>
58 </dependency>
59 <dependency>
60 <groupId>org.apache.maven.plugin-testing</groupId>
61 <artifactId>maven-plugin-testing-harness</artifactId>
62 <version>3.3.0</version>
63 <scope>test</scope>
64 </dependency>
65 <dependency>
66 <groupId>org.apache.asterix</groupId>
67 <artifactId>asterix-lang-common</artifactId>
68 <version>${project.version}</version>
69 </dependency>
70 <dependency>
71 <groupId>org.apache.asterix</groupId>
Michael Blow599ef8f2017-01-12 11:02:53 -050072 <artifactId>asterix-common</artifactId>
Yingyi Buab817482016-08-19 21:29:31 -070073 <version>${project.version}</version>
74 </dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -050075 <dependency>
76 <groupId>org.apache.commons</groupId>
77 <artifactId>commons-lang3</artifactId>
78 </dependency>
79 <dependency>
80 <groupId>junit</groupId>
81 <artifactId>junit</artifactId>
82 <scope>test</scope>
83 </dependency>
Yingyi Buab817482016-08-19 21:29:31 -070084 </dependencies>
85 <build>
86 <plugins>
87 <plugin>
88 <groupId>org.codehaus.mojo</groupId>
89 <artifactId>javacc-maven-plugin</artifactId>
90 <version>2.6</version>
91 <executions>
92 <execution>
93 <id>javacc</id>
94 <goals>
95 <goal>javacc</goal>
96 </goals>
Ian Maxon9658f932017-03-29 21:36:31 -070097 <phase>generate-test-sources</phase>
Yingyi Buab817482016-08-19 21:29:31 -070098 <configuration>
99 <isStatic>false</isStatic>
100 <javaUnicodeEscape>true</javaUnicodeEscape>
101 <sourceDirectory>${project.build.directory}/generated-sources/lang</sourceDirectory>
102 <outputDirectory>${project.build.directory}/generated-sources/javacc</outputDirectory>
103 </configuration>
104 </execution>
Yingyi Buab817482016-08-19 21:29:31 -0700105 </executions>
106 </plugin>
Michael Blow599ef8f2017-01-12 11:02:53 -0500107 <plugin>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow599ef8f2017-01-12 11:02:53 -0500110 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500111 <usedDependencies combine.children="append">
Michael Blow599ef8f2017-01-12 11:02:53 -0500112 <usedDependency>org.apache.maven:maven-core</usedDependency>
113 <usedDependency>org.apache.maven:maven-compat</usedDependency>
114 </usedDependencies>
115 </configuration>
116 </plugin>
Yingyi Buab817482016-08-19 21:29:31 -0700117 </plugins>
118 <pluginManagement>
119 <plugins>
120 <plugin>
121 <groupId>org.apache.maven.plugins</groupId>
122 <artifactId>maven-plugin-plugin</artifactId>
Yingyi Buab817482016-08-19 21:29:31 -0700123 <configuration>
124 <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
125 </configuration>
126 <executions>
127 <execution>
128 <id>mojo-descriptor</id>
129 <phase>process-classes</phase>
130 <goals>
131 <goal>descriptor</goal>
132 </goals>
133 </execution>
134 </executions>
135 </plugin>
136 </plugins>
137 </pluginManagement>
138 </build>
Michael Blow7626d162017-12-10 14:26:56 -0500139 <profiles>
140 <profile>
141 <id>jjdoc</id>
142 <activation>
143 <property>
144 <name>jjdoc.skip</name>
145 <value>!true</value>
146 </property>
147 </activation>
148 <build>
149 <plugins>
150 <plugin>
151 <groupId>org.codehaus.mojo</groupId>
152 <artifactId>javacc-maven-plugin</artifactId>
153 <executions>
154 <execution>
155 <id>javacc-jjdoc</id>
156 <goals>
157 <goal>jjdoc</goal>
158 </goals>
159 <phase>generate-test-sources</phase>
160 </execution>
161 </executions>
162 </plugin>
163 </plugins>
164 </build>
165 </profile>
166 </profiles>
Abdullah Alamoudi806f7d22016-07-23 18:02:55 +0300167</project>