blob: c9ac366705dc290c61868487e25c1e153bc47c1c [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 Wange305f112018-02-03 09:26:24 -080030 <testLog4jConfigFile>${root.dir}/../../asterix-app/src/test/resources/log4j2-test.xml</testLog4jConfigFile>
31 </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>
103 </excludes>
104 </configuration>
105 </plugin>
Michael Blowb274e572019-02-16 08:33:01 -0500106 <plugin>
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-dependency-plugin</artifactId>
109 <configuration>
110 <usedDependencies>
111 <usedDependency>org.apache.hadoop:hadoop-minicluster</usedDependency>
112 <usedDependency>org.apache.asterix:asterix-fuzzyjoin</usedDependency>
113 </usedDependencies>
114 <ignoredUnusedDeclaredDependencies>
115 <ignoredUnusedDeclaredDependency>org.apache.asterix:asterix-common</ignoredUnusedDeclaredDependency>
116 </ignoredUnusedDeclaredDependencies>
117 </configuration>
118 </plugin>
Michael Blow385dd622019-03-22 22:07:19 -0400119 <plugin>
120 <groupId>net.revelc.code.formatter</groupId>
121 <artifactId>formatter-maven-plugin</artifactId>
122 <executions>
123 <execution>
124 <goals>
125 <goal>${source-format.goal}</goal>
126 </goals>
127 </execution>
128 </executions>
129 <configuration>
130 <configFile>../../../hyracks-fullstack/AsterixCodeFormatProfile.xml</configFile>
131 <skipFormatting>${source-format.skip}</skipFormatting>
132 </configuration>
133 </plugin>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800134 </plugins>
135 <pluginManagement>
136 <plugins>
137 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
138 <plugin>
139 <groupId>org.eclipse.m2e</groupId>
140 <artifactId>lifecycle-mapping</artifactId>
141 <version>1.0.0</version>
142 <configuration>
143 <lifecycleMappingMetadata>
144 <pluginExecutions>
145 <pluginExecution>
146 <pluginExecutionFilter>
147 <groupId>org.apache.asterix</groupId>
148 <artifactId>asterix-grammar-extension-maven-plugin</artifactId>
149 <versionRange>[${asterix.version},)</versionRange>
150 <goals>
151 <goal>grammarix</goal>
152 </goals>
153 </pluginExecutionFilter>
154 <action>
155 <ignore></ignore>
156 </action>
157 </pluginExecution>
158 <pluginExecution>
159 <pluginExecutionFilter>
160 <groupId>org.codehaus.mojo</groupId>
161 <artifactId>javacc-maven-plugin</artifactId>
162 <versionRange>[2.6,)</versionRange>
163 <goals>
164 <goal>javacc</goal>
165 </goals>
166 </pluginExecutionFilter>
167 <action>
168 <ignore></ignore>
169 </action>
170 </pluginExecution>
171 </pluginExecutions>
172 </lifecycleMappingMetadata>
173 </configuration>
174 </plugin>
175 </plugins>
176 </pluginManagement>
177 </build>
178 <dependencies>
179 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800180 <groupId>org.apache.hadoop</groupId>
181 <artifactId>hadoop-minicluster</artifactId>
182 <version>${hadoop.version}</version>
183 <type>jar</type>
184 <scope>test</scope>
185 </dependency>
186 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800187 <groupId>org.apache.asterix</groupId>
188 <artifactId>asterix-om</artifactId>
189 <version>${asterix.version}</version>
190 <type>jar</type>
191 <scope>compile</scope>
192 </dependency>
193 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800194 <groupId>org.apache.asterix</groupId>
195 <artifactId>asterix-runtime</artifactId>
196 <version>${asterix.version}</version>
197 <type>jar</type>
198 <scope>compile</scope>
199 </dependency>
200 <dependency>
201 <groupId>org.apache.hyracks</groupId>
202 <artifactId>algebricks-compiler</artifactId>
203 </dependency>
204 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800205 <groupId>org.apache.asterix</groupId>
206 <artifactId>asterix-common</artifactId>
207 <version>${asterix.version}</version>
208 </dependency>
209 <dependency>
210 <groupId>org.apache.asterix</groupId>
211 <artifactId>asterix-test-framework</artifactId>
212 <version>${asterix.version}</version>
213 </dependency>
214 <dependency>
215 <groupId>org.apache.asterix</groupId>
216 <artifactId>asterix-active</artifactId>
217 <version>${asterix.version}</version>
218 </dependency>
219 <dependency>
220 <groupId>org.apache.asterix</groupId>
221 <artifactId>asterix-algebra</artifactId>
222 <version>${asterix.version}</version>
223 </dependency>
224 <dependency>
225 <groupId>org.apache.asterix</groupId>
226 <artifactId>asterix-app</artifactId>
227 <version>${asterix.version}</version>
228 <type>jar</type>
229 <scope>compile</scope>
230 </dependency>
231 <dependency>
232 <groupId>org.apache.asterix</groupId>
233 <artifactId>asterix-app</artifactId>
234 <version>${asterix.version}</version>
235 <type>test-jar</type>
236 <scope>test</scope>
237 </dependency>
238 <dependency>
239 <groupId>org.apache.asterix</groupId>
240 <artifactId>asterix-common</artifactId>
241 <version>${asterix.version}</version>
242 <type>test-jar</type>
243 <scope>test</scope>
244 </dependency>
245 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800246 <groupId>org.apache.hyracks</groupId>
247 <artifactId>algebricks-common</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800248 </dependency>
249 <dependency>
250 <groupId>org.apache.hyracks</groupId>
251 <artifactId>hyracks-dataflow-common</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800252 </dependency>
253 <dependency>
254 <groupId>org.apache.asterix</groupId>
Steven Glenn Jacobs55514042017-04-19 15:54:13 -0700255 <artifactId>asterix-lang-sqlpp</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800256 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800257 </dependency>
258 <dependency>
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -0800259 <groupId>org.apache.asterix</groupId>
260 <artifactId>asterix-lang-common</artifactId>
261 <version>${asterix.version}</version>
262 </dependency>
263 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800264 <groupId>log4j</groupId>
265 <artifactId>log4j</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800266 </dependency>
267 <dependency>
268 <groupId>org.apache.commons</groupId>
269 <artifactId>commons-lang3</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800270 </dependency>
271 <dependency>
272 <groupId>org.apache.hyracks</groupId>
273 <artifactId>algebricks-core</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800274 </dependency>
275 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800276 <groupId>junit</groupId>
277 <artifactId>junit</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800278 </dependency>
279 <dependency>
280 <groupId>org.apache.hyracks</groupId>
281 <artifactId>hyracks-data-std</artifactId>
Ali Alsulimaneebcbe52018-10-15 12:29:58 -0700282 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800283 </dependency>
284 <dependency>
285 <groupId>org.apache.hyracks</groupId>
Steven Glenn Jacobsa9693632018-05-21 11:52:12 -0700286 <artifactId>hyracks-client</artifactId>
287 <version>${hyracks.version}</version>
288 </dependency>
289 <dependency>
290 <groupId>org.apache.hyracks</groupId>
Steven Glenn Jacobs105ee6d2018-06-19 17:22:24 -0700291 <artifactId>hyracks-util</artifactId>
292 <version>${hyracks.version}</version>
293 </dependency>
294 <dependency>
295 <groupId>org.apache.hyracks</groupId>
296 <artifactId>algebricks-data</artifactId>
297 <version>${hyracks.version}</version>
298 </dependency>
299 <dependency>
300 <groupId>org.apache.hyracks</groupId>
Steven Glenn Jacobsa9693632018-05-21 11:52:12 -0700301 <artifactId>hyracks-control-common</artifactId>
302 <version>${hyracks.version}</version>
303 </dependency>
304 <dependency>
305 <groupId>org.apache.hyracks</groupId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800306 <artifactId>algebricks-runtime</artifactId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800307 </dependency>
308 <dependency>
309 <groupId>org.apache.asterix</groupId>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800310 <artifactId>asterix-metadata</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800311 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800312 </dependency>
313 <dependency>
314 <groupId>org.apache.asterix</groupId>
315 <artifactId>asterix-external-data</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800316 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800317 </dependency>
318 <dependency>
Steven Glenn Jacobsa9693632018-05-21 11:52:12 -0700319 <groupId>commons-io</groupId>
320 <artifactId>commons-io</artifactId>
321 <version>2.6</version>
322 </dependency>
323 <dependency>
Michael Blow185b63d2018-03-13 19:20:16 -0700324 <groupId>org.apache.asterix</groupId>
325 <artifactId>asterix-fuzzyjoin</artifactId>
326 <version>${asterix.version}</version>
327 <!-- TODO: scope could be test if BAD runtime does not depend on fuzzyjoin functions... -->
328 </dependency>
329 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800330 <groupId>org.apache.hyracks</groupId>
331 <artifactId>hyracks-api</artifactId>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800332 </dependency>
Murtadha Hubail8c940db2018-07-13 02:34:29 +0300333 <dependency>
334 <groupId>org.apache.hyracks</groupId>
335 <artifactId>hyracks-storage-am-lsm-btree-test</artifactId>
336 <version>${hyracks.version}</version>
337 <type>test-jar</type>
338 <scope>test</scope>
339 </dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800340 </dependencies>
341</project>