blob: 08a3d810ccf660babf6fdf908022e9220c3213d4 [file] [log] [blame]
Michael Blow2da62dc2016-06-30 21:18:37 -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 !-->
Ian Maxond2e1e892015-10-05 12:46:26 -070019<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>
24 <version>0.8.9-SNAPSHOT</version>
25 </parent>
26 <artifactId>asterix-app</artifactId>
27 <licenses>
28 <license>
29 <name>Apache License, Version 2.0</name>
30 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
31 <distribution>repo</distribution>
32 <comments>A business-friendly OSS license</comments>
33 </license>
34 </licenses>
Preston Carmanc66d23a2015-07-08 23:44:13 -070035
Michael Blowb4c1fb02016-05-09 15:41:00 -070036 <properties>
37 <appendedResourcesDirectory>${basedir}/src/main/appended-resources</appendedResourcesDirectory>
Michael Blow98526fe2016-08-22 19:54:07 -040038 <sonar.sources>pom.xml,src/main/java,src/main/resources</sonar.sources>
Michael Blowb4c1fb02016-05-09 15:41:00 -070039 </properties>
Ian Maxon6e5f18e2015-11-24 18:02:48 -080040
Michael Blowb4c1fb02016-05-09 15:41:00 -070041 <build>
42 <plugins>
43 <plugin>
44 <groupId>org.apache.maven.plugins</groupId>
45 <artifactId>maven-jar-plugin</artifactId>
46 <executions>
47 <execution>
48 <goals>
49 <goal>jar</goal>
50 <goal>test-jar</goal>
51 </goals>
52 </execution>
53 </executions>
54 </plugin>
55 <plugin>
Michael Blowa98d0de2016-05-11 16:22:52 -070056 <groupId>pl.project13.maven</groupId>
57 <artifactId>git-commit-id-plugin</artifactId>
58 <version>2.2.0</version>
59 <executions>
60 <execution>
61 <goals>
62 <goal>revision</goal>
63 </goals>
64 </execution>
65 </executions>
66
67 <configuration>
68 <!--
69 If you'd like to tell the plugin where your .git directory is,
70 use this setting, otherwise we'll perform a search trying to
71 figure out the right directory. It's better to add it explicite IMHO.
72 -->
73 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
74 <!-- this is false by default, forces the plugin to generate the git.properties file -->
75 <generateGitPropertiesFile>true</generateGitPropertiesFile>
76
77 <!-- The path for the to be generated properties file, it's relative to ${project.basedir} -->
78 <generateGitPropertiesFilename>./target/classes/git.properties</generateGitPropertiesFilename>
79 </configuration>
80
81 </plugin>
82 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -070083 <artifactId>maven-resources-plugin</artifactId>
84 <executions>
85 <execution>
86 <id>copy-external-library</id>
87 <phase>generate-resources</phase>
88 <goals>
89 <goal>copy-resources</goal>
90 </goals>
91 <configuration>
92 <outputDirectory>src/test/resources/externallib</outputDirectory>
93 <overwrite>true</overwrite>
94 <resources>
95 <resource>
96 <directory>../asterix-external-data/target</directory>
97 <includes>
98 <include>testlib-zip-binary-assembly.zip</include>
99 </includes>
100 </resource>
101 </resources>
102 </configuration>
103 </execution>
104 <execution>
105 <id>copy-beer-csv</id>
106 <phase>generate-resources</phase>
107 <goals>
108 <goal>copy-resources</goal>
109 </goals>
110 <configuration>
111 <outputDirectory>target/data/csv</outputDirectory>
112 <overwrite>true</overwrite>
113 <resources>
114 <resource>
115 <directory>../asterix-external-data/src/test/resources</directory>
116 <includes>
117 <include>beer.csv</include>
118 </includes>
119 </resource>
120 </resources>
121 </configuration>
122 </execution>
123 </executions>
124 </plugin>
Michael Blowe5bff312016-05-16 17:51:02 -0700125 <plugin>
126 <groupId>org.apache.asterix</groupId>
127 <artifactId>asterix-test-datagenerator-maven-plugin</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400128 <version>${project.version}</version>
Michael Blowe5bff312016-05-16 17:51:02 -0700129 <executions>
130 <execution>
131 <id>replace-template-data</id>
132 <phase>process-test-resources</phase>
133 <goals>
134 <goal>generate-testdata</goal>
135 </goals>
136 <configuration>
137 <inputFiles>
138 <directory>data</directory>
139 <includes>
140 <include>**/*.template</include>
141 </includes>
142 </inputFiles>
143 <outputDir>target/data</outputDir>
144 </configuration>
145 </execution>
146 </executions>
147 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700148 </plugins>
Abdullah Alamoudie6e54f32016-07-12 20:40:15 +0400149 <pluginManagement>
150 <plugins>
151 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
152 <plugin>
153 <groupId>org.eclipse.m2e</groupId>
154 <artifactId>lifecycle-mapping</artifactId>
155 <version>1.0.0</version>
156 <configuration>
157 <lifecycleMappingMetadata>
158 <pluginExecutions>
159 <pluginExecution>
160 <pluginExecutionFilter>
161 <groupId>org.apache.asterix</groupId>
162 <artifactId>asterix-test-datagenerator-maven-plugin</artifactId>
163 <versionRange>[0.8.9-SNAPSHOT,)</versionRange>
164 <goals>
165 <goal>generate-testdata</goal>
166 </goals>
167 </pluginExecutionFilter>
168 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400169 <ignore />
Abdullah Alamoudie6e54f32016-07-12 20:40:15 +0400170 </action>
171 </pluginExecution>
172 </pluginExecutions>
173 </lifecycleMappingMetadata>
174 </configuration>
175 </plugin>
176 </plugins>
177 </pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700178 </build>
179 <dependencies>
180 <dependency>
181 <groupId>javax.servlet</groupId>
Michael Blow29c1f1d2016-08-04 23:10:49 -0400182 <artifactId>javax.servlet-api</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700183 <type>jar</type>
184 </dependency>
185 <dependency>
186 <groupId>org.eclipse.jetty</groupId>
187 <artifactId>jetty-server</artifactId>
Michael Blow29c1f1d2016-08-04 23:10:49 -0400188 <version>9.3.11.v20160721</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700189 <type>jar</type>
190 <scope>compile</scope>
191 </dependency>
192 <dependency>
193 <groupId>org.eclipse.jetty</groupId>
194 <artifactId>jetty-servlet</artifactId>
Michael Blow29c1f1d2016-08-04 23:10:49 -0400195 <version>9.3.11.v20160721</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700196 <type>jar</type>
197 <scope>compile</scope>
198 </dependency>
199 <dependency>
200 <groupId>org.apache.hyracks</groupId>
201 <artifactId>hyracks-control-cc</artifactId>
202 </dependency>
203 <dependency>
204 <groupId>org.apache.hyracks</groupId>
205 <artifactId>hyracks-control-nc</artifactId>
206 </dependency>
207 <dependency>
208 <groupId>org.apache.hyracks</groupId>
209 <artifactId>algebricks-compiler</artifactId>
210 </dependency>
211 <dependency>
212 <groupId>org.apache.hyracks</groupId>
213 <artifactId>hyracks-client</artifactId>
214 </dependency>
215 <dependency>
Chris Hillery5ba58de2016-05-09 19:44:06 -0700216 <groupId>org.apache.hyracks</groupId>
217 <artifactId>hyracks-api</artifactId>
218 </dependency>
219 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700220 <groupId>org.apache.asterix</groupId>
221 <artifactId>asterix-algebra</artifactId>
222 <version>${project.version}</version>
223 <scope>compile</scope>
224 </dependency>
225 <dependency>
226 <groupId>org.apache.asterix</groupId>
227 <artifactId>asterix-om</artifactId>
228 <version>${project.version}</version>
229 <type>jar</type>
230 <scope>compile</scope>
231 </dependency>
232 <dependency>
233 <groupId>org.apache.asterix</groupId>
234 <artifactId>asterix-metadata</artifactId>
235 <version>${project.version}</version>
236 <type>jar</type>
237 <scope>compile</scope>
238 </dependency>
239 <dependency>
240 <groupId>org.apache.asterix</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700241 <artifactId>asterix-common</artifactId>
242 <version>${project.version}</version>
243 <type>jar</type>
244 <scope>compile</scope>
245 </dependency>
246 <dependency>
247 <groupId>org.apache.asterix</groupId>
248 <artifactId>asterix-common</artifactId>
249 <version>${project.version}</version>
250 <type>test-jar</type>
251 <scope>test</scope>
252 </dependency>
253 <dependency>
254 <groupId>org.apache.asterix</groupId>
Michael Blow88485b42016-06-02 14:21:29 -0400255 <artifactId>asterix-external-data</artifactId>
256 <version>${project.version}</version>
257 <type>test-jar</type>
258 <scope>test</scope>
259 </dependency>
260 <dependency>
261 <groupId>org.apache.asterix</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700262 <artifactId>asterix-transactions</artifactId>
263 <version>${project.version}</version>
264 <scope>compile</scope>
265 </dependency>
266 <dependency>
267 <groupId>org.apache.hadoop</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700268 <artifactId>hadoop-hdfs</artifactId>
269 <type>jar</type>
Michael Blowd7f4f042016-05-17 17:51:45 -0700270 <scope>provided</scope>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700271 </dependency>
272 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700273 <groupId>org.apache.asterix</groupId>
274 <artifactId>asterix-test-framework</artifactId>
275 <version>${project.version}</version>
276 <scope>test</scope>
277 </dependency>
278 <dependency>
279 <groupId>org.mockito</groupId>
280 <artifactId>mockito-all</artifactId>
281 <version>1.10.19</version>
282 <scope>test</scope>
283 </dependency>
284 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700285 <groupId>org.apache.asterix</groupId>
286 <artifactId>asterix-replication</artifactId>
287 <version>${project.version}</version>
288 <scope>compile</scope>
289 </dependency>
290 <dependency>
291 <groupId>org.apache.asterix</groupId>
292 <artifactId>asterix-external-data</artifactId>
293 <version>${project.version}</version>
294 </dependency>
Abdullah Alamoudif04ba062016-05-22 23:43:39 -0700295 <dependency>
Michael Blow2da62dc2016-06-30 21:18:37 -0400296 <groupId>org.apache.hyracks</groupId>
297 <artifactId>hyracks-test-support</artifactId>
Michael Blow2da62dc2016-06-30 21:18:37 -0400298 <scope>test</scope>
299 </dependency>
300 <dependency>
301 <groupId>org.apache.hyracks</groupId>
302 <artifactId>hyracks-api</artifactId>
Michael Blow2da62dc2016-06-30 21:18:37 -0400303 <type>test-jar</type>
304 <scope>test</scope>
Abdullah Alamoudif04ba062016-05-22 23:43:39 -0700305 </dependency>
Michael Blow5ab717c2016-10-05 11:53:37 -0400306 <dependency>
307 <groupId>org.apache.hyracks</groupId>
308 <artifactId>hyracks-hdfs-2.x</artifactId>
309 <version>0.2.18-SNAPSHOT</version>
310 <type>test-jar</type>
311 <scope>test</scope>
312 </dependency>
313 <dependency>
314 <groupId>org.apache.hadoop</groupId>
315 <artifactId>hadoop-minicluster</artifactId>
316 <version>${hadoop.version}</version>
317 <type>jar</type>
318 <scope>test</scope>
319 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700320 </dependencies>
vinayakb38b7ca42012-03-05 05:44:15 +0000321</project>