blob: 9c96e68ed41c21c125d696f1065bc0c08cc6e467 [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>
Xikui Wang9d26e072020-08-20 21:18:04 -070030 <testLog4jConfigFile>src/main/resources/log4j2-bad.xml</testLog4jConfigFile>
Xikui Wange305f112018-02-03 09:26:24 -080031 </properties>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -080032 <build>
33 <plugins>
34 <plugin>
35 <groupId>org.apache.asterix</groupId>
36 <artifactId>asterix-grammar-extension-maven-plugin</artifactId>
37 <version>${asterix.version}</version>
38 <configuration>
39 <base>${project.basedir}</base>
Steven Glenn Jacobs55514042017-04-19 15:54:13 -070040 <gbase>../../asterix-lang-sqlpp/src/main/javacc/SQLPP.jj</gbase>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -080041 <gextension>src/main/resources/lang-extension/lang.txt</gextension>
42 <output>target/generated-resources/javacc/grammar.jj</output>
Steven Glenn Jacobs55514042017-04-19 15:54:13 -070043 <parserClassName>BADParser</parserClassName>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -080044 <packageName>org.apache.asterix.bad.lang</packageName>
45 </configuration>
46 <executions>
47 <execution>
48 <phase>generate-sources</phase>
49 <goals>
50 <goal>grammarix</goal>
51 </goals>
52 </execution>
53 </executions>
54 </plugin>
55 <plugin>
56 <groupId>org.codehaus.mojo</groupId>
57 <artifactId>javacc-maven-plugin</artifactId>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -080058 <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>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -080082 <executions>
83 <execution>
84 <id>add-source</id>
85 <phase>generate-sources</phase>
86 <goals>
87 <goal>add-source</goal>
88 </goals>
89 <configuration>
90 <sources>
91 <source>${project.build.directory}/generated-sources/javacc/</source>
92 </sources>
93 </configuration>
94 </execution>
95 </executions>
96 </plugin>
Steven Glenn Jacobs39826042017-03-28 20:28:27 -070097 <plugin>
98 <groupId>org.apache.rat</groupId>
99 <artifactId>apache-rat-plugin</artifactId>
100 <configuration>
101 <excludes combine.children="append">
102 <exclude>src/test/resources/**/results/**</exclude>
Xikui Wang9d26e072020-08-20 21:18:04 -0700103 <exclude>data/**</exclude>
Steven Glenn Jacobs39826042017-03-28 20:28:27 -0700104 </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>
Michael Blow385dd622019-03-22 22:07:19 -0400120 <plugin>
121 <groupId>net.revelc.code.formatter</groupId>
122 <artifactId>formatter-maven-plugin</artifactId>
123 <executions>
124 <execution>
125 <goals>
126 <goal>${source-format.goal}</goal>
127 </goals>
128 </execution>
129 </executions>
130 <configuration>
131 <configFile>../../../hyracks-fullstack/AsterixCodeFormatProfile.xml</configFile>
132 <skipFormatting>${source-format.skip}</skipFormatting>
133 </configuration>
134 </plugin>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800135 </plugins>
136 <pluginManagement>
137 <plugins>
138 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
139 <plugin>
140 <groupId>org.eclipse.m2e</groupId>
141 <artifactId>lifecycle-mapping</artifactId>
142 <version>1.0.0</version>
143 <configuration>
144 <lifecycleMappingMetadata>
145 <pluginExecutions>
146 <pluginExecution>
147 <pluginExecutionFilter>
148 <groupId>org.apache.asterix</groupId>
149 <artifactId>asterix-grammar-extension-maven-plugin</artifactId>
150 <versionRange>[${asterix.version},)</versionRange>
151 <goals>
152 <goal>grammarix</goal>
153 </goals>
154 </pluginExecutionFilter>
155 <action>
156 <ignore></ignore>
157 </action>
158 </pluginExecution>
159 <pluginExecution>
160 <pluginExecutionFilter>
161 <groupId>org.codehaus.mojo</groupId>
162 <artifactId>javacc-maven-plugin</artifactId>
163 <versionRange>[2.6,)</versionRange>
164 <goals>
165 <goal>javacc</goal>
166 </goals>
167 </pluginExecutionFilter>
168 <action>
169 <ignore></ignore>
170 </action>
171 </pluginExecution>
172 </pluginExecutions>
173 </lifecycleMappingMetadata>
174 </configuration>
175 </plugin>
176 </plugins>
177 </pluginManagement>
178 </build>
179 <dependencies>
180 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800181 <groupId>org.apache.hadoop</groupId>
182 <artifactId>hadoop-minicluster</artifactId>
183 <version>${hadoop.version}</version>
184 <type>jar</type>
185 <scope>test</scope>
186 </dependency>
187 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800188 <groupId>org.apache.asterix</groupId>
189 <artifactId>asterix-om</artifactId>
190 <version>${asterix.version}</version>
191 <type>jar</type>
192 <scope>compile</scope>
193 </dependency>
194 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800195 <groupId>org.apache.asterix</groupId>
196 <artifactId>asterix-runtime</artifactId>
197 <version>${asterix.version}</version>
198 <type>jar</type>
199 <scope>compile</scope>
200 </dependency>
201 <dependency>
202 <groupId>org.apache.hyracks</groupId>
203 <artifactId>algebricks-compiler</artifactId>
204 </dependency>
205 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800206 <groupId>org.apache.asterix</groupId>
207 <artifactId>asterix-common</artifactId>
208 <version>${asterix.version}</version>
209 </dependency>
210 <dependency>
211 <groupId>org.apache.asterix</groupId>
212 <artifactId>asterix-test-framework</artifactId>
213 <version>${asterix.version}</version>
214 </dependency>
215 <dependency>
216 <groupId>org.apache.asterix</groupId>
217 <artifactId>asterix-active</artifactId>
218 <version>${asterix.version}</version>
219 </dependency>
220 <dependency>
221 <groupId>org.apache.asterix</groupId>
222 <artifactId>asterix-algebra</artifactId>
223 <version>${asterix.version}</version>
224 </dependency>
225 <dependency>
226 <groupId>org.apache.asterix</groupId>
227 <artifactId>asterix-app</artifactId>
228 <version>${asterix.version}</version>
229 <type>jar</type>
230 <scope>compile</scope>
231 </dependency>
232 <dependency>
233 <groupId>org.apache.asterix</groupId>
234 <artifactId>asterix-app</artifactId>
235 <version>${asterix.version}</version>
236 <type>test-jar</type>
237 <scope>test</scope>
238 </dependency>
239 <dependency>
240 <groupId>org.apache.asterix</groupId>
241 <artifactId>asterix-common</artifactId>
242 <version>${asterix.version}</version>
243 <type>test-jar</type>
244 <scope>test</scope>
245 </dependency>
246 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800247 <groupId>org.apache.hyracks</groupId>
248 <artifactId>algebricks-common</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800249 </dependency>
250 <dependency>
251 <groupId>org.apache.hyracks</groupId>
252 <artifactId>hyracks-dataflow-common</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800253 </dependency>
254 <dependency>
255 <groupId>org.apache.asterix</groupId>
Steven Glenn Jacobs55514042017-04-19 15:54:13 -0700256 <artifactId>asterix-lang-sqlpp</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800257 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800258 </dependency>
259 <dependency>
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -0800260 <groupId>org.apache.asterix</groupId>
261 <artifactId>asterix-lang-common</artifactId>
262 <version>${asterix.version}</version>
263 </dependency>
264 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800265 <groupId>log4j</groupId>
266 <artifactId>log4j</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800267 </dependency>
268 <dependency>
269 <groupId>org.apache.commons</groupId>
270 <artifactId>commons-lang3</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800271 </dependency>
272 <dependency>
273 <groupId>org.apache.hyracks</groupId>
274 <artifactId>algebricks-core</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800275 </dependency>
276 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800277 <groupId>junit</groupId>
278 <artifactId>junit</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800279 </dependency>
280 <dependency>
281 <groupId>org.apache.hyracks</groupId>
282 <artifactId>hyracks-data-std</artifactId>
Ali Alsulimaneebcbe52018-10-15 12:29:58 -0700283 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800284 </dependency>
285 <dependency>
286 <groupId>org.apache.hyracks</groupId>
Steven Glenn Jacobsa9693632018-05-21 11:52:12 -0700287 <artifactId>hyracks-client</artifactId>
288 <version>${hyracks.version}</version>
289 </dependency>
290 <dependency>
291 <groupId>org.apache.hyracks</groupId>
Steven Glenn Jacobs105ee6d2018-06-19 17:22:24 -0700292 <artifactId>hyracks-util</artifactId>
293 <version>${hyracks.version}</version>
294 </dependency>
295 <dependency>
296 <groupId>org.apache.hyracks</groupId>
297 <artifactId>algebricks-data</artifactId>
298 <version>${hyracks.version}</version>
299 </dependency>
300 <dependency>
301 <groupId>org.apache.hyracks</groupId>
Steven Glenn Jacobsa9693632018-05-21 11:52:12 -0700302 <artifactId>hyracks-control-common</artifactId>
303 <version>${hyracks.version}</version>
304 </dependency>
305 <dependency>
306 <groupId>org.apache.hyracks</groupId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800307 <artifactId>algebricks-runtime</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800308 </dependency>
309 <dependency>
310 <groupId>org.apache.asterix</groupId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800311 <artifactId>asterix-metadata</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800312 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800313 </dependency>
314 <dependency>
315 <groupId>org.apache.asterix</groupId>
316 <artifactId>asterix-external-data</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800317 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800318 </dependency>
319 <dependency>
Steven Glenn Jacobsa9693632018-05-21 11:52:12 -0700320 <groupId>commons-io</groupId>
321 <artifactId>commons-io</artifactId>
322 <version>2.6</version>
323 </dependency>
324 <dependency>
Michael Blow185b63d2018-03-13 19:20:16 -0700325 <groupId>org.apache.asterix</groupId>
326 <artifactId>asterix-fuzzyjoin</artifactId>
327 <version>${asterix.version}</version>
328 <!-- TODO: scope could be test if BAD runtime does not depend on fuzzyjoin functions... -->
329 </dependency>
330 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800331 <groupId>org.apache.hyracks</groupId>
332 <artifactId>hyracks-api</artifactId>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800333 </dependency>
Murtadha Hubail8c940db2018-07-13 02:34:29 +0300334 <dependency>
335 <groupId>org.apache.hyracks</groupId>
336 <artifactId>hyracks-storage-am-lsm-btree-test</artifactId>
337 <version>${hyracks.version}</version>
338 <type>test-jar</type>
339 <scope>test</scope>
340 </dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800341 </dependencies>
342</project>