blob: 3dbeca6c9e5809a6cd0b1111853ca0436513e1af [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>
Ian Maxonfdd7ccc2018-02-08 16:55:11 -080028 <asterix.version>0.9.4-SNAPSHOT</asterix.version>
29 <hyracks.version>0.3.4-SNAPSHOT</hyracks.version>
Michael Blowfb2c0942018-01-23 16:54:55 -050030 <source-format.skip>true</source-format.skip>
Xikui Wange305f112018-02-03 09:26:24 -080031 <testLog4jConfigFile>${root.dir}/../../asterix-app/src/test/resources/log4j2-test.xml</testLog4jConfigFile>
32 </properties>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -080033 <build>
34 <plugins>
35 <plugin>
36 <groupId>org.apache.asterix</groupId>
37 <artifactId>asterix-grammar-extension-maven-plugin</artifactId>
38 <version>${asterix.version}</version>
39 <configuration>
40 <base>${project.basedir}</base>
Steven Glenn Jacobs55514042017-04-19 15:54:13 -070041 <gbase>../../asterix-lang-sqlpp/src/main/javacc/SQLPP.jj</gbase>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -080042 <gextension>src/main/resources/lang-extension/lang.txt</gextension>
43 <output>target/generated-resources/javacc/grammar.jj</output>
Steven Glenn Jacobs55514042017-04-19 15:54:13 -070044 <parserClassName>BADParser</parserClassName>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -080045 <packageName>org.apache.asterix.bad.lang</packageName>
46 </configuration>
47 <executions>
48 <execution>
49 <phase>generate-sources</phase>
50 <goals>
51 <goal>grammarix</goal>
52 </goals>
53 </execution>
54 </executions>
55 </plugin>
56 <plugin>
57 <groupId>org.codehaus.mojo</groupId>
58 <artifactId>javacc-maven-plugin</artifactId>
59 <version>2.6</version>
60 <executions>
61 <execution>
62 <id>javacc</id>
63 <goals>
64 <goal>javacc</goal>
65 </goals>
66 <configuration>
67 <isStatic>false</isStatic>
68 <javaUnicodeEscape>true</javaUnicodeEscape>
69 <sourceDirectory>target/generated-resources/javacc</sourceDirectory>
70 </configuration>
71 </execution>
72 <execution>
73 <id>javacc-jjdoc</id>
74 <goals>
75 <goal>jjdoc</goal>
76 </goals>
77 <phase>process-sources</phase>
78 </execution>
79 </executions>
80 </plugin>
81 <plugin>
82 <groupId>org.codehaus.mojo</groupId>
83 <artifactId>build-helper-maven-plugin</artifactId>
84 <version>1.9</version>
85 <executions>
86 <execution>
87 <id>add-source</id>
88 <phase>generate-sources</phase>
89 <goals>
90 <goal>add-source</goal>
91 </goals>
92 <configuration>
93 <sources>
94 <source>${project.build.directory}/generated-sources/javacc/</source>
95 </sources>
96 </configuration>
97 </execution>
98 </executions>
99 </plugin>
Steven Glenn Jacobs39826042017-03-28 20:28:27 -0700100 <plugin>
101 <groupId>org.apache.rat</groupId>
102 <artifactId>apache-rat-plugin</artifactId>
103 <configuration>
104 <excludes combine.children="append">
105 <exclude>src/test/resources/**/results/**</exclude>
106 </excludes>
107 </configuration>
108 </plugin>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800109 </plugins>
110 <pluginManagement>
111 <plugins>
112 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
113 <plugin>
114 <groupId>org.eclipse.m2e</groupId>
115 <artifactId>lifecycle-mapping</artifactId>
116 <version>1.0.0</version>
117 <configuration>
118 <lifecycleMappingMetadata>
119 <pluginExecutions>
120 <pluginExecution>
121 <pluginExecutionFilter>
122 <groupId>org.apache.asterix</groupId>
123 <artifactId>asterix-grammar-extension-maven-plugin</artifactId>
124 <versionRange>[${asterix.version},)</versionRange>
125 <goals>
126 <goal>grammarix</goal>
127 </goals>
128 </pluginExecutionFilter>
129 <action>
130 <ignore></ignore>
131 </action>
132 </pluginExecution>
133 <pluginExecution>
134 <pluginExecutionFilter>
135 <groupId>org.codehaus.mojo</groupId>
136 <artifactId>javacc-maven-plugin</artifactId>
137 <versionRange>[2.6,)</versionRange>
138 <goals>
139 <goal>javacc</goal>
140 </goals>
141 </pluginExecutionFilter>
142 <action>
143 <ignore></ignore>
144 </action>
145 </pluginExecution>
146 </pluginExecutions>
147 </lifecycleMappingMetadata>
148 </configuration>
149 </plugin>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-dependency-plugin</artifactId>
153 <version>2.10</version>
154 <configuration>
155 <usedDependencies>
156 <usedDependency>org.apache.hadoop:hadoop-minicluster</usedDependency>
Michael Blow185b63d2018-03-13 19:20:16 -0700157 <usedDependency>org.apache.asterix:asterix-fuzzyjoin</usedDependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800158 </usedDependencies>
Steven Glenn Jacobs936674a2017-03-01 15:56:01 -0800159 <ignoredUnusedDeclaredDependencies>
160 <ignoredUnusedDeclaredDependency>org.apache.asterix:asterix-common</ignoredUnusedDeclaredDependency>
161 </ignoredUnusedDeclaredDependencies>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800162 </configuration>
163 </plugin>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800164 </plugins>
165 </pluginManagement>
166 </build>
167 <dependencies>
168 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800169 <groupId>org.apache.hadoop</groupId>
170 <artifactId>hadoop-minicluster</artifactId>
171 <version>${hadoop.version}</version>
172 <type>jar</type>
173 <scope>test</scope>
174 </dependency>
175 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800176 <groupId>org.apache.asterix</groupId>
177 <artifactId>asterix-om</artifactId>
178 <version>${asterix.version}</version>
179 <type>jar</type>
180 <scope>compile</scope>
181 </dependency>
182 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800183 <groupId>org.apache.asterix</groupId>
184 <artifactId>asterix-runtime</artifactId>
185 <version>${asterix.version}</version>
186 <type>jar</type>
187 <scope>compile</scope>
188 </dependency>
189 <dependency>
190 <groupId>org.apache.hyracks</groupId>
191 <artifactId>algebricks-compiler</artifactId>
192 </dependency>
193 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800194 <groupId>org.apache.asterix</groupId>
195 <artifactId>asterix-common</artifactId>
196 <version>${asterix.version}</version>
197 </dependency>
198 <dependency>
199 <groupId>org.apache.asterix</groupId>
200 <artifactId>asterix-test-framework</artifactId>
201 <version>${asterix.version}</version>
202 </dependency>
203 <dependency>
204 <groupId>org.apache.asterix</groupId>
205 <artifactId>asterix-active</artifactId>
206 <version>${asterix.version}</version>
207 </dependency>
208 <dependency>
209 <groupId>org.apache.asterix</groupId>
210 <artifactId>asterix-algebra</artifactId>
211 <version>${asterix.version}</version>
212 </dependency>
213 <dependency>
214 <groupId>org.apache.asterix</groupId>
215 <artifactId>asterix-app</artifactId>
216 <version>${asterix.version}</version>
217 <type>jar</type>
218 <scope>compile</scope>
219 </dependency>
220 <dependency>
221 <groupId>org.apache.asterix</groupId>
222 <artifactId>asterix-app</artifactId>
223 <version>${asterix.version}</version>
224 <type>test-jar</type>
225 <scope>test</scope>
226 </dependency>
227 <dependency>
228 <groupId>org.apache.asterix</groupId>
229 <artifactId>asterix-common</artifactId>
230 <version>${asterix.version}</version>
231 <type>test-jar</type>
232 <scope>test</scope>
233 </dependency>
234 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800235 <groupId>org.apache.hyracks</groupId>
236 <artifactId>algebricks-common</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800237 </dependency>
238 <dependency>
239 <groupId>org.apache.hyracks</groupId>
240 <artifactId>hyracks-dataflow-common</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800241 </dependency>
242 <dependency>
243 <groupId>org.apache.asterix</groupId>
Steven Glenn Jacobs55514042017-04-19 15:54:13 -0700244 <artifactId>asterix-lang-sqlpp</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800245 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800246 </dependency>
247 <dependency>
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -0800248 <groupId>org.apache.asterix</groupId>
249 <artifactId>asterix-lang-common</artifactId>
250 <version>${asterix.version}</version>
251 </dependency>
252 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800253 <groupId>log4j</groupId>
254 <artifactId>log4j</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800255 </dependency>
256 <dependency>
257 <groupId>org.apache.commons</groupId>
258 <artifactId>commons-lang3</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800259 </dependency>
260 <dependency>
261 <groupId>org.apache.hyracks</groupId>
262 <artifactId>algebricks-core</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800263 </dependency>
264 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800265 <groupId>junit</groupId>
266 <artifactId>junit</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800267 </dependency>
268 <dependency>
269 <groupId>org.apache.hyracks</groupId>
270 <artifactId>hyracks-data-std</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800271 </dependency>
272 <dependency>
273 <groupId>org.apache.hyracks</groupId>
Steven Glenn Jacobsa9693632018-05-21 11:52:12 -0700274 <artifactId>hyracks-client</artifactId>
275 <version>${hyracks.version}</version>
276 </dependency>
277 <dependency>
278 <groupId>org.apache.hyracks</groupId>
Steven Glenn Jacobs105ee6d2018-06-19 17:22:24 -0700279 <artifactId>hyracks-util</artifactId>
280 <version>${hyracks.version}</version>
281 </dependency>
282 <dependency>
283 <groupId>org.apache.hyracks</groupId>
284 <artifactId>algebricks-data</artifactId>
285 <version>${hyracks.version}</version>
286 </dependency>
287 <dependency>
288 <groupId>org.apache.hyracks</groupId>
Steven Glenn Jacobsa9693632018-05-21 11:52:12 -0700289 <artifactId>hyracks-control-common</artifactId>
290 <version>${hyracks.version}</version>
291 </dependency>
292 <dependency>
293 <groupId>org.apache.hyracks</groupId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800294 <artifactId>algebricks-runtime</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800295 </dependency>
296 <dependency>
297 <groupId>org.apache.asterix</groupId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800298 <artifactId>asterix-metadata</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800299 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800300 </dependency>
301 <dependency>
302 <groupId>org.apache.asterix</groupId>
303 <artifactId>asterix-external-data</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800304 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800305 </dependency>
306 <dependency>
Steven Glenn Jacobsa9693632018-05-21 11:52:12 -0700307 <groupId>commons-io</groupId>
308 <artifactId>commons-io</artifactId>
309 <version>2.6</version>
310 </dependency>
311 <dependency>
Michael Blow185b63d2018-03-13 19:20:16 -0700312 <groupId>org.apache.asterix</groupId>
313 <artifactId>asterix-fuzzyjoin</artifactId>
314 <version>${asterix.version}</version>
315 <!-- TODO: scope could be test if BAD runtime does not depend on fuzzyjoin functions... -->
316 </dependency>
317 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800318 <groupId>org.apache.hyracks</groupId>
319 <artifactId>hyracks-api</artifactId>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800320 </dependency>
Murtadha Hubail8c940db2018-07-13 02:34:29 +0300321 <dependency>
322 <groupId>org.apache.hyracks</groupId>
323 <artifactId>hyracks-storage-am-lsm-btree-test</artifactId>
324 <version>${hyracks.version}</version>
325 <type>test-jar</type>
326 <scope>test</scope>
327 </dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800328 </dependencies>
329</project>