blob: 79297b09b2f2bfe11e51a54567f1dcb83a05dab2 [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>
Ali Alsulimaneebcbe52018-10-15 12:29:58 -070028 <asterix.version>0.9.5-SNAPSHOT</asterix.version>
29 <hyracks.version>0.3.5-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>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -080059 <executions>
60 <execution>
61 <id>javacc</id>
62 <goals>
63 <goal>javacc</goal>
64 </goals>
65 <configuration>
66 <isStatic>false</isStatic>
67 <javaUnicodeEscape>true</javaUnicodeEscape>
68 <sourceDirectory>target/generated-resources/javacc</sourceDirectory>
69 </configuration>
70 </execution>
71 <execution>
72 <id>javacc-jjdoc</id>
73 <goals>
74 <goal>jjdoc</goal>
75 </goals>
76 <phase>process-sources</phase>
77 </execution>
78 </executions>
79 </plugin>
80 <plugin>
81 <groupId>org.codehaus.mojo</groupId>
82 <artifactId>build-helper-maven-plugin</artifactId>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -080083 <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>
Michael Blowb274e572019-02-16 08:33:01 -0500107 <plugin>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-dependency-plugin</artifactId>
110 <configuration>
111 <usedDependencies>
112 <usedDependency>org.apache.hadoop:hadoop-minicluster</usedDependency>
113 <usedDependency>org.apache.asterix:asterix-fuzzyjoin</usedDependency>
114 </usedDependencies>
115 <ignoredUnusedDeclaredDependencies>
116 <ignoredUnusedDeclaredDependency>org.apache.asterix:asterix-common</ignoredUnusedDeclaredDependency>
117 </ignoredUnusedDeclaredDependencies>
118 </configuration>
119 </plugin>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800120 </plugins>
121 <pluginManagement>
122 <plugins>
123 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
124 <plugin>
125 <groupId>org.eclipse.m2e</groupId>
126 <artifactId>lifecycle-mapping</artifactId>
127 <version>1.0.0</version>
128 <configuration>
129 <lifecycleMappingMetadata>
130 <pluginExecutions>
131 <pluginExecution>
132 <pluginExecutionFilter>
133 <groupId>org.apache.asterix</groupId>
134 <artifactId>asterix-grammar-extension-maven-plugin</artifactId>
135 <versionRange>[${asterix.version},)</versionRange>
136 <goals>
137 <goal>grammarix</goal>
138 </goals>
139 </pluginExecutionFilter>
140 <action>
141 <ignore></ignore>
142 </action>
143 </pluginExecution>
144 <pluginExecution>
145 <pluginExecutionFilter>
146 <groupId>org.codehaus.mojo</groupId>
147 <artifactId>javacc-maven-plugin</artifactId>
148 <versionRange>[2.6,)</versionRange>
149 <goals>
150 <goal>javacc</goal>
151 </goals>
152 </pluginExecutionFilter>
153 <action>
154 <ignore></ignore>
155 </action>
156 </pluginExecution>
157 </pluginExecutions>
158 </lifecycleMappingMetadata>
159 </configuration>
160 </plugin>
161 </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 Jacobs088e8ee2017-01-12 19:24:46 -0800234 </dependency>
235 <dependency>
236 <groupId>org.apache.hyracks</groupId>
237 <artifactId>hyracks-dataflow-common</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800238 </dependency>
239 <dependency>
240 <groupId>org.apache.asterix</groupId>
Steven Glenn Jacobs55514042017-04-19 15:54:13 -0700241 <artifactId>asterix-lang-sqlpp</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800242 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800243 </dependency>
244 <dependency>
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -0800245 <groupId>org.apache.asterix</groupId>
246 <artifactId>asterix-lang-common</artifactId>
247 <version>${asterix.version}</version>
248 </dependency>
249 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800250 <groupId>log4j</groupId>
251 <artifactId>log4j</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800252 </dependency>
253 <dependency>
254 <groupId>org.apache.commons</groupId>
255 <artifactId>commons-lang3</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800256 </dependency>
257 <dependency>
258 <groupId>org.apache.hyracks</groupId>
259 <artifactId>algebricks-core</artifactId>
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>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800264 </dependency>
265 <dependency>
266 <groupId>org.apache.hyracks</groupId>
267 <artifactId>hyracks-data-std</artifactId>
Ali Alsulimaneebcbe52018-10-15 12:29:58 -0700268 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800269 </dependency>
270 <dependency>
271 <groupId>org.apache.hyracks</groupId>
Steven Glenn Jacobsa9693632018-05-21 11:52:12 -0700272 <artifactId>hyracks-client</artifactId>
273 <version>${hyracks.version}</version>
274 </dependency>
275 <dependency>
276 <groupId>org.apache.hyracks</groupId>
Steven Glenn Jacobs105ee6d2018-06-19 17:22:24 -0700277 <artifactId>hyracks-util</artifactId>
278 <version>${hyracks.version}</version>
279 </dependency>
280 <dependency>
281 <groupId>org.apache.hyracks</groupId>
282 <artifactId>algebricks-data</artifactId>
283 <version>${hyracks.version}</version>
284 </dependency>
285 <dependency>
286 <groupId>org.apache.hyracks</groupId>
Steven Glenn Jacobsa9693632018-05-21 11:52:12 -0700287 <artifactId>hyracks-control-common</artifactId>
288 <version>${hyracks.version}</version>
289 </dependency>
290 <dependency>
291 <groupId>org.apache.hyracks</groupId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800292 <artifactId>algebricks-runtime</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800293 </dependency>
294 <dependency>
295 <groupId>org.apache.asterix</groupId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800296 <artifactId>asterix-metadata</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800297 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800298 </dependency>
299 <dependency>
300 <groupId>org.apache.asterix</groupId>
301 <artifactId>asterix-external-data</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800302 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800303 </dependency>
304 <dependency>
Steven Glenn Jacobsa9693632018-05-21 11:52:12 -0700305 <groupId>commons-io</groupId>
306 <artifactId>commons-io</artifactId>
307 <version>2.6</version>
308 </dependency>
309 <dependency>
Michael Blow185b63d2018-03-13 19:20:16 -0700310 <groupId>org.apache.asterix</groupId>
311 <artifactId>asterix-fuzzyjoin</artifactId>
312 <version>${asterix.version}</version>
313 <!-- TODO: scope could be test if BAD runtime does not depend on fuzzyjoin functions... -->
314 </dependency>
315 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800316 <groupId>org.apache.hyracks</groupId>
317 <artifactId>hyracks-api</artifactId>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800318 </dependency>
Murtadha Hubail8c940db2018-07-13 02:34:29 +0300319 <dependency>
320 <groupId>org.apache.hyracks</groupId>
321 <artifactId>hyracks-storage-am-lsm-btree-test</artifactId>
322 <version>${hyracks.version}</version>
323 <type>test-jar</type>
324 <scope>test</scope>
325 </dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800326 </dependencies>
327</project>