blob: b538db587375b3a6d1db1fc3907585f09690d81a [file] [log] [blame]
vinayakb0c860392012-10-06 18:47:20 +00001<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">
2 <modelVersion>4.0.0</modelVersion>
3 <groupId>edu.uci.ics.hyracks.examples.compat</groupId>
vinayakb16969952012-11-06 11:41:08 +00004 <artifactId>hadoopcompatserver</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +00005 <version>0.2.3-SNAPSHOT</version>
vinayakb16969952012-11-06 11:41:08 +00006 <name>hadoopcompatserver</name>
vinayakb0c860392012-10-06 18:47:20 +00007
8 <parent>
9 <groupId>edu.uci.ics.hyracks.examples</groupId>
10 <artifactId>hadoop-compat-example</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +000011 <version>0.2.3-SNAPSHOT</version>
vinayakb0c860392012-10-06 18:47:20 +000012 </parent>
13
14 <build>
vinayakb0c860392012-10-06 18:47:20 +000015 <plugins>
16 <plugin>
vinayakb16969952012-11-06 11:41:08 +000017 <groupId>org.codehaus.mojo</groupId>
18 <artifactId>appassembler-maven-plugin</artifactId>
19 <version>1.3</version>
vinayakb0c860392012-10-06 18:47:20 +000020 <executions>
21 <execution>
vinayakb16969952012-11-06 11:41:08 +000022 <configuration>
23 <programs>
24 <program>
25 <mainClass>edu.uci.ics.hyracks.control.cc.CCDriver</mainClass>
26 <name>hyrackscc</name>
27 </program>
28 <program>
29 <mainClass>edu.uci.ics.hyracks.control.nc.NCDriver</mainClass>
30 <name>hyracksnc</name>
31 </program>
32 </programs>
33 <repositoryLayout>flat</repositoryLayout>
34 <repositoryName>lib</repositoryName>
35 </configuration>
vinayakb0c860392012-10-06 18:47:20 +000036 <phase>package</phase>
37 <goals>
vinayakb16969952012-11-06 11:41:08 +000038 <goal>assemble</goal>
vinayakb0c860392012-10-06 18:47:20 +000039 </goals>
vinayakb0c860392012-10-06 18:47:20 +000040 </execution>
41 </executions>
42 </plugin>
43 <plugin>
44 <artifactId>maven-assembly-plugin</artifactId>
45 <version>2.2-beta-5</version>
46 <executions>
47 <execution>
48 <configuration>
49 <descriptors>
vinayakb16969952012-11-06 11:41:08 +000050 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
vinayakb0c860392012-10-06 18:47:20 +000051 </descriptors>
52 </configuration>
53 <phase>package</phase>
54 <goals>
55 <goal>attached</goal>
56 </goals>
57 </execution>
58 </executions>
59 </plugin>
60 <plugin>
61 <groupId>edu.uci.ics.hyracks</groupId>
62 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +000063 <version>0.2.3-SNAPSHOT</version>
vinayakb0c860392012-10-06 18:47:20 +000064 <configuration>
vinayakb16969952012-11-06 11:41:08 +000065 <hyracksServerHome>${basedir}/target/hadoopcompatserver-${project.version}-binary-assembly</hyracksServerHome>
vinayakb0c860392012-10-06 18:47:20 +000066 <jvmOptions>${jvm.extraargs}</jvmOptions>
67 </configuration>
68 <executions>
69 <execution>
70 <id>hyracks-cc-start</id>
71 <phase>pre-integration-test</phase>
72 <goals>
73 <goal>start-cc</goal>
74 </goals>
vinayakb0c860392012-10-06 18:47:20 +000075 </execution>
76 <execution>
77 <id>hyracks-nc1-start</id>
78 <phase>pre-integration-test</phase>
79 <goals>
80 <goal>start-nc</goal>
81 </goals>
82 <configuration>
83 <nodeId>NC1</nodeId>
84 <dataIpAddress>127.0.0.1</dataIpAddress>
85 <ccHost>localhost</ccHost>
vinayakb0c860392012-10-06 18:47:20 +000086 </configuration>
87 </execution>
88 <execution>
89 <id>hyracks-nc2-start</id>
90 <phase>pre-integration-test</phase>
91 <goals>
92 <goal>start-nc</goal>
93 </goals>
94 <configuration>
95 <nodeId>NC2</nodeId>
96 <dataIpAddress>127.0.0.1</dataIpAddress>
97 <ccHost>localhost</ccHost>
vinayakb0c860392012-10-06 18:47:20 +000098 </configuration>
99 </execution>
100 <execution>
vinayakb16969952012-11-06 11:41:08 +0000101 <id>stop-services</id>
102 <phase>post-integration-test</phase>
vinayakb0c860392012-10-06 18:47:20 +0000103 <goals>
vinayakb16969952012-11-06 11:41:08 +0000104 <goal>stop-services</goal>
vinayakb0c860392012-10-06 18:47:20 +0000105 </goals>
vinayakb0c860392012-10-06 18:47:20 +0000106 </execution>
vinayakb16969952012-11-06 11:41:08 +0000107 </executions>
vinayakb0c860392012-10-06 18:47:20 +0000108 </plugin>
109 <plugin>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-compiler-plugin</artifactId>
112 <version>2.0.2</version>
113 <configuration>
114 <source>1.6</source>
115 <target>1.6</target>
116 </configuration>
117 </plugin>
118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-failsafe-plugin</artifactId>
121 <version>2.8.1</version>
122 <executions>
123 <execution>
124 <id>it</id>
125 <phase>integration-test</phase>
126 <goals>
127 <goal>integration-test</goal>
128 </goals>
129 </execution>
130 </executions>
131 </plugin>
132 </plugins>
133 </build>
134 <dependencies>
135 <dependency>
136 <groupId>edu.uci.ics.hyracks.examples.compat</groupId>
137 <artifactId>hadoopcompathelper</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000138 <version>0.2.3-SNAPSHOT</version>
vinayakb0c860392012-10-06 18:47:20 +0000139 <scope>compile</scope>
140 </dependency>
vinayakb16969952012-11-06 11:41:08 +0000141 <dependency>
142 <groupId>edu.uci.ics.hyracks</groupId>
143 <artifactId>hyracks-control-cc</artifactId>
144 <version>0.2.3-SNAPSHOT</version>
145 <type>jar</type>
146 <scope>compile</scope>
147 </dependency>
148 <dependency>
149 <groupId>edu.uci.ics.hyracks</groupId>
150 <artifactId>hyracks-control-nc</artifactId>
151 <version>0.2.3-SNAPSHOT</version>
152 <type>jar</type>
153 <scope>compile</scope>
154 </dependency>
vinayakb0c860392012-10-06 18:47:20 +0000155 <dependency>
156 <groupId>edu.uci.ics.hyracks.examples.compat</groupId>
157 <artifactId>hadoopcompatclient</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000158 <version>0.2.3-SNAPSHOT</version>
vinayakb0c860392012-10-06 18:47:20 +0000159 <type>jar</type>
160 <scope>test</scope>
161 </dependency>
162 <dependency>
163 <groupId>junit</groupId>
164 <artifactId>junit</artifactId>
165 <version>4.8.2</version>
166 <type>jar</type>
167 <scope>test</scope>
168 </dependency>
169 </dependencies>
170</project>