blob: f22049b2b2eb0967f4364b70bbed44abd5de3bcd [file] [log] [blame]
Till Westmannea8ab392013-06-05 15:17:08 -07001<!--
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.
Till Westmannea8ab392013-06-05 15:17:08 -070018 !-->
vinayakb5ee049d2013-04-06 21:21:29 +000019<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/maven-v4_0_0.xsd">
20 <modelVersion>4.0.0</modelVersion>
21 <artifactId>asterix-server</artifactId>
22 <name>asterix-server</name>
23 <parent>
Ian Maxonf18bba22015-08-21 12:35:14 -070024 <groupId>org.apache.asterix</groupId>
Ian Maxonab556d12016-02-02 18:18:05 -080025 <artifactId>apache-asterixdb</artifactId>
Ian Maxonc1889c02016-02-10 15:26:24 -080026 <version>0.8.9-SNAPSHOT</version>
vinayakb5ee049d2013-04-06 21:21:29 +000027 </parent>
28
Ian4a816dc2014-11-26 15:46:32 -080029 <licenses>
30 <license>
31 <name>Apache License, Version 2.0</name>
32 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
33 <distribution>repo</distribution>
34 <comments>A business-friendly OSS license</comments>
35 </license>
36 </licenses>
37
Ian Maxon6e5f18e2015-11-24 18:02:48 -080038 <properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -070039 <appendedResourcesDirectory>${basedir}/../src/main/appended-resources</appendedResourcesDirectory>
Ian Maxon6e5f18e2015-11-24 18:02:48 -080040 </properties>
41
vinayakb5ee049d2013-04-06 21:21:29 +000042 <build>
43 <plugins>
44 <plugin>
45 <groupId>org.codehaus.mojo</groupId>
46 <artifactId>appassembler-maven-plugin</artifactId>
47 <version>1.3</version>
zheilbron01b0b632013-06-20 17:46:30 -070048 <configuration>
49 <assembleDirectory>
zheilbron156149b2013-06-24 11:48:25 -070050 ${project.build.directory}/appassembler
zheilbron01b0b632013-06-20 17:46:30 -070051 </assembleDirectory>
zheilbron156149b2013-06-24 11:48:25 -070052 <repositoryLayout>flat</repositoryLayout>
Chris Hillerydb831a42016-04-07 18:02:46 -070053 <useWildcardClassPath>true</useWildcardClassPath>
zheilbron156149b2013-06-24 11:48:25 -070054 <programs>
55 <program>
56 <platforms>
57 <platform>unix</platform>
58 </platforms>
59 <name>asterixcc</name>
Ian Maxonf18bba22015-08-21 12:35:14 -070060 <mainClass>org.apache.hyracks.control.cc.CCDriver</mainClass>
zheilbron156149b2013-06-24 11:48:25 -070061 <commandLineArguments>
Michael Blowb4c1fb02016-05-09 15:41:00 -070062 <commandLineArgument>-app-cc-main-class</commandLineArgument>
63 <commandLineArgument>org.apache.asterix.hyracks.bootstrap.CCApplicationEntryPoint</commandLineArgument>
zheilbron156149b2013-06-24 11:48:25 -070064 </commandLineArguments>
65 </program>
66 <program>
67 <platforms>
68 <platform>unix</platform>
69 </platforms>
70 <name>asterixnc</name>
Ian Maxonf18bba22015-08-21 12:35:14 -070071 <mainClass>org.apache.hyracks.control.nc.NCDriver</mainClass>
zheilbron156149b2013-06-24 11:48:25 -070072 <commandLineArguments>
73 <commandLineArgument>-app-nc-main-class</commandLineArgument>
Ian Maxonf18bba22015-08-21 12:35:14 -070074 <commandLineArgument>org.apache.asterix.hyracks.bootstrap.NCApplicationEntryPoint</commandLineArgument>
zheilbron156149b2013-06-24 11:48:25 -070075 </commandLineArguments>
76 </program>
Chris Hillery5ba58de2016-05-09 19:44:06 -070077 <program>
78 <platforms>
79 <platform>unix</platform>
80 </platforms>
81 <name>asterixncservice</name>
82 <mainClass>org.apache.hyracks.control.nc.service.NCService</mainClass>
83 </program>
zheilbron156149b2013-06-24 11:48:25 -070084 </programs>
zheilbron01b0b632013-06-20 17:46:30 -070085 <daemons>
86 <daemon>
87 <id>asterixcc</id>
Ian Maxonf18bba22015-08-21 12:35:14 -070088 <mainClass>org.apache.hyracks.control.cc.CCDriver</mainClass>
zheilbron01b0b632013-06-20 17:46:30 -070089 <platforms>
Michael Blowb4c1fb02016-05-09 15:41:00 -070090 <platform>booter-windows</platform>
zheilbron01b0b632013-06-20 17:46:30 -070091 </platforms>
92 <commandLineArguments>
Michael Blowb4c1fb02016-05-09 15:41:00 -070093 <commandLineArgument>-app-cc-main-class</commandLineArgument>
94 <commandLineArgument>org.apache.asterix.hyracks.bootstrap.CCApplicationEntryPoint</commandLineArgument>
zheilbron01b0b632013-06-20 17:46:30 -070095 </commandLineArguments>
96 </daemon>
97 <daemon>
98 <id>asterixnc</id>
Ian Maxonf18bba22015-08-21 12:35:14 -070099 <mainClass>org.apache.hyracks.control.nc.NCDriver</mainClass>
zheilbron01b0b632013-06-20 17:46:30 -0700100 <platforms>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700101 <platform>booter-windows</platform>
zheilbron01b0b632013-06-20 17:46:30 -0700102 </platforms>
103 <commandLineArguments>
104 <commandLineArgument>-app-nc-main-class</commandLineArgument>
Ian Maxonf18bba22015-08-21 12:35:14 -0700105 <commandLineArgument>org.apache.asterix.hyracks.bootstrap.NCApplicationEntryPoint</commandLineArgument>
zheilbron01b0b632013-06-20 17:46:30 -0700106 </commandLineArguments>
107 </daemon>
108 </daemons>
109 </configuration>
vinayakb5ee049d2013-04-06 21:21:29 +0000110 <executions>
111 <execution>
vinayakb5ee049d2013-04-06 21:21:29 +0000112 <goals>
zheilbron156149b2013-06-24 11:48:25 -0700113 <goal>assemble</goal>
zheilbron01b0b632013-06-20 17:46:30 -0700114 <goal>generate-daemons</goal>
115 <goal>create-repository</goal>
vinayakb5ee049d2013-04-06 21:21:29 +0000116 </goals>
117 </execution>
118 </executions>
119 </plugin>
120 <plugin>
121 <artifactId>maven-assembly-plugin</artifactId>
122 <version>2.2-beta-5</version>
123 <executions>
124 <execution>
125 <configuration>
126 <descriptors>
127 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
128 </descriptors>
129 </configuration>
130 <phase>package</phase>
131 <goals>
132 <goal>attached</goal>
133 </goals>
134 </execution>
135 </executions>
136 </plugin>
137 </plugins>
138 </build>
Chris Hillerydb831a42016-04-07 18:02:46 -0700139 <profiles>
140 <profile>
141 <id>opt-modules</id>
142 <activation>
143 <file>
144 <exists>../asterix-opt/pom.xml</exists>
145 </file>
146 </activation>
147 <dependencies>
148 <dependency>
149 <groupId>org.apache.asterix</groupId>
150 <artifactId>asterix-opt-bom</artifactId>
151 <version>0.1-SNAPSHOT</version>
152 <type>pom</type>
153 </dependency>
154 </dependencies>
155 </profile>
156 </profiles>
vinayakb5ee049d2013-04-06 21:21:29 +0000157 <dependencies>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700158 <dependency>
159 <groupId>org.apache.hyracks</groupId>
160 <artifactId>hyracks-control-cc</artifactId>
161 <type>jar</type>
162 <scope>compile</scope>
163 </dependency>
164 <dependency>
165 <groupId>org.apache.hyracks</groupId>
166 <artifactId>hyracks-control-nc</artifactId>
167 <type>jar</type>
168 <scope>compile</scope>
169 </dependency>
170 <dependency>
Chris Hillery5ba58de2016-05-09 19:44:06 -0700171 <groupId>org.apache.hyracks</groupId>
172 <artifactId>hyracks-nc-service</artifactId>
173 <type>jar</type>
174 <scope>compile</scope>
175 </dependency>
176 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700177 <groupId>org.apache.asterix</groupId>
178 <artifactId>asterix-app</artifactId>
179 <version>0.8.9-SNAPSHOT</version>
180 </dependency>
181 <dependency>
182 <groupId>org.codehaus.mojo.appassembler</groupId>
183 <artifactId>appassembler-booter</artifactId>
184 <version>1.3.1</version>
185 </dependency>
vinayakb5ee049d2013-04-06 21:21:29 +0000186 </dependencies>
Ian4a816dc2014-11-26 15:46:32 -0800187</project>