blob: 81ac506d446ac23a9e901e8c35d9d6f3c225cc7e [file] [log] [blame]
Ianfe9bf232014-06-24 20:14:38 -07001<!--
2 ! Copyright 2009-2013 by The Regents of the University of California
3 ! Licensed under the Apache License, Version 2.0 (the "License");
4 ! you may not use this file except in compliance with the License.
5 ! you may obtain a copy of the License from
6 !
7 ! http://www.apache.org/licenses/LICENSE-2.0
8 !
9 ! Unless required by applicable law or agreed to in writing, software
10 ! distributed under the License is distributed on an "AS IS" BASIS,
11 ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 ! See the License for the specific language governing permissions and
13 ! limitations under the License.
14 !-->
15<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">
16 <modelVersion>4.0.0</modelVersion>
17 <groupId>edu.uci.ics.hyracks.examples.text</groupId>
18 <artifactId>hyracks-shutdown-test</artifactId>
19 <name>hyracks-shutdown-test</name>
20
21 <parent>
22 <groupId>edu.uci.ics.hyracks</groupId>
23 <artifactId>hyracks-examples</artifactId>
Ian Maxon46fee832014-07-11 22:51:56 -070024 <version>0.2.13-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -070025 </parent>
26
27 <build>
28 <plugins>
29 <plugin>
30 <groupId>org.codehaus.mojo</groupId>
31 <artifactId>appassembler-maven-plugin</artifactId>
32 <version>1.3</version>
33 <executions>
34 <execution>
35 <configuration>
36 <programs>
37 <program>
38 <mainClass>edu.uci.ics.hyracks.control.cc.CCDriver</mainClass>
39 <name>hyrackscc</name>
40 </program>
41 <program>
42 <mainClass>edu.uci.ics.hyracks.control.nc.NCDriver</mainClass>
43 <name>hyracksnc</name>
44 </program>
45 </programs>
46 <repositoryLayout>flat</repositoryLayout>
47 <repositoryName>lib</repositoryName>
48 </configuration>
49 <phase>package</phase>
50 <goals>
51 <goal>assemble</goal>
52 </goals>
53 </execution>
54 </executions>
55 </plugin>
56 <plugin>
57 <artifactId>maven-assembly-plugin</artifactId>
58 <version>2.2-beta-5</version>
59 <executions>
60 <execution>
61 <configuration>
62 <descriptors>
63 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
64 </descriptors>
65 </configuration>
66 <phase>package</phase>
67 <goals>
68 <goal>attached</goal>
69 </goals>
70 </execution>
71 </executions>
72 </plugin>
73
74 <plugin>
75 <groupId>edu.uci.ics.hyracks</groupId>
76 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
Ian Maxon46fee832014-07-11 22:51:56 -070077 <version>0.2.13-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -070078 <configuration>
79 <hyracksServerHome>${basedir}/target/hyracks-shutdown-test-${project.version}-binary-assembly</hyracksServerHome>
80 <jvmOptions>${jvm.extraargs}</jvmOptions>
81 </configuration>
82 <executions>
83 <execution>
84 <id>hyracks-cc-start</id>
85 <phase>pre-integration-test</phase>
86 <goals>
87 <goal>start-cc</goal>
88 </goals>
89 </execution>
90 <execution>
91 <id>hyracks-nc1-start</id>
92 <phase>pre-integration-test</phase>
93 <goals>
94 <goal>start-nc</goal>
95 </goals>
96 <configuration>
97 <nodeId>NC1</nodeId>
98 <dataIpAddress>127.0.0.1</dataIpAddress>
99 <ccHost>localhost</ccHost>
100 </configuration>
101 </execution>
102 <execution>
103 <id>hyracks-nc2-start</id>
104 <phase>pre-integration-test</phase>
105 <goals>
106 <goal>start-nc</goal>
107 </goals>
108 <configuration>
109 <nodeId>NC2</nodeId>
110 <dataIpAddress>127.0.0.1</dataIpAddress>
111 <ccHost>localhost</ccHost>
112 </configuration>
113 </execution>
114 <execution>
115 <id>stop-services</id>
116 <phase>post-integration-test</phase>
117 <goals>
118 <goal>stop-services</goal>
119 </goals>
120 </execution>
121 </executions>
122 </plugin>
123 <plugin>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-compiler-plugin</artifactId>
126 <version>2.0.2</version>
127 <configuration>
128 <source>1.6</source>
129 <target>1.6</target>
130 </configuration>
131 </plugin>
132 <plugin>
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-failsafe-plugin</artifactId>
135 <version>2.8.1</version>
136 <executions>
137 <execution>
138 <id>it</id>
139 <phase>integration-test</phase>
140 <goals>
141 <goal>integration-test</goal>
142 </goals>
143 </execution>
144 </executions>
145 </plugin>
146 </plugins>
147 </build>
148 <dependencies>
149 <dependency>
150 <!-- Dependency management inherited from top-level hyracks -->
151 <groupId>junit</groupId>
152 <artifactId>junit</artifactId>
153 </dependency>
154 <dependency>
155 <groupId>edu.uci.ics.hyracks</groupId>
156 <artifactId>texthelper</artifactId>
Ian Maxon46fee832014-07-11 22:51:56 -0700157 <version>0.2.13-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700158 <scope>compile</scope>
159 </dependency>
160 <dependency>
161 <groupId>edu.uci.ics.hyracks</groupId>
162 <artifactId>hyracks-control-cc</artifactId>
Ian Maxon46fee832014-07-11 22:51:56 -0700163 <version>0.2.13-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700164 <type>jar</type>
165 <scope>compile</scope>
166 </dependency>
167 <dependency>
168 <groupId>edu.uci.ics.hyracks</groupId>
169 <artifactId>hyracks-control-nc</artifactId>
Ian Maxon46fee832014-07-11 22:51:56 -0700170 <version>0.2.13-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700171 <type>jar</type>
172 <scope>compile</scope>
173 </dependency>
174 <dependency>
175 <groupId>edu.uci.ics.hyracks</groupId>
176 <artifactId>textclient</artifactId>
Ian Maxon46fee832014-07-11 22:51:56 -0700177 <version>0.2.13-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700178 <type>jar</type>
179 <scope>test</scope>
180 </dependency>
181 </dependencies>
182</project>