blob: 6eca5c2da47f2915f0a8333e5471c1c9f22b56ff [file] [log] [blame]
Michael Blow786ed612017-07-20 11:19:38 -04001<!--
Ian Maxon928bbd12015-09-14 17:12:48 -07002 ! 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 Jenkins92a9a652017-08-07 17:23:07 -070024 <version>0.9.3-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>
Michael Blowb4c1fb02016-05-09 15:41:00 -070062 <executions>
63 <execution>
64 <id>add-source</id>
65 <phase>generate-sources</phase>
66 <goals>
67 <goal>add-source</goal>
68 </goals>
Ian Maxon3da9d062016-03-16 17:05:31 -070069 <configuration>
Michael Blowb4c1fb02016-05-09 15:41:00 -070070 <sources>
Till Westmann7255c5d2016-07-27 19:34:18 -070071 <source>${project.build.directory}/generated-sources/lexer/</source>
Michael Blowb4c1fb02016-05-09 15:41:00 -070072 </sources>
Ian Maxon3da9d062016-03-16 17:05:31 -070073 </configuration>
Michael Blowb4c1fb02016-05-09 15:41:00 -070074 </execution>
75 </executions>
76 </plugin>
77 <plugin>
78 <groupId>org.jvnet.jaxb2.maven2</groupId>
79 <artifactId>maven-jaxb2-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -070080 <executions>
81 <execution>
82 <id>configuration</id>
83 <goals>
84 <goal>generate</goal>
85 </goals>
86 <configuration>
87 <schemaDirectory>src/main/resources/schema</schemaDirectory>
88 <schemaIncludes>
89 <include>library.xsd</include>
90 </schemaIncludes>
91 <generatePackage>org.apache.asterix.external.library</generatePackage>
92 <generateDirectory>${project.build.directory}/generated-sources/configuration</generateDirectory>
93 </configuration>
94 </execution>
95 </executions>
96 </plugin>
97 <plugin>
98 <groupId>org.apache.maven.plugins</groupId>
99 <artifactId>maven-jar-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700100 <configuration>
101 <includes>
102 <include>**/*.class</include>
103 <include>**/*.txt</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700104 <include>**/NOTICE</include>
105 <include>**/LICENSE</include>
Michael Blow82464fb2017-03-28 18:48:13 -0400106 <include>**/*.properties</include>
Xikui Wangf17def92017-01-10 14:46:44 -0800107 <include>**/services/**</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700108 </includes>
109 </configuration>
110 <executions>
111 <execution>
112 <goals>
113 <goal>test-jar</goal>
114 </goals>
115 <phase>package</phase>
116 </execution>
117 </executions>
118 </plugin>
119 <plugin>
120 <artifactId>maven-assembly-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700121 <executions>
122 <execution>
123 <configuration>
Michael Blow82464fb2017-03-28 18:48:13 -0400124 <descriptors>src/main/assembly/binary-assembly-libzip.xml</descriptors>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700125 </configuration>
126 <phase>package</phase>
127 <goals>
Michael Blow82464fb2017-03-28 18:48:13 -0400128 <goal>single</goal>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700129 </goals>
130 </execution>
131 </executions>
132 </plugin>
Michael Blow599ef8f2017-01-12 11:02:53 -0500133 <plugin>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow599ef8f2017-01-12 11:02:53 -0500136 <configuration>
137 <ignoredUsedUndeclaredDependencies>
138 <ignoredUsedUndeclaredDependency>org.json:json:*</ignoredUsedUndeclaredDependency>
139 <ignoredUsedUndeclaredDependency>stax:stax-api:*</ignoredUsedUndeclaredDependency>
140 <ignoredUsedUndeclaredDependency>javax.xml.bind:jaxb-api:*</ignoredUsedUndeclaredDependency>
141 </ignoredUsedUndeclaredDependencies>
142 <ignoredUnusedDeclaredDependencies>
143 <ignoredUnusedDeclaredDependency>xml-apis:xml-apis:*</ignoredUnusedDeclaredDependency>
144 </ignoredUnusedDeclaredDependencies>
145 </configuration>
146 </plugin>
Michael Blow82464fb2017-03-28 18:48:13 -0400147 <plugin>
148 <groupId>org.apache.rat</groupId>
149 <artifactId>apache-rat-plugin</artifactId>
150 <configuration>
151 <licenses combine.children="append">
152 <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
153 <licenseFamilyCategory>Kermit</licenseFamilyCategory>
154 <licenseFamilyName>Kermit Project</licenseFamilyName>
Michael Blow07570112017-04-11 21:38:31 -0400155 <notes>The UTF-8 sample "I Can Eat Glass" from The Kermit Project (license in LICENSE file)</notes>
156 <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 -0400157 </license>
158 </licenses>
159 <licenseFamilies combine.children="append">
160 <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
161 <familyName>Kermit Project</familyName>
162 </licenseFamily>
163 </licenseFamilies>
164 <excludes combine.children="append">
Michael Blow82464fb2017-03-28 18:48:13 -0400165 <exclude>src/test/resources/classad/**</exclude> <!-- HTCondor (license in LICENSE file) -->
166 <exclude>src/test/resources/record.json</exclude> <!-- https://issues.apache.org/jira/browse/ASTERIXDB-1850 -->
167 <exclude>src/test/resources/change_feed.csv</exclude>
Xikui Wang46518ba2017-05-29 22:55:51 -0700168 <exclude>src/test/resources/test_tweets.txt</exclude>
Michael Blow82464fb2017-03-28 18:48:13 -0400169 </excludes>
170 </configuration>
171 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700172 </plugins>
173 <pluginManagement>
174 <plugins>
Abdullah Alamoudifba622b2016-05-14 13:01:16 -0700175 <!--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 -0700176 <plugin>
177 <groupId>org.eclipse.m2e</groupId>
178 <artifactId>lifecycle-mapping</artifactId>
179 <version>1.0.0</version>
180 <configuration>
181 <lifecycleMappingMetadata>
182 <pluginExecutions>
183 <pluginExecution>
184 <pluginExecutionFilter>
Abdullah Alamoudifba622b2016-05-14 13:01:16 -0700185 <groupId> org.apache.asterix</groupId>
186 <artifactId> lexer-generator-maven-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400187 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700188 <goals>
189 <goal>generate-lexer</goal>
190 </goals>
191 </pluginExecutionFilter>
192 <action>
193 <execute>
194 <runOnIncremental>false</runOnIncremental>
195 </execute>
196 </action>
197 </pluginExecution>
198 <pluginExecution>
199 <pluginExecutionFilter>
Abdullah Alamoudifba622b2016-05-14 13:01:16 -0700200 <groupId> org.codehaus.mojo</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700201 <artifactId>build-helper-maven-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400202 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700203 <goals>
204 <goal>add-source</goal>
205 </goals>
206 </pluginExecutionFilter>
207 <action>
Abdullah Alamoudifba622b2016-05-14 13:01:16 -0700208 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700209 </action>
210 </pluginExecution>
211 </pluginExecutions>
212 </lifecycleMappingMetadata>
213 </configuration>
214 </plugin>
215 </plugins>
216 </pluginManagement>
217 </build>
218 <dependencies>
219 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700220 <groupId>org.apache.asterix</groupId>
221 <artifactId>asterix-om</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400222 <version>${project.version}</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700223 <type>jar</type>
224 <scope>compile</scope>
225 </dependency>
226 <dependency>
Abdullah Alamoudifba622b2016-05-14 13:01:16 -0700227 <groupId>org.apache.hyracks</groupId>
228 <artifactId>hyracks-test-support</artifactId>
Abdullah Alamoudifba622b2016-05-14 13:01:16 -0700229 <scope>test</scope>
230 </dependency>
231 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700232 <groupId>org.apache.asterix</groupId>
233 <artifactId>asterix-runtime</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400234 <version>${project.version}</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700235 </dependency>
236 <dependency>
237 <groupId>org.apache.hyracks</groupId>
Abdullah Alamoudi973a0d32016-07-22 14:38:56 +0300238 <artifactId>hyracks-hdfs-core</artifactId>
Abdullah Alamoudi973a0d32016-07-22 14:38:56 +0300239 </dependency>
240 <dependency>
241 <groupId>org.apache.asterix</groupId>
242 <artifactId>asterix-common</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400243 <version>${project.version}</version>
Abdullah Alamoudi973a0d32016-07-22 14:38:56 +0300244 </dependency>
245 <dependency>
246 <groupId>org.apache.asterix</groupId>
247 <artifactId>asterix-active</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400248 <version>${project.version}</version>
Abdullah Alamoudi973a0d32016-07-22 14:38:56 +0300249 </dependency>
250 <dependency>
Ian Maxon5226ca82017-01-13 12:19:44 -0800251 <groupId>org.apache.asterix</groupId>
252 <artifactId>asterix-hivecompat</artifactId>
253 <version>${project.version}</version>
254 </dependency>
255 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700256 <groupId>org.twitter4j</groupId>
257 <artifactId>twitter4j-core</artifactId>
258 <version>4.0.3</version>
Ian Maxon5226ca82017-01-13 12:19:44 -0800259 <scope>provided</scope>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700260 </dependency>
261 <dependency>
262 <groupId>org.twitter4j</groupId>
263 <artifactId>twitter4j-stream</artifactId>
264 <version>4.0.3</version>
Ian Maxon5226ca82017-01-13 12:19:44 -0800265 <scope>provided</scope>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700266 </dependency>
267 <dependency>
Till Westmann7d68c672017-07-19 11:14:12 -0700268 <groupId>com.rometools</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700269 <artifactId>rome-fetcher</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700270 </dependency>
271 <dependency>
Till Westmann7d68c672017-07-19 11:14:12 -0700272 <groupId>com.rometools</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700273 <artifactId>rome</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700274 </dependency>
275 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700276 <groupId>org.apache.hive</groupId>
Ian Maxon5226ca82017-01-13 12:19:44 -0800277 <artifactId>hive-serde</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700278 </dependency>
279 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700280 <groupId>com.e-movimento.tinytools</groupId>
281 <artifactId>privilegedaccessor</artifactId>
282 <version>1.2.2</version>
283 <scope>test</scope>
284 </dependency>
285 <dependency>
286 <groupId>com.couchbase.client</groupId>
287 <artifactId>core-io</artifactId>
Abdullah Alamoudi9747c4b2016-08-26 10:45:09 +0300288 <version>1.3.2</version>
Abdullah Alamoudifba622b2016-05-14 13:01:16 -0700289 </dependency>
290 <dependency>
291 <groupId>org.mockito</groupId>
292 <artifactId>mockito-all</artifactId>
293 <version>2.0.2-beta</version>
294 <scope>test</scope>
295 </dependency>
Michael Blow2da62dc2016-06-30 21:18:37 -0400296 <dependency>
297 <groupId>org.apache.hyracks</groupId>
298 <artifactId>hyracks-api</artifactId>
Michael Blow2da62dc2016-06-30 21:18:37 -0400299 <type>test-jar</type>
300 <scope>test</scope>
301 </dependency>
Till Westmann42620f62016-11-23 11:52:24 -0800302 <dependency>
303 <groupId>org.apache.wicket</groupId>
Till Westmann42620f62016-11-23 11:52:24 -0800304 <artifactId>wicket-util</artifactId>
305 <version>1.5.2</version>
306 <scope>test</scope>
307 </dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500308 <dependency>
309 <groupId>commons-io</groupId>
310 <artifactId>commons-io</artifactId>
311 </dependency>
312 <dependency>
313 <groupId>org.apache.hyracks</groupId>
314 <artifactId>hyracks-dataflow-common</artifactId>
315 </dependency>
316 <dependency>
317 <groupId>org.apache.hyracks</groupId>
318 <artifactId>hyracks-storage-am-lsm-btree</artifactId>
319 </dependency>
320 <dependency>
321 <groupId>log4j</groupId>
322 <artifactId>log4j</artifactId>
323 </dependency>
324 <dependency>
325 <groupId>org.apache.hyracks</groupId>
326 <artifactId>algebricks-data</artifactId>
327 </dependency>
328 <dependency>
329 <groupId>org.apache.hyracks</groupId>
330 <artifactId>algebricks-core</artifactId>
331 </dependency>
332 <dependency>
333 <groupId>org.apache.hyracks</groupId>
334 <artifactId>hyracks-storage-am-lsm-rtree</artifactId>
335 </dependency>
336 <dependency>
337 <groupId>org.apache.hyracks</groupId>
338 <artifactId>algebricks-runtime</artifactId>
339 </dependency>
340 <dependency>
341 <groupId>org.apache.hyracks</groupId>
342 <artifactId>hyracks-storage-am-lsm-common</artifactId>
343 </dependency>
344 <dependency>
345 <groupId>org.apache.hyracks</groupId>
346 <artifactId>hyracks-storage-common</artifactId>
347 </dependency>
348 <dependency>
349 <groupId>org.apache.httpcomponents</groupId>
350 <artifactId>httpclient</artifactId>
351 </dependency>
352 <dependency>
353 <groupId>org.apache.hyracks</groupId>
354 <artifactId>hyracks-util</artifactId>
355 </dependency>
356 <dependency>
357 <groupId>org.apache.hyracks</groupId>
358 <artifactId>algebricks-common</artifactId>
359 </dependency>
360 <dependency>
361 <groupId>org.apache.hadoop</groupId>
362 <artifactId>hadoop-common</artifactId>
363 </dependency>
364 <dependency>
365 <groupId>org.apache.hadoop</groupId>
366 <artifactId>hadoop-mapreduce-client-core</artifactId>
367 </dependency>
368 <dependency>
369 <groupId>org.apache.hyracks</groupId>
370 <artifactId>hyracks-storage-am-rtree</artifactId>
371 </dependency>
372 <dependency>
373 <groupId>org.apache.commons</groupId>
374 <artifactId>commons-lang3</artifactId>
375 </dependency>
376 <dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500377 <groupId>junit</groupId>
378 <artifactId>junit</artifactId>
Murtadha Hubaile25df7d2017-09-19 11:17:38 -0700379 <scope>test</scope>
Michael Blow599ef8f2017-01-12 11:02:53 -0500380 </dependency>
381 <dependency>
382 <groupId>org.apache.hyracks</groupId>
383 <artifactId>hyracks-dataflow-std</artifactId>
384 </dependency>
385 <dependency>
386 <groupId>org.apache.hyracks</groupId>
387 <artifactId>hyracks-data-std</artifactId>
388 </dependency>
389 <dependency>
390 <groupId>org.apache.hyracks</groupId>
391 <artifactId>hyracks-storage-am-btree</artifactId>
392 </dependency>
393 <dependency>
394 <groupId>org.apache.hyracks</groupId>
395 <artifactId>hyracks-storage-am-common</artifactId>
396 </dependency>
397 <dependency>
398 <groupId>org.apache.hyracks</groupId>
399 <artifactId>hyracks-api</artifactId>
400 </dependency>
401 <dependency>
402 <groupId>xml-apis</groupId>
403 <artifactId>xml-apis</artifactId>
404 <version>1.4.01</version>
405 </dependency>
406 <dependency>
407 <groupId>com.fasterxml.jackson.core</groupId>
408 <artifactId>jackson-databind</artifactId>
409 </dependency>
Wail Alkowaileet733fba82017-12-07 20:05:35 -0800410 <dependency>
411 <groupId>com.fasterxml.jackson.core</groupId>
412 <artifactId>jackson-core</artifactId>
413 </dependency>
414 <dependency>
415 <groupId>org.apache.commons</groupId>
416 <artifactId>commons-collections4</artifactId>
417 <version>4.1</version>
418 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700419 </dependencies>
Michael Blowf8a882d2016-08-02 01:28:34 -0400420</project>