blob: 6b58441e1395cced5ac9021acaff424592f78231 [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>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -080028 <asterix.version>0.9.1-SNAPSHOT</asterix.version>
29 <hyracks.version>0.3.1-SNAPSHOT</hyracks.version>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -080030 </properties>
31 <build>
32 <plugins>
33 <plugin>
34 <groupId>org.apache.asterix</groupId>
35 <artifactId>asterix-grammar-extension-maven-plugin</artifactId>
36 <version>${asterix.version}</version>
37 <configuration>
38 <base>${project.basedir}</base>
39 <gbase>../../asterix-lang-aql/src/main/javacc/AQL.jj</gbase>
40 <gextension>src/main/resources/lang-extension/lang.txt</gextension>
41 <output>target/generated-resources/javacc/grammar.jj</output>
42 <parserClassName>BADAQLParser</parserClassName>
43 <packageName>org.apache.asterix.bad.lang</packageName>
44 </configuration>
45 <executions>
46 <execution>
47 <phase>generate-sources</phase>
48 <goals>
49 <goal>grammarix</goal>
50 </goals>
51 </execution>
52 </executions>
53 </plugin>
54 <plugin>
55 <groupId>org.codehaus.mojo</groupId>
56 <artifactId>javacc-maven-plugin</artifactId>
57 <version>2.6</version>
58 <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>
82 <version>1.9</version>
83 <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>
98 </plugins>
99 <pluginManagement>
100 <plugins>
101 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
102 <plugin>
103 <groupId>org.eclipse.m2e</groupId>
104 <artifactId>lifecycle-mapping</artifactId>
105 <version>1.0.0</version>
106 <configuration>
107 <lifecycleMappingMetadata>
108 <pluginExecutions>
109 <pluginExecution>
110 <pluginExecutionFilter>
111 <groupId>org.apache.asterix</groupId>
112 <artifactId>asterix-grammar-extension-maven-plugin</artifactId>
113 <versionRange>[${asterix.version},)</versionRange>
114 <goals>
115 <goal>grammarix</goal>
116 </goals>
117 </pluginExecutionFilter>
118 <action>
119 <ignore></ignore>
120 </action>
121 </pluginExecution>
122 <pluginExecution>
123 <pluginExecutionFilter>
124 <groupId>org.codehaus.mojo</groupId>
125 <artifactId>javacc-maven-plugin</artifactId>
126 <versionRange>[2.6,)</versionRange>
127 <goals>
128 <goal>javacc</goal>
129 </goals>
130 </pluginExecutionFilter>
131 <action>
132 <ignore></ignore>
133 </action>
134 </pluginExecution>
135 </pluginExecutions>
136 </lifecycleMappingMetadata>
137 </configuration>
138 </plugin>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800139 <plugin>
140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-dependency-plugin</artifactId>
142 <version>2.10</version>
143 <configuration>
144 <usedDependencies>
145 <usedDependency>org.apache.hadoop:hadoop-minicluster</usedDependency>
146 </usedDependencies>
Steven Glenn Jacobs936674a2017-03-01 15:56:01 -0800147 <ignoredUnusedDeclaredDependencies>
148 <ignoredUnusedDeclaredDependency>org.apache.asterix:asterix-common</ignoredUnusedDeclaredDependency>
149 </ignoredUnusedDeclaredDependencies>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800150 </configuration>
151 </plugin>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800152 </plugins>
153 </pluginManagement>
154 </build>
155 <dependencies>
156 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800157 <groupId>org.apache.hadoop</groupId>
158 <artifactId>hadoop-minicluster</artifactId>
159 <version>${hadoop.version}</version>
160 <type>jar</type>
161 <scope>test</scope>
162 </dependency>
163 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800164 <groupId>org.apache.asterix</groupId>
165 <artifactId>asterix-om</artifactId>
166 <version>${asterix.version}</version>
167 <type>jar</type>
168 <scope>compile</scope>
169 </dependency>
170 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800171 <groupId>org.apache.asterix</groupId>
172 <artifactId>asterix-runtime</artifactId>
173 <version>${asterix.version}</version>
174 <type>jar</type>
175 <scope>compile</scope>
176 </dependency>
177 <dependency>
178 <groupId>org.apache.hyracks</groupId>
179 <artifactId>algebricks-compiler</artifactId>
180 </dependency>
181 <dependency>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800182 <groupId>org.apache.asterix</groupId>
183 <artifactId>asterix-common</artifactId>
184 <version>${asterix.version}</version>
185 </dependency>
186 <dependency>
187 <groupId>org.apache.asterix</groupId>
188 <artifactId>asterix-test-framework</artifactId>
189 <version>${asterix.version}</version>
190 </dependency>
191 <dependency>
192 <groupId>org.apache.asterix</groupId>
193 <artifactId>asterix-active</artifactId>
194 <version>${asterix.version}</version>
195 </dependency>
196 <dependency>
197 <groupId>org.apache.asterix</groupId>
198 <artifactId>asterix-algebra</artifactId>
199 <version>${asterix.version}</version>
200 </dependency>
201 <dependency>
202 <groupId>org.apache.asterix</groupId>
203 <artifactId>asterix-app</artifactId>
204 <version>${asterix.version}</version>
205 <type>jar</type>
206 <scope>compile</scope>
207 </dependency>
208 <dependency>
209 <groupId>org.apache.asterix</groupId>
210 <artifactId>asterix-app</artifactId>
211 <version>${asterix.version}</version>
212 <type>test-jar</type>
213 <scope>test</scope>
214 </dependency>
215 <dependency>
216 <groupId>org.apache.asterix</groupId>
217 <artifactId>asterix-common</artifactId>
218 <version>${asterix.version}</version>
219 <type>test-jar</type>
220 <scope>test</scope>
221 </dependency>
222 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800223 <groupId>org.apache.hyracks</groupId>
224 <artifactId>algebricks-common</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800225 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800226 </dependency>
227 <dependency>
228 <groupId>org.apache.hyracks</groupId>
229 <artifactId>hyracks-dataflow-common</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800230 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800231 </dependency>
232 <dependency>
233 <groupId>org.apache.asterix</groupId>
234 <artifactId>asterix-lang-aql</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800235 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800236 </dependency>
237 <dependency>
238 <groupId>log4j</groupId>
239 <artifactId>log4j</artifactId>
240 <version>1.2.17</version>
241 </dependency>
242 <dependency>
243 <groupId>org.apache.commons</groupId>
244 <artifactId>commons-lang3</artifactId>
245 <version>3.5</version>
246 </dependency>
247 <dependency>
248 <groupId>org.apache.hyracks</groupId>
249 <artifactId>algebricks-core</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800250 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800251 </dependency>
252 <dependency>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800253 <groupId>junit</groupId>
254 <artifactId>junit</artifactId>
255 <version>4.12</version>
256 </dependency>
257 <dependency>
258 <groupId>org.apache.hyracks</groupId>
259 <artifactId>hyracks-data-std</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800260 <version>${hyracks.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800261 </dependency>
262 <dependency>
263 <groupId>org.apache.hyracks</groupId>
264 <artifactId>algebricks-runtime</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>
268 <groupId>org.apache.asterix</groupId>
269 <artifactId>asterix-lang-common</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800270 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800271 </dependency>
272 <dependency>
273 <groupId>org.apache.asterix</groupId>
274 <artifactId>asterix-metadata</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800275 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800276 </dependency>
277 <dependency>
278 <groupId>org.apache.asterix</groupId>
279 <artifactId>asterix-external-data</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800280 <version>${asterix.version}</version>
Steven Glenn Jacobs088e8ee2017-01-12 19:24:46 -0800281 </dependency>
282 <dependency>
283 <groupId>org.apache.hyracks</groupId>
284 <artifactId>hyracks-api</artifactId>
Steven Glenn Jacobsc91fc342017-01-24 10:34:39 -0800285 <version>${hyracks.version}</version>
Steven Glenn Jacobsd0ec8372016-12-07 11:00:08 -0800286 </dependency>
287 </dependencies>
288</project>