blob: e94b912ce44958a40e7b2f4dcf115c7e79872a3f [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>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -080031 </properties>
32 <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>
58 <version>2.6</version>
59 <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>
83 <version>1.9</version>
84 <executions>
85 <execution>
86 <id>add-source</id>
87 <phase>generate-sources</phase>
88 <goals>
89 <goal>add-source</goal>
90 </goals>
91 <configuration>
92 <sources>
93 <source>${project.build.directory}/generated-sources/javacc/</source>
94 </sources>
95 </configuration>
96 </execution>
97 </executions>
98 </plugin>
Steven Glenn Jacobs39826042017-03-28 20:28:27 -070099 <plugin>
100 <groupId>org.apache.rat</groupId>
101 <artifactId>apache-rat-plugin</artifactId>
102 <configuration>
103 <excludes combine.children="append">
104 <exclude>src/test/resources/**/results/**</exclude>
105 </excludes>
106 </configuration>
107 </plugin>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800108 </plugins>
109 <pluginManagement>
110 <plugins>
111 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
112 <plugin>
113 <groupId>org.eclipse.m2e</groupId>
114 <artifactId>lifecycle-mapping</artifactId>
115 <version>1.0.0</version>
116 <configuration>
117 <lifecycleMappingMetadata>
118 <pluginExecutions>
119 <pluginExecution>
120 <pluginExecutionFilter>
121 <groupId>org.apache.asterix</groupId>
122 <artifactId>asterix-grammar-extension-maven-plugin</artifactId>
123 <versionRange>[${asterix.version},)</versionRange>
124 <goals>
125 <goal>grammarix</goal>
126 </goals>
127 </pluginExecutionFilter>
128 <action>
129 <ignore></ignore>
130 </action>
131 </pluginExecution>
132 <pluginExecution>
133 <pluginExecutionFilter>
134 <groupId>org.codehaus.mojo</groupId>
135 <artifactId>javacc-maven-plugin</artifactId>
136 <versionRange>[2.6,)</versionRange>
137 <goals>
138 <goal>javacc</goal>
139 </goals>
140 </pluginExecutionFilter>
141 <action>
142 <ignore></ignore>
143 </action>
144 </pluginExecution>
145 </pluginExecutions>
146 </lifecycleMappingMetadata>
147 </configuration>
148 </plugin>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800149 <plugin>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-dependency-plugin</artifactId>
152 <version>2.10</version>
153 <configuration>
154 <usedDependencies>
155 <usedDependency>org.apache.hadoop:hadoop-minicluster</usedDependency>
156 </usedDependencies>
Steven Glenn Jacobs936674a2017-03-01 15:56:01 -0800157 <ignoredUnusedDeclaredDependencies>
158 <ignoredUnusedDeclaredDependency>org.apache.asterix:asterix-common</ignoredUnusedDeclaredDependency>
159 </ignoredUnusedDeclaredDependencies>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800160 </configuration>
161 </plugin>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800162 </plugins>
163 </pluginManagement>
164 </build>
165 <dependencies>
166 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800167 <groupId>org.apache.hadoop</groupId>
168 <artifactId>hadoop-minicluster</artifactId>
169 <version>${hadoop.version}</version>
170 <type>jar</type>
171 <scope>test</scope>
172 </dependency>
173 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800174 <groupId>org.apache.asterix</groupId>
175 <artifactId>asterix-om</artifactId>
176 <version>${asterix.version}</version>
177 <type>jar</type>
178 <scope>compile</scope>
179 </dependency>
180 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800181 <groupId>org.apache.asterix</groupId>
182 <artifactId>asterix-runtime</artifactId>
183 <version>${asterix.version}</version>
184 <type>jar</type>
185 <scope>compile</scope>
186 </dependency>
187 <dependency>
188 <groupId>org.apache.hyracks</groupId>
189 <artifactId>algebricks-compiler</artifactId>
190 </dependency>
191 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800192 <groupId>org.apache.asterix</groupId>
193 <artifactId>asterix-common</artifactId>
194 <version>${asterix.version}</version>
195 </dependency>
196 <dependency>
197 <groupId>org.apache.asterix</groupId>
198 <artifactId>asterix-test-framework</artifactId>
199 <version>${asterix.version}</version>
200 </dependency>
201 <dependency>
202 <groupId>org.apache.asterix</groupId>
203 <artifactId>asterix-active</artifactId>
204 <version>${asterix.version}</version>
205 </dependency>
206 <dependency>
207 <groupId>org.apache.asterix</groupId>
208 <artifactId>asterix-algebra</artifactId>
209 <version>${asterix.version}</version>
210 </dependency>
211 <dependency>
212 <groupId>org.apache.asterix</groupId>
213 <artifactId>asterix-app</artifactId>
214 <version>${asterix.version}</version>
215 <type>jar</type>
216 <scope>compile</scope>
217 </dependency>
218 <dependency>
219 <groupId>org.apache.asterix</groupId>
220 <artifactId>asterix-app</artifactId>
221 <version>${asterix.version}</version>
222 <type>test-jar</type>
223 <scope>test</scope>
224 </dependency>
225 <dependency>
226 <groupId>org.apache.asterix</groupId>
227 <artifactId>asterix-common</artifactId>
228 <version>${asterix.version}</version>
229 <type>test-jar</type>
230 <scope>test</scope>
231 </dependency>
232 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800233 <groupId>org.apache.hyracks</groupId>
234 <artifactId>algebricks-common</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800235 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800236 </dependency>
237 <dependency>
238 <groupId>org.apache.hyracks</groupId>
239 <artifactId>hyracks-dataflow-common</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800240 <version>${hyracks.version}</version>
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>
255 <version>1.2.17</version>
256 </dependency>
257 <dependency>
258 <groupId>org.apache.commons</groupId>
259 <artifactId>commons-lang3</artifactId>
260 <version>3.5</version>
261 </dependency>
262 <dependency>
263 <groupId>org.apache.hyracks</groupId>
264 <artifactId>algebricks-core</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800265 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800266 </dependency>
267 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800268 <groupId>junit</groupId>
269 <artifactId>junit</artifactId>
270 <version>4.12</version>
271 </dependency>
272 <dependency>
273 <groupId>org.apache.hyracks</groupId>
274 <artifactId>hyracks-data-std</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800275 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800276 </dependency>
277 <dependency>
278 <groupId>org.apache.hyracks</groupId>
279 <artifactId>algebricks-runtime</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800280 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800281 </dependency>
282 <dependency>
283 <groupId>org.apache.asterix</groupId>
284 <artifactId>asterix-lang-common</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800285 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800286 </dependency>
287 <dependency>
288 <groupId>org.apache.asterix</groupId>
289 <artifactId>asterix-metadata</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800290 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800291 </dependency>
292 <dependency>
293 <groupId>org.apache.asterix</groupId>
294 <artifactId>asterix-external-data</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800295 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800296 </dependency>
297 <dependency>
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -0800298 <groupId>org.apache.asterix</groupId>
299 <artifactId>asterix-transactions</artifactId>
300 <version>${asterix.version}</version>
301 </dependency>
302 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800303 <groupId>org.apache.hyracks</groupId>
304 <artifactId>hyracks-api</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800305 <version>${hyracks.version}</version>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800306 </dependency>
307 </dependencies>
308</project>