blob: b03358dcf4271aed9a845ef34f72d47354b05add [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>
Ian Maxone915e8c2015-07-01 17:03:31 -070017 <groupId>org.apache.hyracks.examples.compat</groupId>
vinayakb4df31102013-04-06 18:28:48 +000018 <artifactId>hadoopcompatserver</artifactId>
Ian Maxon1b4d08e2015-09-08 12:21:29 -070019 <version>0.2.16-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +000020 <name>hadoopcompatserver</name>
21
22 <parent>
Ian Maxone915e8c2015-07-01 17:03:31 -070023 <groupId>org.apache.hyracks.examples</groupId>
vinayakb4df31102013-04-06 18:28:48 +000024 <artifactId>hadoop-compat-example</artifactId>
Ian Maxon1b4d08e2015-09-08 12:21:29 -070025 <version>0.2.16-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>
Ian Maxone915e8c2015-07-01 17:03:31 -070039 <mainClass>org.apache.hyracks.control.cc.CCDriver</mainClass>
vinayakb4df31102013-04-06 18:28:48 +000040 <name>hyrackscc</name>
41 </program>
42 <program>
Ian Maxone915e8c2015-07-01 17:03:31 -070043 <mainClass>org.apache.hyracks.control.nc.NCDriver</mainClass>
vinayakb4df31102013-04-06 18:28:48 +000044 <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>
Ian Maxone915e8c2015-07-01 17:03:31 -070075 <groupId>org.apache.hyracks</groupId>
vinayakb4df31102013-04-06 18:28:48 +000076 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
Ian Maxon1b4d08e2015-09-08 12:21:29 -070077 <version>0.2.16-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>
Ian Maxone915e8c2015-07-01 17:03:31 -0700150 <groupId>org.apache.hyracks.examples.compat</groupId>
vinayakb4df31102013-04-06 18:28:48 +0000151 <artifactId>hadoopcompathelper</artifactId>
Ian Maxon1b4d08e2015-09-08 12:21:29 -0700152 <version>0.2.16-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +0000153 <scope>compile</scope>
154 </dependency>
155 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700156 <groupId>org.apache.hyracks</groupId>
vinayakb4df31102013-04-06 18:28:48 +0000157 <artifactId>hyracks-control-cc</artifactId>
Ian Maxon1b4d08e2015-09-08 12:21:29 -0700158 <version>0.2.16-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +0000159 <type>jar</type>
160 <scope>compile</scope>
161 </dependency>
162 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700163 <groupId>org.apache.hyracks</groupId>
vinayakb4df31102013-04-06 18:28:48 +0000164 <artifactId>hyracks-control-nc</artifactId>
Ian Maxon1b4d08e2015-09-08 12:21:29 -0700165 <version>0.2.16-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +0000166 <type>jar</type>
167 <scope>compile</scope>
168 </dependency>
169 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700170 <groupId>org.apache.hyracks.examples.compat</groupId>
vinayakb4df31102013-04-06 18:28:48 +0000171 <artifactId>hadoopcompatclient</artifactId>
Ian Maxon1b4d08e2015-09-08 12:21:29 -0700172 <version>0.2.16-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +0000173 <type>jar</type>
174 <scope>test</scope>
175 </dependency>
vinayakb4df31102013-04-06 18:28:48 +0000176 </dependencies>
177</project>