blob: 4cf974501e2aba07c76118e0dd6d95a23570d0b1 [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>
4 <artifactId>hadoopcompatapp</artifactId>
buyingyi8d79d162012-10-22 23:04:47 +00005 <name>hadoopcompatapp</name>
vinayakb0c860392012-10-06 18:47:20 +00006
7 <parent>
8 <groupId>edu.uci.ics.hyracks.examples</groupId>
9 <artifactId>hadoop-compat-example</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +000010 <version>0.2.3-SNAPSHOT</version>
vinayakb0c860392012-10-06 18:47:20 +000011 </parent>
12
13 <build>
14 <pluginManagement>
15 <plugins>
16 <plugin>
17 <groupId>org.eclipse.m2e</groupId>
18 <artifactId>lifecycle-mapping</artifactId>
19 <version>1.0.0</version>
20 <configuration>
21 <lifecycleMappingMetadata>
22 <pluginExecutions>
23 <pluginExecution>
24 <pluginExecutionFilter>
25 <groupId>org.apache.maven.plugins</groupId>
26 <artifactId>maven-dependency-plugin</artifactId>
27 <versionRange>[1.0.0,)</versionRange>
28 <goals>
29 <goal>copy-dependencies</goal>
30 </goals>
31 </pluginExecutionFilter>
32 <action>
33 <ignore />
34 </action>
35 </pluginExecution>
36 </pluginExecutions>
37 </lifecycleMappingMetadata>
38 </configuration>
39 </plugin>
40 </plugins>
41 </pluginManagement>
42
43 <plugins>
44 <plugin>
45 <groupId>org.apache.maven.plugins</groupId>
46 <artifactId>maven-dependency-plugin</artifactId>
47 <executions>
48 <execution>
49 <id>copy-dependencies</id>
50 <phase>package</phase>
51 <goals>
52 <goal>copy-dependencies</goal>
53 </goals>
54 <configuration>
55 <outputDirectory>target/application/lib</outputDirectory>
56 </configuration>
57 </execution>
58 </executions>
59 </plugin>
60 <plugin>
61 <artifactId>maven-assembly-plugin</artifactId>
62 <version>2.2-beta-5</version>
63 <executions>
64 <execution>
65 <configuration>
66 <descriptors>
67 <descriptor>src/main/assembly/app-assembly.xml</descriptor>
68 </descriptors>
69 </configuration>
70 <phase>package</phase>
71 <goals>
72 <goal>attached</goal>
73 </goals>
74 </execution>
75 </executions>
76 </plugin>
77 <plugin>
78 <groupId>edu.uci.ics.hyracks</groupId>
79 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +000080 <version>0.2.3-SNAPSHOT</version>
vinayakb0c860392012-10-06 18:47:20 +000081 <configuration>
82 <hyracksServerHome>${basedir}/../../../hyracks-server/target/hyracks-server-${project.version}-binary-assembly</hyracksServerHome>
83 <hyracksCLIHome>${basedir}/../../../hyracks-cli/target/hyracks-cli-${project.version}-binary-assembly</hyracksCLIHome>
84 <jvmOptions>${jvm.extraargs}</jvmOptions>
85 </configuration>
86 <executions>
87 <execution>
88 <id>hyracks-cc-start</id>
89 <phase>pre-integration-test</phase>
90 <goals>
91 <goal>start-cc</goal>
92 </goals>
93 <configuration>
94 <workingDir>${project.build.directory}</workingDir>
95 </configuration>
96 </execution>
97 <execution>
98 <id>hyracks-nc1-start</id>
99 <phase>pre-integration-test</phase>
100 <goals>
101 <goal>start-nc</goal>
102 </goals>
103 <configuration>
104 <nodeId>NC1</nodeId>
105 <dataIpAddress>127.0.0.1</dataIpAddress>
106 <ccHost>localhost</ccHost>
107 <workingDir>${project.build.directory}</workingDir>
108 </configuration>
109 </execution>
110 <execution>
111 <id>hyracks-nc2-start</id>
112 <phase>pre-integration-test</phase>
113 <goals>
114 <goal>start-nc</goal>
115 </goals>
116 <configuration>
117 <nodeId>NC2</nodeId>
118 <dataIpAddress>127.0.0.1</dataIpAddress>
119 <ccHost>localhost</ccHost>
120 <workingDir>${project.build.directory}</workingDir>
121 </configuration>
122 </execution>
123 <execution>
124 <id>deploy-app</id>
125 <phase>pre-integration-test</phase>
126 <goals>
127 <goal>deploy-app</goal>
128 </goals>
129 <configuration>
130 <ccHost>localhost</ccHost>
131 <appName>compat</appName>
132 <harFile>${project.build.directory}/hadoopcompatapp-${project.version}-app-assembly.zip</harFile>
133 </configuration>
134 </execution>
135 <execution>
136 <id>stop-services</id>
137 <phase>post-integration-test</phase>
138 <goals>
139 <goal>stop-services</goal>
140 </goals>
141 </execution>
142 </executions>
143 </plugin>
144 <plugin>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-compiler-plugin</artifactId>
147 <version>2.0.2</version>
148 <configuration>
buyingyi55df5212013-03-24 07:20:08 +0000149 <source>1.7</source>
150 <target>1.7</target>
151 <fork>true</fork>
vinayakb0c860392012-10-06 18:47:20 +0000152 </configuration>
153 </plugin>
154 <plugin>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-failsafe-plugin</artifactId>
157 <version>2.8.1</version>
158 <executions>
159 <execution>
160 <id>it</id>
161 <phase>integration-test</phase>
162 <goals>
163 <goal>integration-test</goal>
164 </goals>
165 </execution>
166 </executions>
167 </plugin>
168 </plugins>
169 </build>
170 <dependencies>
171 <dependency>
172 <groupId>edu.uci.ics.hyracks.examples.compat</groupId>
173 <artifactId>hadoopcompathelper</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000174 <version>0.2.3-SNAPSHOT</version>
vinayakb0c860392012-10-06 18:47:20 +0000175 <scope>compile</scope>
176 </dependency>
177 <dependency>
178 <groupId>edu.uci.ics.hyracks.examples.compat</groupId>
179 <artifactId>hadoopcompatclient</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000180 <version>0.2.3-SNAPSHOT</version>
vinayakb0c860392012-10-06 18:47:20 +0000181 <type>jar</type>
182 <scope>test</scope>
183 </dependency>
184 <dependency>
185 <groupId>junit</groupId>
186 <artifactId>junit</artifactId>
187 <version>4.8.2</version>
188 <type>jar</type>
189 <scope>test</scope>
190 </dependency>
191 </dependencies>
192</project>