blob: 566395eac95e7058dd833e1c8b079e59ebfbfa5f [file] [log] [blame]
Till Westmann276bbc22013-06-05 18:56:27 -07001<!--
2 ! Copyright 2009-2013 by The Regents of the University of California
3 ! Licensed under the Apache License, Version 2.0 (the "License");
4 ! you may not use this file except in compliance with the License.
5 ! you may obtain a copy of the License from
6 !
7 ! http://www.apache.org/licenses/LICENSE-2.0
8 !
9 ! Unless required by applicable law or agreed to in writing, software
10 ! distributed under the License is distributed on an "AS IS" BASIS,
11 ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 ! See the License for the specific language governing permissions and
13 ! limitations under the License.
14 !-->
vinayakb4df31102013-04-06 18:28:48 +000015<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">
16 <modelVersion>4.0.0</modelVersion>
17 <groupId>edu.uci.ics.hyracks.examples.compat</groupId>
18 <artifactId>hadoopcompatserver</artifactId>
Vinayak Borkarccfbf412013-04-25 11:40:50 -070019 <version>0.2.6-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +000020 <name>hadoopcompatserver</name>
21
22 <parent>
23 <groupId>edu.uci.ics.hyracks.examples</groupId>
24 <artifactId>hadoop-compat-example</artifactId>
Vinayak Borkarccfbf412013-04-25 11:40:50 -070025 <version>0.2.6-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +000026 </parent>
27
28 <build>
29 <plugins>
30 <plugin>
31 <groupId>org.codehaus.mojo</groupId>
32 <artifactId>appassembler-maven-plugin</artifactId>
33 <version>1.3</version>
34 <executions>
35 <execution>
36 <configuration>
37 <programs>
38 <program>
39 <mainClass>edu.uci.ics.hyracks.control.cc.CCDriver</mainClass>
40 <name>hyrackscc</name>
41 </program>
42 <program>
43 <mainClass>edu.uci.ics.hyracks.control.nc.NCDriver</mainClass>
44 <name>hyracksnc</name>
45 </program>
46 </programs>
47 <repositoryLayout>flat</repositoryLayout>
48 <repositoryName>lib</repositoryName>
49 </configuration>
50 <phase>package</phase>
51 <goals>
52 <goal>assemble</goal>
53 </goals>
54 </execution>
55 </executions>
56 </plugin>
57 <plugin>
58 <artifactId>maven-assembly-plugin</artifactId>
59 <version>2.2-beta-5</version>
60 <executions>
61 <execution>
62 <configuration>
63 <descriptors>
64 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
65 </descriptors>
66 </configuration>
67 <phase>package</phase>
68 <goals>
69 <goal>attached</goal>
70 </goals>
71 </execution>
72 </executions>
73 </plugin>
74 <plugin>
75 <groupId>edu.uci.ics.hyracks</groupId>
76 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
Vinayak Borkarccfbf412013-04-25 11:40:50 -070077 <version>0.2.6-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +000078 <configuration>
79 <hyracksServerHome>${basedir}/target/hadoopcompatserver-${project.version}-binary-assembly</hyracksServerHome>
80 <jvmOptions>${jvm.extraargs}</jvmOptions>
81 </configuration>
82 <executions>
83 <execution>
84 <id>hyracks-cc-start</id>
85 <phase>pre-integration-test</phase>
86 <goals>
87 <goal>start-cc</goal>
88 </goals>
89 </execution>
90 <execution>
91 <id>hyracks-nc1-start</id>
92 <phase>pre-integration-test</phase>
93 <goals>
94 <goal>start-nc</goal>
95 </goals>
96 <configuration>
97 <nodeId>NC1</nodeId>
98 <dataIpAddress>127.0.0.1</dataIpAddress>
99 <ccHost>localhost</ccHost>
100 </configuration>
101 </execution>
102 <execution>
103 <id>hyracks-nc2-start</id>
104 <phase>pre-integration-test</phase>
105 <goals>
106 <goal>start-nc</goal>
107 </goals>
108 <configuration>
109 <nodeId>NC2</nodeId>
110 <dataIpAddress>127.0.0.1</dataIpAddress>
111 <ccHost>localhost</ccHost>
112 </configuration>
113 </execution>
114 <execution>
115 <id>stop-services</id>
116 <phase>post-integration-test</phase>
117 <goals>
118 <goal>stop-services</goal>
119 </goals>
120 </execution>
121 </executions>
122 </plugin>
123 <plugin>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-compiler-plugin</artifactId>
126 <version>2.0.2</version>
127 <configuration>
128 <source>1.6</source>
129 <target>1.6</target>
130 </configuration>
131 </plugin>
132 <plugin>
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-failsafe-plugin</artifactId>
135 <version>2.8.1</version>
136 <executions>
137 <execution>
138 <id>it</id>
139 <phase>integration-test</phase>
140 <goals>
141 <goal>integration-test</goal>
142 </goals>
143 </execution>
144 </executions>
145 </plugin>
146 </plugins>
147 </build>
148 <dependencies>
149 <dependency>
150 <groupId>edu.uci.ics.hyracks.examples.compat</groupId>
151 <artifactId>hadoopcompathelper</artifactId>
Vinayak Borkarccfbf412013-04-25 11:40:50 -0700152 <version>0.2.6-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +0000153 <scope>compile</scope>
154 </dependency>
155 <dependency>
156 <groupId>edu.uci.ics.hyracks</groupId>
157 <artifactId>hyracks-control-cc</artifactId>
Vinayak Borkarccfbf412013-04-25 11:40:50 -0700158 <version>0.2.6-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +0000159 <type>jar</type>
160 <scope>compile</scope>
161 </dependency>
162 <dependency>
163 <groupId>edu.uci.ics.hyracks</groupId>
164 <artifactId>hyracks-control-nc</artifactId>
Vinayak Borkarccfbf412013-04-25 11:40:50 -0700165 <version>0.2.6-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +0000166 <type>jar</type>
167 <scope>compile</scope>
168 </dependency>
169 <dependency>
170 <groupId>edu.uci.ics.hyracks.examples.compat</groupId>
171 <artifactId>hadoopcompatclient</artifactId>
Vinayak Borkarccfbf412013-04-25 11:40:50 -0700172 <version>0.2.6-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +0000173 <type>jar</type>
174 <scope>test</scope>
175 </dependency>
176 <dependency>
177 <groupId>junit</groupId>
178 <artifactId>junit</artifactId>
179 <version>4.8.2</version>
180 <type>jar</type>
181 <scope>test</scope>
182 </dependency>
183 </dependencies>
184</project>