blob: 2db5100bc89df7ee7f042d42dc5f8648f2d35fbe [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>
Ian Maxon46fee832014-07-11 22:51:56 -070024 <version>0.2.13-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>
Ian Maxon46fee832014-07-11 22:51:56 -070076 <version>0.2.13-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>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800148 <dependency>
149 <!-- Dependency management inherited from top-level hyracks -->
150 <groupId>junit</groupId>
151 <artifactId>junit</artifactId>
152 </dependency>
153 <dependency>
154 <groupId>edu.uci.ics.hyracks</groupId>
155 <artifactId>texthelper</artifactId>
Ian Maxon46fee832014-07-11 22:51:56 -0700156 <version>0.2.13-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800157 <scope>compile</scope>
158 </dependency>
159 <dependency>
160 <groupId>edu.uci.ics.hyracks</groupId>
161 <artifactId>hyracks-control-cc</artifactId>
Ian Maxon46fee832014-07-11 22:51:56 -0700162 <version>0.2.13-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800163 <type>jar</type>
164 <scope>compile</scope>
165 </dependency>
166 <dependency>
167 <groupId>edu.uci.ics.hyracks</groupId>
168 <artifactId>hyracks-control-nc</artifactId>
Ian Maxon46fee832014-07-11 22:51:56 -0700169 <version>0.2.13-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800170 <type>jar</type>
171 <scope>compile</scope>
172 </dependency>
173 <dependency>
174 <groupId>edu.uci.ics.hyracks</groupId>
175 <artifactId>textclient</artifactId>
Ian Maxon46fee832014-07-11 22:51:56 -0700176 <version>0.2.13-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800177 <type>jar</type>
178 <scope>test</scope>
179 </dependency>
vinayakb4df31102013-04-06 18:28:48 +0000180 </dependencies>
181</project>