blob: c2ff29fad7363a2175bb609eecd11bfd47f1946f [file] [log] [blame]
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -08001<!--
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 !-->
19<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">
20 <modelVersion>4.0.0</modelVersion>
21 <parent>
22 <groupId>org.apache.asterix.bad</groupId>
23 <artifactId>asterix-opt</artifactId>
24 <version>1.0.0-SNAPSHOT</version>
25 </parent>
26 <artifactId>asterix-bad</artifactId>
27 <properties>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -080028 <asterix.version>0.9.1-SNAPSHOT</asterix.version>
29 <hyracks.version>0.3.1-SNAPSHOT</hyracks.version>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -080030 </properties>
31 <build>
32 <plugins>
33 <plugin>
34 <groupId>org.apache.asterix</groupId>
35 <artifactId>asterix-grammar-extension-maven-plugin</artifactId>
36 <version>${asterix.version}</version>
37 <configuration>
38 <base>${project.basedir}</base>
39 <gbase>../../asterix-lang-aql/src/main/javacc/AQL.jj</gbase>
40 <gextension>src/main/resources/lang-extension/lang.txt</gextension>
41 <output>target/generated-resources/javacc/grammar.jj</output>
42 <parserClassName>BADAQLParser</parserClassName>
43 <packageName>org.apache.asterix.bad.lang</packageName>
44 </configuration>
45 <executions>
46 <execution>
47 <phase>generate-sources</phase>
48 <goals>
49 <goal>grammarix</goal>
50 </goals>
51 </execution>
52 </executions>
53 </plugin>
54 <plugin>
55 <groupId>org.codehaus.mojo</groupId>
56 <artifactId>javacc-maven-plugin</artifactId>
57 <version>2.6</version>
58 <executions>
59 <execution>
60 <id>javacc</id>
61 <goals>
62 <goal>javacc</goal>
63 </goals>
64 <configuration>
65 <isStatic>false</isStatic>
66 <javaUnicodeEscape>true</javaUnicodeEscape>
67 <sourceDirectory>target/generated-resources/javacc</sourceDirectory>
68 </configuration>
69 </execution>
70 <execution>
71 <id>javacc-jjdoc</id>
72 <goals>
73 <goal>jjdoc</goal>
74 </goals>
75 <phase>process-sources</phase>
76 </execution>
77 </executions>
78 </plugin>
79 <plugin>
80 <groupId>org.codehaus.mojo</groupId>
81 <artifactId>build-helper-maven-plugin</artifactId>
82 <version>1.9</version>
83 <executions>
84 <execution>
85 <id>add-source</id>
86 <phase>generate-sources</phase>
87 <goals>
88 <goal>add-source</goal>
89 </goals>
90 <configuration>
91 <sources>
92 <source>${project.build.directory}/generated-sources/javacc/</source>
93 </sources>
94 </configuration>
95 </execution>
96 </executions>
97 </plugin>
Steven Glenn Jacobs39826042017-03-28 20:28:27 -070098 <plugin>
99 <groupId>org.apache.rat</groupId>
100 <artifactId>apache-rat-plugin</artifactId>
101 <configuration>
102 <excludes combine.children="append">
103 <exclude>src/test/resources/**/results/**</exclude>
104 </excludes>
105 </configuration>
106 </plugin>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800107 </plugins>
108 <pluginManagement>
109 <plugins>
110 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
111 <plugin>
112 <groupId>org.eclipse.m2e</groupId>
113 <artifactId>lifecycle-mapping</artifactId>
114 <version>1.0.0</version>
115 <configuration>
116 <lifecycleMappingMetadata>
117 <pluginExecutions>
118 <pluginExecution>
119 <pluginExecutionFilter>
120 <groupId>org.apache.asterix</groupId>
121 <artifactId>asterix-grammar-extension-maven-plugin</artifactId>
122 <versionRange>[${asterix.version},)</versionRange>
123 <goals>
124 <goal>grammarix</goal>
125 </goals>
126 </pluginExecutionFilter>
127 <action>
128 <ignore></ignore>
129 </action>
130 </pluginExecution>
131 <pluginExecution>
132 <pluginExecutionFilter>
133 <groupId>org.codehaus.mojo</groupId>
134 <artifactId>javacc-maven-plugin</artifactId>
135 <versionRange>[2.6,)</versionRange>
136 <goals>
137 <goal>javacc</goal>
138 </goals>
139 </pluginExecutionFilter>
140 <action>
141 <ignore></ignore>
142 </action>
143 </pluginExecution>
144 </pluginExecutions>
145 </lifecycleMappingMetadata>
146 </configuration>
147 </plugin>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800148 <plugin>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-dependency-plugin</artifactId>
151 <version>2.10</version>
152 <configuration>
153 <usedDependencies>
154 <usedDependency>org.apache.hadoop:hadoop-minicluster</usedDependency>
155 </usedDependencies>
Steven Glenn Jacobs936674a2017-03-01 15:56:01 -0800156 <ignoredUnusedDeclaredDependencies>
157 <ignoredUnusedDeclaredDependency>org.apache.asterix:asterix-common</ignoredUnusedDeclaredDependency>
158 </ignoredUnusedDeclaredDependencies>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800159 </configuration>
160 </plugin>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800161 </plugins>
162 </pluginManagement>
163 </build>
164 <dependencies>
165 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800166 <groupId>org.apache.hadoop</groupId>
167 <artifactId>hadoop-minicluster</artifactId>
168 <version>${hadoop.version}</version>
169 <type>jar</type>
170 <scope>test</scope>
171 </dependency>
172 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800173 <groupId>org.apache.asterix</groupId>
174 <artifactId>asterix-om</artifactId>
175 <version>${asterix.version}</version>
176 <type>jar</type>
177 <scope>compile</scope>
178 </dependency>
179 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800180 <groupId>org.apache.asterix</groupId>
181 <artifactId>asterix-runtime</artifactId>
182 <version>${asterix.version}</version>
183 <type>jar</type>
184 <scope>compile</scope>
185 </dependency>
186 <dependency>
187 <groupId>org.apache.hyracks</groupId>
188 <artifactId>algebricks-compiler</artifactId>
189 </dependency>
190 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800191 <groupId>org.apache.asterix</groupId>
192 <artifactId>asterix-common</artifactId>
193 <version>${asterix.version}</version>
194 </dependency>
195 <dependency>
196 <groupId>org.apache.asterix</groupId>
197 <artifactId>asterix-test-framework</artifactId>
198 <version>${asterix.version}</version>
199 </dependency>
200 <dependency>
201 <groupId>org.apache.asterix</groupId>
202 <artifactId>asterix-active</artifactId>
203 <version>${asterix.version}</version>
204 </dependency>
205 <dependency>
206 <groupId>org.apache.asterix</groupId>
207 <artifactId>asterix-algebra</artifactId>
208 <version>${asterix.version}</version>
209 </dependency>
210 <dependency>
211 <groupId>org.apache.asterix</groupId>
212 <artifactId>asterix-app</artifactId>
213 <version>${asterix.version}</version>
214 <type>jar</type>
215 <scope>compile</scope>
216 </dependency>
217 <dependency>
218 <groupId>org.apache.asterix</groupId>
219 <artifactId>asterix-app</artifactId>
220 <version>${asterix.version}</version>
221 <type>test-jar</type>
222 <scope>test</scope>
223 </dependency>
224 <dependency>
225 <groupId>org.apache.asterix</groupId>
226 <artifactId>asterix-common</artifactId>
227 <version>${asterix.version}</version>
228 <type>test-jar</type>
229 <scope>test</scope>
230 </dependency>
231 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800232 <groupId>org.apache.hyracks</groupId>
233 <artifactId>algebricks-common</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800234 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800235 </dependency>
236 <dependency>
237 <groupId>org.apache.hyracks</groupId>
238 <artifactId>hyracks-dataflow-common</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800239 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800240 </dependency>
241 <dependency>
242 <groupId>org.apache.asterix</groupId>
243 <artifactId>asterix-lang-aql</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800244 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800245 </dependency>
246 <dependency>
247 <groupId>log4j</groupId>
248 <artifactId>log4j</artifactId>
249 <version>1.2.17</version>
250 </dependency>
251 <dependency>
252 <groupId>org.apache.commons</groupId>
253 <artifactId>commons-lang3</artifactId>
254 <version>3.5</version>
255 </dependency>
256 <dependency>
257 <groupId>org.apache.hyracks</groupId>
258 <artifactId>algebricks-core</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800259 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800260 </dependency>
261 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800262 <groupId>junit</groupId>
263 <artifactId>junit</artifactId>
264 <version>4.12</version>
265 </dependency>
266 <dependency>
267 <groupId>org.apache.hyracks</groupId>
268 <artifactId>hyracks-data-std</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800269 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800270 </dependency>
271 <dependency>
272 <groupId>org.apache.hyracks</groupId>
273 <artifactId>algebricks-runtime</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800274 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800275 </dependency>
276 <dependency>
277 <groupId>org.apache.asterix</groupId>
278 <artifactId>asterix-lang-common</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800279 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800280 </dependency>
281 <dependency>
282 <groupId>org.apache.asterix</groupId>
283 <artifactId>asterix-metadata</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800284 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800285 </dependency>
286 <dependency>
287 <groupId>org.apache.asterix</groupId>
288 <artifactId>asterix-external-data</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800289 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800290 </dependency>
291 <dependency>
292 <groupId>org.apache.hyracks</groupId>
293 <artifactId>hyracks-api</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800294 <version>${hyracks.version}</version>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800295 </dependency>
296 </dependencies>
297</project>