blob: 0287edb904cda10a3836943b8abab0a08a4cb2bb [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>
vinayakbefe5ab02011-06-18 19:16:08 +00005 <version>0.1.6</version>
vinayakbf20ffcd2011-06-03 04:19:13 +00006
7 <parent>
8 <groupId>edu.uci.ics.hyracks.examples</groupId>
9 <artifactId>hadoop-compat-example</artifactId>
vinayakbefe5ab02011-06-18 19:16:08 +000010 <version>0.1.6</version>
vinayakbf20ffcd2011-06-03 04:19:13 +000011 </parent>
12
13 <build>
14 <plugins>
15 <plugin>
16 <groupId>org.apache.maven.plugins</groupId>
17 <artifactId>maven-dependency-plugin</artifactId>
18 <executions>
19 <execution>
20 <id>copy-dependencies</id>
21 <phase>package</phase>
22 <goals>
23 <goal>copy-dependencies</goal>
24 </goals>
25 <configuration>
26 <outputDirectory>target/application/lib</outputDirectory>
27 </configuration>
28 </execution>
29 </executions>
30 </plugin>
31 <plugin>
32 <artifactId>maven-assembly-plugin</artifactId>
33 <version>2.2-beta-5</version>
34 <executions>
35 <execution>
36 <configuration>
37 <descriptors>
38 <descriptor>src/main/assembly/app-assembly.xml</descriptor>
39 </descriptors>
40 </configuration>
41 <phase>package</phase>
42 <goals>
43 <goal>attached</goal>
44 </goals>
45 </execution>
46 </executions>
47 </plugin>
48 <plugin>
49 <groupId>edu.uci.ics.hyracks</groupId>
50 <artifactId>hyracks-maven-plugin</artifactId>
51 <version>0.0.1</version>
52 <configuration>
53 <hyracksServerHome>${basedir}/../../../hyracks-server/target/hyracks-server-${project.version}-binary-assembly</hyracksServerHome>
54 <hyracksCLIHome>${basedir}/../../../hyracks-cli/target/hyracks-cli-${project.version}-binary-assembly</hyracksCLIHome>
55 </configuration>
56 <executions>
57 <execution>
58 <id>hyracks-cc-start</id>
59 <phase>pre-integration-test</phase>
60 <goals>
61 <goal>start-cc</goal>
62 </goals>
63 <configuration>
64 <workingDir>${project.build.directory}</workingDir>
65 </configuration>
66 </execution>
67 <execution>
68 <id>hyracks-nc1-start</id>
69 <phase>pre-integration-test</phase>
70 <goals>
71 <goal>start-nc</goal>
72 </goals>
73 <configuration>
74 <nodeId>NC1</nodeId>
75 <dataIpAddress>127.0.0.1</dataIpAddress>
76 <ccHost>localhost</ccHost>
77 <workingDir>${project.build.directory}</workingDir>
78 </configuration>
79 </execution>
80 <execution>
81 <id>hyracks-nc2-start</id>
82 <phase>pre-integration-test</phase>
83 <goals>
84 <goal>start-nc</goal>
85 </goals>
86 <configuration>
87 <nodeId>NC2</nodeId>
88 <dataIpAddress>127.0.0.1</dataIpAddress>
89 <ccHost>localhost</ccHost>
90 <workingDir>${project.build.directory}</workingDir>
91 </configuration>
92 </execution>
93 <execution>
94 <id>deploy-app</id>
95 <phase>pre-integration-test</phase>
96 <goals>
97 <goal>deploy-app</goal>
98 </goals>
99 <configuration>
100 <ccHost>localhost</ccHost>
101 <appName>compat</appName>
102 <harFile>${project.build.directory}/hadoopcompatapp-${project.version}-app-assembly.zip</harFile>
103 </configuration>
104 </execution>
105 <execution>
106 <id>stop-services</id>
107 <phase>post-integration-test</phase>
108 <goals>
109 <goal>stop-services</goal>
110 </goals>
111 </execution>
112 </executions>
113 </plugin>
114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-compiler-plugin</artifactId>
117 <version>2.0.2</version>
118 <configuration>
119 <source>1.6</source>
120 <target>1.6</target>
121 </configuration>
122 </plugin>
123 <plugin>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-failsafe-plugin</artifactId>
126 <version>2.8.1</version>
127 <executions>
128 <execution>
129 <id>it</id>
130 <phase>integration-test</phase>
131 <goals>
132 <goal>integration-test</goal>
133 </goals>
134 </execution>
135 </executions>
136 </plugin>
137 </plugins>
138 </build>
139 <dependencies>
140 <dependency>
141 <groupId>edu.uci.ics.hyracks.examples.compat</groupId>
142 <artifactId>hadoopcompathelper</artifactId>
vinayakbefe5ab02011-06-18 19:16:08 +0000143 <version>0.1.6</version>
vinayakbf20ffcd2011-06-03 04:19:13 +0000144 <scope>compile</scope>
145 </dependency>
146 <dependency>
147 <groupId>edu.uci.ics.hyracks.examples.compat</groupId>
148 <artifactId>hadoopcompatclient</artifactId>
vinayakbefe5ab02011-06-18 19:16:08 +0000149 <version>0.1.6</version>
vinayakbf20ffcd2011-06-03 04:19:13 +0000150 <type>jar</type>
151 <scope>test</scope>
152 </dependency>
153 <dependency>
154 <groupId>junit</groupId>
155 <artifactId>junit</artifactId>
156 <version>4.8.2</version>
157 <type>jar</type>
158 <scope>test</scope>
159 </dependency>
160 </dependencies>
161</project>