blob: c0c411f38a6cb7eda2b9da9d6b50086b2b93a84a [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>
Ian Maxone915e8c2015-07-01 17:03:31 -070017 <groupId>org.apache.hyracks.examples.text</groupId>
Ianfe9bf232014-06-24 20:14:38 -070018 <artifactId>hyracks-shutdown-test</artifactId>
19 <name>hyracks-shutdown-test</name>
20
21 <parent>
Ian Maxone915e8c2015-07-01 17:03:31 -070022 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -070023 <artifactId>hyracks-examples</artifactId>
Ian Maxond8589432015-09-09 16:53:02 -070024 <version>0.2.16-incubating</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>
Ian Maxone915e8c2015-07-01 17:03:31 -070038 <mainClass>org.apache.hyracks.control.cc.CCDriver</mainClass>
Ianfe9bf232014-06-24 20:14:38 -070039 <name>hyrackscc</name>
40 </program>
41 <program>
Ian Maxone915e8c2015-07-01 17:03:31 -070042 <mainClass>org.apache.hyracks.control.nc.NCDriver</mainClass>
Ianfe9bf232014-06-24 20:14:38 -070043 <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>
Ian Maxone915e8c2015-07-01 17:03:31 -070075 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -070076 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
Ian Maxond8589432015-09-09 16:53:02 -070077 <version>0.2.16-incubating</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>
Ian Maxone915e8c2015-07-01 17:03:31 -0700155 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700156 <artifactId>texthelper</artifactId>
Ian Maxond8589432015-09-09 16:53:02 -0700157 <version>0.2.16-incubating</version>
Ianfe9bf232014-06-24 20:14:38 -0700158 <scope>compile</scope>
159 </dependency>
160 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700161 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700162 <artifactId>hyracks-control-cc</artifactId>
Ian Maxond8589432015-09-09 16:53:02 -0700163 <version>0.2.16-incubating</version>
Ianfe9bf232014-06-24 20:14:38 -0700164 <type>jar</type>
165 <scope>compile</scope>
166 </dependency>
167 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700168 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700169 <artifactId>hyracks-control-nc</artifactId>
Ian Maxond8589432015-09-09 16:53:02 -0700170 <version>0.2.16-incubating</version>
Ianfe9bf232014-06-24 20:14:38 -0700171 <type>jar</type>
172 <scope>compile</scope>
173 </dependency>
174 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700175 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700176 <artifactId>textclient</artifactId>
Ian Maxond8589432015-09-09 16:53:02 -0700177 <version>0.2.16-incubating</version>
Ianfe9bf232014-06-24 20:14:38 -0700178 <type>jar</type>
179 <scope>test</scope>
180 </dependency>
181 </dependencies>
182</project>