blob: cee730e98e94b596df1b6b94a1c410623769d6a0 [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>
5 <version>0.2.2-SNAPSHOT</version>
buyingyi8d79d162012-10-22 23:04:47 +00006 <name>hadoopcompatapp</name>
vinayakb0c860392012-10-06 18:47:20 +00007
8 <parent>
9 <groupId>edu.uci.ics.hyracks.examples</groupId>
10 <artifactId>hadoop-compat-example</artifactId>
11 <version>0.2.2-SNAPSHOT</version>
12 </parent>
13
14 <build>
15 <pluginManagement>
16 <plugins>
17 <plugin>
18 <groupId>org.eclipse.m2e</groupId>
19 <artifactId>lifecycle-mapping</artifactId>
20 <version>1.0.0</version>
21 <configuration>
22 <lifecycleMappingMetadata>
23 <pluginExecutions>
24 <pluginExecution>
25 <pluginExecutionFilter>
26 <groupId>org.apache.maven.plugins</groupId>
27 <artifactId>maven-dependency-plugin</artifactId>
28 <versionRange>[1.0.0,)</versionRange>
29 <goals>
30 <goal>copy-dependencies</goal>
31 </goals>
32 </pluginExecutionFilter>
33 <action>
34 <ignore />
35 </action>
36 </pluginExecution>
37 </pluginExecutions>
38 </lifecycleMappingMetadata>
39 </configuration>
40 </plugin>
41 </plugins>
42 </pluginManagement>
43
44 <plugins>
45 <plugin>
46 <groupId>org.apache.maven.plugins</groupId>
47 <artifactId>maven-dependency-plugin</artifactId>
48 <executions>
49 <execution>
50 <id>copy-dependencies</id>
51 <phase>package</phase>
52 <goals>
53 <goal>copy-dependencies</goal>
54 </goals>
55 <configuration>
56 <outputDirectory>target/application/lib</outputDirectory>
57 </configuration>
58 </execution>
59 </executions>
60 </plugin>
61 <plugin>
62 <artifactId>maven-assembly-plugin</artifactId>
63 <version>2.2-beta-5</version>
64 <executions>
65 <execution>
66 <configuration>
67 <descriptors>
68 <descriptor>src/main/assembly/app-assembly.xml</descriptor>
69 </descriptors>
70 </configuration>
71 <phase>package</phase>
72 <goals>
73 <goal>attached</goal>
74 </goals>
75 </execution>
76 </executions>
77 </plugin>
78 <plugin>
79 <groupId>edu.uci.ics.hyracks</groupId>
80 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
81 <version>0.2.2-SNAPSHOT</version>
82 <configuration>
83 <hyracksServerHome>${basedir}/../../../hyracks-server/target/hyracks-server-${project.version}-binary-assembly</hyracksServerHome>
84 <hyracksCLIHome>${basedir}/../../../hyracks-cli/target/hyracks-cli-${project.version}-binary-assembly</hyracksCLIHome>
85 <jvmOptions>${jvm.extraargs}</jvmOptions>
86 </configuration>
87 <executions>
88 <execution>
89 <id>hyracks-cc-start</id>
90 <phase>pre-integration-test</phase>
91 <goals>
92 <goal>start-cc</goal>
93 </goals>
94 <configuration>
95 <workingDir>${project.build.directory}</workingDir>
96 </configuration>
97 </execution>
98 <execution>
99 <id>hyracks-nc1-start</id>
100 <phase>pre-integration-test</phase>
101 <goals>
102 <goal>start-nc</goal>
103 </goals>
104 <configuration>
105 <nodeId>NC1</nodeId>
106 <dataIpAddress>127.0.0.1</dataIpAddress>
107 <ccHost>localhost</ccHost>
108 <workingDir>${project.build.directory}</workingDir>
109 </configuration>
110 </execution>
111 <execution>
112 <id>hyracks-nc2-start</id>
113 <phase>pre-integration-test</phase>
114 <goals>
115 <goal>start-nc</goal>
116 </goals>
117 <configuration>
118 <nodeId>NC2</nodeId>
119 <dataIpAddress>127.0.0.1</dataIpAddress>
120 <ccHost>localhost</ccHost>
121 <workingDir>${project.build.directory}</workingDir>
122 </configuration>
123 </execution>
124 <execution>
125 <id>deploy-app</id>
126 <phase>pre-integration-test</phase>
127 <goals>
128 <goal>deploy-app</goal>
129 </goals>
130 <configuration>
131 <ccHost>localhost</ccHost>
132 <appName>compat</appName>
133 <harFile>${project.build.directory}/hadoopcompatapp-${project.version}-app-assembly.zip</harFile>
134 </configuration>
135 </execution>
136 <execution>
137 <id>stop-services</id>
138 <phase>post-integration-test</phase>
139 <goals>
140 <goal>stop-services</goal>
141 </goals>
142 </execution>
143 </executions>
144 </plugin>
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-compiler-plugin</artifactId>
148 <version>2.0.2</version>
149 <configuration>
150 <source>1.6</source>
151 <target>1.6</target>
152 </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>
174 <version>0.2.2-SNAPSHOT</version>
175 <scope>compile</scope>
176 </dependency>
177 <dependency>
178 <groupId>edu.uci.ics.hyracks.examples.compat</groupId>
179 <artifactId>hadoopcompatclient</artifactId>
180 <version>0.2.2-SNAPSHOT</version>
181 <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>