blob: 291697db3c4444c359a60fb2c9b49156a4ea07ce [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>
Abdullah Alamoudid5ef6502017-08-27 17:14:59 -070028 <asterix.version>0.9.3-SNAPSHOT</asterix.version>
29 <hyracks.version>0.3.3-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>
157 </usedDependencies>
Steven Glenn Jacobs936674a2017-03-01 15:56:01 -0800158 <ignoredUnusedDeclaredDependencies>
159 <ignoredUnusedDeclaredDependency>org.apache.asterix:asterix-common</ignoredUnusedDeclaredDependency>
160 </ignoredUnusedDeclaredDependencies>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800161 </configuration>
162 </plugin>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800163 </plugins>
164 </pluginManagement>
165 </build>
166 <dependencies>
167 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800168 <groupId>org.apache.hadoop</groupId>
169 <artifactId>hadoop-minicluster</artifactId>
170 <version>${hadoop.version}</version>
171 <type>jar</type>
172 <scope>test</scope>
173 </dependency>
174 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800175 <groupId>org.apache.asterix</groupId>
176 <artifactId>asterix-om</artifactId>
177 <version>${asterix.version}</version>
178 <type>jar</type>
179 <scope>compile</scope>
180 </dependency>
181 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800182 <groupId>org.apache.asterix</groupId>
183 <artifactId>asterix-runtime</artifactId>
184 <version>${asterix.version}</version>
185 <type>jar</type>
186 <scope>compile</scope>
187 </dependency>
188 <dependency>
189 <groupId>org.apache.hyracks</groupId>
190 <artifactId>algebricks-compiler</artifactId>
191 </dependency>
192 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800193 <groupId>org.apache.asterix</groupId>
194 <artifactId>asterix-common</artifactId>
195 <version>${asterix.version}</version>
196 </dependency>
197 <dependency>
198 <groupId>org.apache.asterix</groupId>
199 <artifactId>asterix-test-framework</artifactId>
200 <version>${asterix.version}</version>
201 </dependency>
202 <dependency>
203 <groupId>org.apache.asterix</groupId>
204 <artifactId>asterix-active</artifactId>
205 <version>${asterix.version}</version>
206 </dependency>
207 <dependency>
208 <groupId>org.apache.asterix</groupId>
209 <artifactId>asterix-algebra</artifactId>
210 <version>${asterix.version}</version>
211 </dependency>
212 <dependency>
213 <groupId>org.apache.asterix</groupId>
214 <artifactId>asterix-app</artifactId>
215 <version>${asterix.version}</version>
216 <type>jar</type>
217 <scope>compile</scope>
218 </dependency>
219 <dependency>
220 <groupId>org.apache.asterix</groupId>
221 <artifactId>asterix-app</artifactId>
222 <version>${asterix.version}</version>
223 <type>test-jar</type>
224 <scope>test</scope>
225 </dependency>
226 <dependency>
227 <groupId>org.apache.asterix</groupId>
228 <artifactId>asterix-common</artifactId>
229 <version>${asterix.version}</version>
230 <type>test-jar</type>
231 <scope>test</scope>
232 </dependency>
233 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800234 <groupId>org.apache.hyracks</groupId>
235 <artifactId>algebricks-common</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800236 <version>${hyracks.version}</version>
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 Jacobsc91fc342017-01-24 10:34:39 -0800241 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800242 </dependency>
243 <dependency>
244 <groupId>org.apache.asterix</groupId>
Steven Glenn Jacobs55514042017-04-19 15:54:13 -0700245 <artifactId>asterix-lang-sqlpp</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800246 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800247 </dependency>
248 <dependency>
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -0800249 <groupId>org.apache.asterix</groupId>
250 <artifactId>asterix-lang-common</artifactId>
251 <version>${asterix.version}</version>
252 </dependency>
253 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800254 <groupId>log4j</groupId>
255 <artifactId>log4j</artifactId>
256 <version>1.2.17</version>
257 </dependency>
258 <dependency>
259 <groupId>org.apache.commons</groupId>
260 <artifactId>commons-lang3</artifactId>
261 <version>3.5</version>
262 </dependency>
263 <dependency>
264 <groupId>org.apache.hyracks</groupId>
265 <artifactId>algebricks-core</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800266 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800267 </dependency>
268 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800269 <groupId>junit</groupId>
270 <artifactId>junit</artifactId>
271 <version>4.12</version>
272 </dependency>
273 <dependency>
274 <groupId>org.apache.hyracks</groupId>
275 <artifactId>hyracks-data-std</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800276 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800277 </dependency>
278 <dependency>
279 <groupId>org.apache.hyracks</groupId>
280 <artifactId>algebricks-runtime</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800281 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800282 </dependency>
283 <dependency>
284 <groupId>org.apache.asterix</groupId>
285 <artifactId>asterix-lang-common</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800286 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800287 </dependency>
288 <dependency>
289 <groupId>org.apache.asterix</groupId>
290 <artifactId>asterix-metadata</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800291 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800292 </dependency>
293 <dependency>
294 <groupId>org.apache.asterix</groupId>
295 <artifactId>asterix-external-data</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800296 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800297 </dependency>
298 <dependency>
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -0800299 <groupId>org.apache.asterix</groupId>
300 <artifactId>asterix-transactions</artifactId>
301 <version>${asterix.version}</version>
302 </dependency>
303 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800304 <groupId>org.apache.hyracks</groupId>
305 <artifactId>hyracks-api</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800306 <version>${hyracks.version}</version>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800307 </dependency>
308 </dependencies>
309</project>