blob: 460f57d994bdccdba7c5815104be525bb38f54ab [file] [log] [blame]
Ian Maxon928bbd12015-09-14 17:12:48 -07001<!--
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 !-->
Vinayak Borkar9cca81b2013-12-11 21:53:45 -080019<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">
Michael Blowb4c1fb02016-05-09 15:41:00 -070020 <modelVersion>4.0.0</modelVersion>
21 <parent>
22 <artifactId>apache-asterixdb</artifactId>
23 <groupId>org.apache.asterix</groupId>
AsterixDB Jenkins93b46c82017-04-13 15:00:24 -070024 <version>0.9.2-SNAPSHOT</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070025 </parent>
26 <licenses>
27 <license>
28 <name>Apache License, Version 2.0</name>
29 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
30 <distribution>repo</distribution>
31 <comments>A business-friendly OSS license</comments>
32 </license>
33 </licenses>
34 <artifactId>asterix-external-data</artifactId>
35 <properties>
36 <appendedResourcesDirectory>${basedir}/../src/main/appended-resources</appendedResourcesDirectory>
Michael Blow599ef8f2017-01-12 11:02:53 -050037 <generatedSourcesDirectory>${project.build.directory}/generated-sources/lexer/</generatedSourcesDirectory>
Michael Blowb4c1fb02016-05-09 15:41:00 -070038 </properties>
39 <build>
40 <plugins>
41 <plugin>
Abdullah Alamoudi486e47a2015-12-23 08:17:57 +030042 <groupId>org.apache.asterix</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -070043 <artifactId>lexer-generator-maven-plugin</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -040044 <version>${project.version}</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070045 <configuration>
46 <grammarFile>src/main/resources/adm.grammar</grammarFile>
Till Westmann7255c5d2016-07-27 19:34:18 -070047 <outputDir>${project.build.directory}/generated-sources/lexer/org/apache/asterix/runtime/operators/file/adm</outputDir>
Michael Blowb4c1fb02016-05-09 15:41:00 -070048 </configuration>
49 <executions>
50 <execution>
51 <id>generate-lexer</id>
52 <phase>generate-sources</phase>
53 <goals>
54 <goal>generate-lexer</goal>
55 </goals>
56 </execution>
57 </executions>
58 </plugin>
59 <plugin>
60 <groupId>org.codehaus.mojo</groupId>
61 <artifactId>build-helper-maven-plugin</artifactId>
62 <version>1.9</version>
63 <executions>
64 <execution>
65 <id>add-source</id>
66 <phase>generate-sources</phase>
67 <goals>
68 <goal>add-source</goal>
69 </goals>
Ian Maxon3da9d062016-03-16 17:05:31 -070070 <configuration>
Michael Blowb4c1fb02016-05-09 15:41:00 -070071 <sources>
Till Westmann7255c5d2016-07-27 19:34:18 -070072 <source>${project.build.directory}/generated-sources/lexer/</source>
Michael Blowb4c1fb02016-05-09 15:41:00 -070073 </sources>
Ian Maxon3da9d062016-03-16 17:05:31 -070074 </configuration>
Michael Blowb4c1fb02016-05-09 15:41:00 -070075 </execution>
76 </executions>
77 </plugin>
78 <plugin>
79 <groupId>org.jvnet.jaxb2.maven2</groupId>
80 <artifactId>maven-jaxb2-plugin</artifactId>
81 <version>0.9.0</version>
82 <executions>
83 <execution>
84 <id>configuration</id>
85 <goals>
86 <goal>generate</goal>
87 </goals>
88 <configuration>
89 <schemaDirectory>src/main/resources/schema</schemaDirectory>
90 <schemaIncludes>
91 <include>library.xsd</include>
92 </schemaIncludes>
93 <generatePackage>org.apache.asterix.external.library</generatePackage>
94 <generateDirectory>${project.build.directory}/generated-sources/configuration</generateDirectory>
95 </configuration>
96 </execution>
97 </executions>
98 </plugin>
99 <plugin>
100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-jar-plugin</artifactId>
102 <version>2.4</version>
103 <configuration>
104 <includes>
105 <include>**/*.class</include>
106 <include>**/*.txt</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700107 <include>**/NOTICE</include>
108 <include>**/LICENSE</include>
Michael Blow82464fb2017-03-28 18:48:13 -0400109 <include>**/*.properties</include>
Xikui Wangf17def92017-01-10 14:46:44 -0800110 <include>**/services/**</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700111 </includes>
112 </configuration>
113 <executions>
114 <execution>
115 <goals>
116 <goal>test-jar</goal>
117 </goals>
118 <phase>package</phase>
119 </execution>
120 </executions>
121 </plugin>
122 <plugin>
123 <artifactId>maven-assembly-plugin</artifactId>
Michael Blow82464fb2017-03-28 18:48:13 -0400124 <version>3.0.0</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700125 <executions>
126 <execution>
127 <configuration>
Michael Blow82464fb2017-03-28 18:48:13 -0400128 <descriptors>src/main/assembly/binary-assembly-libzip.xml</descriptors>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700129 </configuration>
130 <phase>package</phase>
131 <goals>
Michael Blow82464fb2017-03-28 18:48:13 -0400132 <goal>single</goal>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700133 </goals>
134 </execution>
135 </executions>
136 </plugin>
Michael Blow599ef8f2017-01-12 11:02:53 -0500137 <plugin>
138 <groupId>org.apache.maven.plugins</groupId>
139 <artifactId>maven-dependency-plugin</artifactId>
140 <version>2.10</version>
141 <configuration>
142 <ignoredUsedUndeclaredDependencies>
143 <ignoredUsedUndeclaredDependency>org.json:json:*</ignoredUsedUndeclaredDependency>
144 <ignoredUsedUndeclaredDependency>stax:stax-api:*</ignoredUsedUndeclaredDependency>
145 <ignoredUsedUndeclaredDependency>javax.xml.bind:jaxb-api:*</ignoredUsedUndeclaredDependency>
146 </ignoredUsedUndeclaredDependencies>
147 <ignoredUnusedDeclaredDependencies>
148 <ignoredUnusedDeclaredDependency>xml-apis:xml-apis:*</ignoredUnusedDeclaredDependency>
149 </ignoredUnusedDeclaredDependencies>
150 </configuration>
151 </plugin>
Michael Blow82464fb2017-03-28 18:48:13 -0400152 <plugin>
153 <groupId>org.apache.rat</groupId>
154 <artifactId>apache-rat-plugin</artifactId>
155 <configuration>
156 <licenses combine.children="append">
157 <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
158 <licenseFamilyCategory>Kermit</licenseFamilyCategory>
159 <licenseFamilyName>Kermit Project</licenseFamilyName>
Michael Blow07570112017-04-11 21:38:31 -0400160 <notes>The UTF-8 sample "I Can Eat Glass" from The Kermit Project (license in LICENSE file)</notes>
161 <patterns>Copyright © 1981-2011, Trustees of Columbia University in the City of New York. All rights reserved.</patterns>
Michael Blow82464fb2017-03-28 18:48:13 -0400162 </license>
163 </licenses>
164 <licenseFamilies combine.children="append">
165 <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
166 <familyName>Kermit Project</familyName>
167 </licenseFamily>
168 </licenseFamilies>
169 <excludes combine.children="append">
Michael Blow82464fb2017-03-28 18:48:13 -0400170 <exclude>src/test/resources/classad/**</exclude> <!-- HTCondor (license in LICENSE file) -->
171 <exclude>src/test/resources/record.json</exclude> <!-- https://issues.apache.org/jira/browse/ASTERIXDB-1850 -->
172 <exclude>src/test/resources/change_feed.csv</exclude>
Xikui Wang46518ba2017-05-29 22:55:51 -0700173 <exclude>src/test/resources/test_tweets.txt</exclude>
Michael Blow82464fb2017-03-28 18:48:13 -0400174 </excludes>
175 </configuration>
176 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700177 </plugins>
178 <pluginManagement>
179 <plugins>
Abdullah Alamoudifba622b2016-05-14 13:01:16 -0700180 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
Michael Blowb4c1fb02016-05-09 15:41:00 -0700181 <plugin>
182 <groupId>org.eclipse.m2e</groupId>
183 <artifactId>lifecycle-mapping</artifactId>
184 <version>1.0.0</version>
185 <configuration>
186 <lifecycleMappingMetadata>
187 <pluginExecutions>
188 <pluginExecution>
189 <pluginExecutionFilter>
Abdullah Alamoudifba622b2016-05-14 13:01:16 -0700190 <groupId> org.apache.asterix</groupId>
191 <artifactId> lexer-generator-maven-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700192 <versionRange>[0.1,)</versionRange>
193 <goals>
194 <goal>generate-lexer</goal>
195 </goals>
196 </pluginExecutionFilter>
197 <action>
198 <execute>
199 <runOnIncremental>false</runOnIncremental>
200 </execute>
201 </action>
202 </pluginExecution>
203 <pluginExecution>
204 <pluginExecutionFilter>
Abdullah Alamoudifba622b2016-05-14 13:01:16 -0700205 <groupId> org.codehaus.mojo</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700206 <artifactId>build-helper-maven-plugin</artifactId>
207 <versionRange>[1.7,)</versionRange>
208 <goals>
209 <goal>add-source</goal>
210 </goals>
211 </pluginExecutionFilter>
212 <action>
Abdullah Alamoudifba622b2016-05-14 13:01:16 -0700213 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700214 </action>
215 </pluginExecution>
216 </pluginExecutions>
217 </lifecycleMappingMetadata>
218 </configuration>
219 </plugin>
220 </plugins>
221 </pluginManagement>
222 </build>
223 <dependencies>
224 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700225 <groupId>org.apache.asterix</groupId>
226 <artifactId>asterix-om</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400227 <version>${project.version}</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700228 <type>jar</type>
229 <scope>compile</scope>
230 </dependency>
231 <dependency>
Abdullah Alamoudifba622b2016-05-14 13:01:16 -0700232 <groupId>org.apache.hyracks</groupId>
233 <artifactId>hyracks-test-support</artifactId>
Abdullah Alamoudifba622b2016-05-14 13:01:16 -0700234 <scope>test</scope>
235 </dependency>
236 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700237 <groupId>org.apache.asterix</groupId>
238 <artifactId>asterix-runtime</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400239 <version>${project.version}</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700240 </dependency>
241 <dependency>
242 <groupId>org.apache.hyracks</groupId>
Abdullah Alamoudi973a0d32016-07-22 14:38:56 +0300243 <artifactId>hyracks-hdfs-core</artifactId>
Abdullah Alamoudi973a0d32016-07-22 14:38:56 +0300244 </dependency>
245 <dependency>
246 <groupId>org.apache.asterix</groupId>
247 <artifactId>asterix-common</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400248 <version>${project.version}</version>
Abdullah Alamoudi973a0d32016-07-22 14:38:56 +0300249 </dependency>
250 <dependency>
251 <groupId>org.apache.asterix</groupId>
252 <artifactId>asterix-active</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400253 <version>${project.version}</version>
Abdullah Alamoudi973a0d32016-07-22 14:38:56 +0300254 </dependency>
255 <dependency>
Ian Maxon5226ca82017-01-13 12:19:44 -0800256 <groupId>org.apache.asterix</groupId>
257 <artifactId>asterix-hivecompat</artifactId>
258 <version>${project.version}</version>
259 </dependency>
260 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700261 <groupId>org.twitter4j</groupId>
262 <artifactId>twitter4j-core</artifactId>
263 <version>4.0.3</version>
Ian Maxon5226ca82017-01-13 12:19:44 -0800264 <scope>provided</scope>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700265 </dependency>
266 <dependency>
267 <groupId>org.twitter4j</groupId>
268 <artifactId>twitter4j-stream</artifactId>
269 <version>4.0.3</version>
Ian Maxon5226ca82017-01-13 12:19:44 -0800270 <scope>provided</scope>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700271 </dependency>
272 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700273 <groupId>net.java.dev.rome</groupId>
274 <artifactId>rome-fetcher</artifactId>
275 <version>1.0.0</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700276 <exclusions>
277 <exclusion>
278 <artifactId>rome</artifactId>
279 <groupId>net.java.dev.rome</groupId>
280 </exclusion>
Michael Blowb29bd732017-01-16 11:44:39 -0500281 <exclusion>
282 <groupId>commons-logging</groupId>
283 <artifactId>commons-logging</artifactId>
284 </exclusion>
Till Westmann4671f712017-05-11 09:13:57 -0700285 <exclusion>
286 <groupId>xerces</groupId>
287 <artifactId>xercesImpl</artifactId>
288 </exclusion>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700289 </exclusions>
290 </dependency>
291 <dependency>
292 <groupId>rome</groupId>
293 <artifactId>rome</artifactId>
294 <version>1.0.1-modified-01</version>
295 </dependency>
296 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700297 <groupId>org.apache.hive</groupId>
Ian Maxon5226ca82017-01-13 12:19:44 -0800298 <artifactId>hive-serde</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700299 </dependency>
300 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700301 <groupId>com.e-movimento.tinytools</groupId>
302 <artifactId>privilegedaccessor</artifactId>
303 <version>1.2.2</version>
304 <scope>test</scope>
305 </dependency>
306 <dependency>
307 <groupId>com.couchbase.client</groupId>
308 <artifactId>core-io</artifactId>
Abdullah Alamoudi9747c4b2016-08-26 10:45:09 +0300309 <version>1.3.2</version>
Abdullah Alamoudifba622b2016-05-14 13:01:16 -0700310 </dependency>
311 <dependency>
312 <groupId>org.mockito</groupId>
313 <artifactId>mockito-all</artifactId>
314 <version>2.0.2-beta</version>
315 <scope>test</scope>
316 </dependency>
Michael Blow2da62dc2016-06-30 21:18:37 -0400317 <dependency>
318 <groupId>org.apache.hyracks</groupId>
319 <artifactId>hyracks-api</artifactId>
Michael Blow2da62dc2016-06-30 21:18:37 -0400320 <type>test-jar</type>
321 <scope>test</scope>
322 </dependency>
Till Westmann42620f62016-11-23 11:52:24 -0800323 <dependency>
324 <groupId>org.apache.wicket</groupId>
Till Westmann42620f62016-11-23 11:52:24 -0800325 <artifactId>wicket-util</artifactId>
326 <version>1.5.2</version>
327 <scope>test</scope>
328 </dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500329 <dependency>
330 <groupId>commons-io</groupId>
331 <artifactId>commons-io</artifactId>
332 </dependency>
333 <dependency>
334 <groupId>org.apache.hyracks</groupId>
335 <artifactId>hyracks-dataflow-common</artifactId>
336 </dependency>
337 <dependency>
338 <groupId>org.apache.hyracks</groupId>
339 <artifactId>hyracks-storage-am-lsm-btree</artifactId>
340 </dependency>
341 <dependency>
342 <groupId>log4j</groupId>
343 <artifactId>log4j</artifactId>
344 </dependency>
345 <dependency>
346 <groupId>org.apache.hyracks</groupId>
347 <artifactId>algebricks-data</artifactId>
348 </dependency>
349 <dependency>
350 <groupId>org.apache.hyracks</groupId>
351 <artifactId>algebricks-core</artifactId>
352 </dependency>
353 <dependency>
354 <groupId>org.apache.hyracks</groupId>
355 <artifactId>hyracks-storage-am-lsm-rtree</artifactId>
356 </dependency>
357 <dependency>
358 <groupId>org.apache.hyracks</groupId>
359 <artifactId>algebricks-runtime</artifactId>
360 </dependency>
361 <dependency>
362 <groupId>org.apache.hyracks</groupId>
363 <artifactId>hyracks-storage-am-lsm-common</artifactId>
364 </dependency>
365 <dependency>
366 <groupId>org.apache.hyracks</groupId>
367 <artifactId>hyracks-storage-common</artifactId>
368 </dependency>
369 <dependency>
370 <groupId>org.apache.httpcomponents</groupId>
371 <artifactId>httpclient</artifactId>
372 </dependency>
373 <dependency>
374 <groupId>org.apache.hyracks</groupId>
375 <artifactId>hyracks-util</artifactId>
376 </dependency>
377 <dependency>
378 <groupId>org.apache.hyracks</groupId>
379 <artifactId>algebricks-common</artifactId>
380 </dependency>
381 <dependency>
382 <groupId>org.apache.hadoop</groupId>
383 <artifactId>hadoop-common</artifactId>
384 </dependency>
385 <dependency>
386 <groupId>org.apache.hadoop</groupId>
387 <artifactId>hadoop-mapreduce-client-core</artifactId>
388 </dependency>
389 <dependency>
390 <groupId>org.apache.hyracks</groupId>
391 <artifactId>hyracks-storage-am-rtree</artifactId>
392 </dependency>
393 <dependency>
394 <groupId>org.apache.commons</groupId>
395 <artifactId>commons-lang3</artifactId>
396 </dependency>
397 <dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500398 <groupId>junit</groupId>
399 <artifactId>junit</artifactId>
400 </dependency>
401 <dependency>
402 <groupId>org.apache.hyracks</groupId>
403 <artifactId>hyracks-dataflow-std</artifactId>
404 </dependency>
405 <dependency>
406 <groupId>org.apache.hyracks</groupId>
407 <artifactId>hyracks-data-std</artifactId>
408 </dependency>
409 <dependency>
410 <groupId>org.apache.hyracks</groupId>
411 <artifactId>hyracks-storage-am-btree</artifactId>
412 </dependency>
413 <dependency>
414 <groupId>org.apache.hyracks</groupId>
415 <artifactId>hyracks-storage-am-common</artifactId>
416 </dependency>
417 <dependency>
418 <groupId>org.apache.hyracks</groupId>
419 <artifactId>hyracks-api</artifactId>
420 </dependency>
421 <dependency>
422 <groupId>xml-apis</groupId>
423 <artifactId>xml-apis</artifactId>
424 <version>1.4.01</version>
425 </dependency>
426 <dependency>
427 <groupId>com.fasterxml.jackson.core</groupId>
428 <artifactId>jackson-databind</artifactId>
429 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700430 </dependencies>
Michael Blowf8a882d2016-08-02 01:28:34 -0400431</project>