blob: c11dc378a434f6113eb2eb5ce5f01ada07d91d75 [file] [log] [blame]
Till Westmann276bbc22013-06-05 18:56:27 -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 !-->
vinayakb4df31102013-04-06 18:28:48 +000015<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>textserver</artifactId>
19 <name>textserver</name>
20
21 <parent>
22 <groupId>edu.uci.ics.hyracks</groupId>
23 <artifactId>text-example</artifactId>
buyingyi585abfa2013-07-22 09:20:42 -070024 <version>0.2.9-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +000025 </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 <plugin>
74 <groupId>edu.uci.ics.hyracks</groupId>
75 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
buyingyi585abfa2013-07-22 09:20:42 -070076 <version>0.2.9-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +000077 <configuration>
78 <hyracksServerHome>${basedir}/target/textserver-${project.version}-binary-assembly</hyracksServerHome>
79 <jvmOptions>${jvm.extraargs}</jvmOptions>
80 </configuration>
81 <executions>
82 <execution>
83 <id>hyracks-cc-start</id>
84 <phase>pre-integration-test</phase>
85 <goals>
86 <goal>start-cc</goal>
87 </goals>
88 </execution>
89 <execution>
90 <id>hyracks-nc1-start</id>
91 <phase>pre-integration-test</phase>
92 <goals>
93 <goal>start-nc</goal>
94 </goals>
95 <configuration>
96 <nodeId>NC1</nodeId>
97 <dataIpAddress>127.0.0.1</dataIpAddress>
98 <ccHost>localhost</ccHost>
99 </configuration>
100 </execution>
101 <execution>
102 <id>hyracks-nc2-start</id>
103 <phase>pre-integration-test</phase>
104 <goals>
105 <goal>start-nc</goal>
106 </goals>
107 <configuration>
108 <nodeId>NC2</nodeId>
109 <dataIpAddress>127.0.0.1</dataIpAddress>
110 <ccHost>localhost</ccHost>
111 </configuration>
112 </execution>
113 <execution>
114 <id>stop-services</id>
115 <phase>post-integration-test</phase>
116 <goals>
117 <goal>stop-services</goal>
118 </goals>
119 </execution>
120 </executions>
121 </plugin>
122 <plugin>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-compiler-plugin</artifactId>
125 <version>2.0.2</version>
126 <configuration>
127 <source>1.6</source>
128 <target>1.6</target>
129 </configuration>
130 </plugin>
131 <plugin>
132 <groupId>org.apache.maven.plugins</groupId>
133 <artifactId>maven-failsafe-plugin</artifactId>
134 <version>2.8.1</version>
135 <executions>
136 <execution>
137 <id>it</id>
138 <phase>integration-test</phase>
139 <goals>
140 <goal>integration-test</goal>
141 </goals>
142 </execution>
143 </executions>
144 </plugin>
145 </plugins>
146 </build>
147 <dependencies>
148 <dependency>
149 <groupId>edu.uci.ics.hyracks</groupId>
150 <artifactId>texthelper</artifactId>
buyingyi585abfa2013-07-22 09:20:42 -0700151 <version>0.2.9-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +0000152 <scope>compile</scope>
153 </dependency>
154 <dependency>
155 <groupId>edu.uci.ics.hyracks</groupId>
156 <artifactId>hyracks-control-cc</artifactId>
buyingyi585abfa2013-07-22 09:20:42 -0700157 <version>0.2.9-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +0000158 <type>jar</type>
159 <scope>compile</scope>
160 </dependency>
161 <dependency>
162 <groupId>edu.uci.ics.hyracks</groupId>
163 <artifactId>hyracks-control-nc</artifactId>
buyingyi585abfa2013-07-22 09:20:42 -0700164 <version>0.2.9-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +0000165 <type>jar</type>
166 <scope>compile</scope>
167 </dependency>
168 <dependency>
169 <groupId>edu.uci.ics.hyracks</groupId>
170 <artifactId>textclient</artifactId>
buyingyi585abfa2013-07-22 09:20:42 -0700171 <version>0.2.9-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +0000172 <type>jar</type>
173 <scope>test</scope>
174 </dependency>
175 <dependency>
176 <groupId>junit</groupId>
177 <artifactId>junit</artifactId>
178 <version>4.8.2</version>
179 <type>jar</type>
180 <scope>test</scope>
181 </dependency>
182 </dependencies>
183</project>