blob: fe71db4d33bcba6aaf1311664c0386f087898993 [file] [log] [blame]
vinayakbf20ffcd2011-06-03 04:19:13 +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>
vinayakb25206b62012-03-13 08:50:40 +00005 <version>0.2.0-SNAPSHOT</version>
vinayakbf20ffcd2011-06-03 04:19:13 +00006
7 <parent>
8 <groupId>edu.uci.ics.hyracks.examples</groupId>
9 <artifactId>hadoop-compat-example</artifactId>
vinayakb25206b62012-03-13 08:50:40 +000010 <version>0.2.0-SNAPSHOT</version>
vinayakbf20ffcd2011-06-03 04:19:13 +000011 </parent>
12
13 <build>
alexander.behm8aa4e352011-09-21 18:52:49 +000014 <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
vinayakbf20ffcd2011-06-03 04:19:13 +000043 <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-maven-plugin</artifactId>
vinayakb25206b62012-03-13 08:50:40 +000080 <version>0.0.2</version>
vinayakbf20ffcd2011-06-03 04:19:13 +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 </configuration>
85 <executions>
86 <execution>
87 <id>hyracks-cc-start</id>
88 <phase>pre-integration-test</phase>
89 <goals>
90 <goal>start-cc</goal>
91 </goals>
92 <configuration>
93 <workingDir>${project.build.directory}</workingDir>
94 </configuration>
95 </execution>
96 <execution>
97 <id>hyracks-nc1-start</id>
98 <phase>pre-integration-test</phase>
99 <goals>
100 <goal>start-nc</goal>
101 </goals>
102 <configuration>
103 <nodeId>NC1</nodeId>
104 <dataIpAddress>127.0.0.1</dataIpAddress>
105 <ccHost>localhost</ccHost>
106 <workingDir>${project.build.directory}</workingDir>
107 </configuration>
108 </execution>
109 <execution>
110 <id>hyracks-nc2-start</id>
111 <phase>pre-integration-test</phase>
112 <goals>
113 <goal>start-nc</goal>
114 </goals>
115 <configuration>
116 <nodeId>NC2</nodeId>
117 <dataIpAddress>127.0.0.1</dataIpAddress>
118 <ccHost>localhost</ccHost>
119 <workingDir>${project.build.directory}</workingDir>
120 </configuration>
121 </execution>
122 <execution>
123 <id>deploy-app</id>
124 <phase>pre-integration-test</phase>
125 <goals>
126 <goal>deploy-app</goal>
127 </goals>
128 <configuration>
129 <ccHost>localhost</ccHost>
130 <appName>compat</appName>
131 <harFile>${project.build.directory}/hadoopcompatapp-${project.version}-app-assembly.zip</harFile>
132 </configuration>
133 </execution>
134 <execution>
135 <id>stop-services</id>
136 <phase>post-integration-test</phase>
137 <goals>
138 <goal>stop-services</goal>
139 </goals>
140 </execution>
141 </executions>
142 </plugin>
143 <plugin>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-compiler-plugin</artifactId>
146 <version>2.0.2</version>
147 <configuration>
148 <source>1.6</source>
149 <target>1.6</target>
150 </configuration>
151 </plugin>
152 <plugin>
153 <groupId>org.apache.maven.plugins</groupId>
154 <artifactId>maven-failsafe-plugin</artifactId>
155 <version>2.8.1</version>
156 <executions>
157 <execution>
158 <id>it</id>
159 <phase>integration-test</phase>
160 <goals>
161 <goal>integration-test</goal>
162 </goals>
163 </execution>
164 </executions>
165 </plugin>
166 </plugins>
167 </build>
168 <dependencies>
169 <dependency>
170 <groupId>edu.uci.ics.hyracks.examples.compat</groupId>
171 <artifactId>hadoopcompathelper</artifactId>
vinayakb25206b62012-03-13 08:50:40 +0000172 <version>0.2.0-SNAPSHOT</version>
vinayakbf20ffcd2011-06-03 04:19:13 +0000173 <scope>compile</scope>
174 </dependency>
175 <dependency>
176 <groupId>edu.uci.ics.hyracks.examples.compat</groupId>
177 <artifactId>hadoopcompatclient</artifactId>
vinayakb25206b62012-03-13 08:50:40 +0000178 <version>0.2.0-SNAPSHOT</version>
vinayakbf20ffcd2011-06-03 04:19:13 +0000179 <type>jar</type>
180 <scope>test</scope>
181 </dependency>
182 <dependency>
183 <groupId>junit</groupId>
184 <artifactId>junit</artifactId>
185 <version>4.8.2</version>
186 <type>jar</type>
187 <scope>test</scope>
188 </dependency>
189 </dependencies>
190</project>