blob: c669f22e1dd142424e79528763f0d721d26c5ac2 [file] [log] [blame]
Till Westmann276bbc22013-06-05 18:56:27 -07001<!--
Ian Maxond8857792015-09-11 14:19:53 -07002 ! Licensed to the Apache Software Foundation (ASF) under one
3 ! or more contributor license agreements. See the NOTICE file
4 ! distributed with this work for additional information
5 ! regarding copyright ownership. The ASF licenses this file
6 ! to you under the Apache License, Version 2.0 (the
7 ! "License"); you may not use this file except in compliance
8 ! with the License. You may obtain a copy of the License at
9 !
10 ! http://www.apache.org/licenses/LICENSE-2.0
11 !
12 ! Unless required by applicable law or agreed to in writing,
13 ! software distributed under the License is distributed on an
14 ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ! KIND, either express or implied. See the License for the
16 ! specific language governing permissions and limitations
17 ! under the License.
Till Westmann276bbc22013-06-05 18:56:27 -070018 !-->
Ian Maxond8857792015-09-11 14:19:53 -070019
vinayakb4df31102013-04-06 18:28:48 +000020<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">
21 <modelVersion>4.0.0</modelVersion>
Ian Maxone915e8c2015-07-01 17:03:31 -070022 <groupId>org.apache.hyracks.examples.text</groupId>
vinayakb4df31102013-04-06 18:28:48 +000023 <artifactId>textserver</artifactId>
24 <name>textserver</name>
25
26 <parent>
Ian Maxone915e8c2015-07-01 17:03:31 -070027 <groupId>org.apache.hyracks</groupId>
vinayakb4df31102013-04-06 18:28:48 +000028 <artifactId>text-example</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -070029 <version>0.2.17-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +000030 </parent>
31
32 <build>
33 <plugins>
34 <plugin>
35 <groupId>org.codehaus.mojo</groupId>
36 <artifactId>appassembler-maven-plugin</artifactId>
37 <version>1.3</version>
38 <executions>
39 <execution>
40 <configuration>
41 <programs>
42 <program>
Ian Maxone915e8c2015-07-01 17:03:31 -070043 <mainClass>org.apache.hyracks.control.cc.CCDriver</mainClass>
vinayakb4df31102013-04-06 18:28:48 +000044 <name>hyrackscc</name>
45 </program>
46 <program>
Ian Maxone915e8c2015-07-01 17:03:31 -070047 <mainClass>org.apache.hyracks.control.nc.NCDriver</mainClass>
vinayakb4df31102013-04-06 18:28:48 +000048 <name>hyracksnc</name>
49 </program>
50 </programs>
51 <repositoryLayout>flat</repositoryLayout>
52 <repositoryName>lib</repositoryName>
53 </configuration>
54 <phase>package</phase>
55 <goals>
56 <goal>assemble</goal>
57 </goals>
58 </execution>
59 </executions>
60 </plugin>
61 <plugin>
62 <artifactId>maven-assembly-plugin</artifactId>
63 <version>2.2-beta-5</version>
64 <executions>
65 <execution>
66 <configuration>
67 <descriptors>
68 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
69 </descriptors>
70 </configuration>
71 <phase>package</phase>
72 <goals>
73 <goal>attached</goal>
74 </goals>
75 </execution>
76 </executions>
77 </plugin>
78 <plugin>
Ian Maxone915e8c2015-07-01 17:03:31 -070079 <groupId>org.apache.hyracks</groupId>
vinayakb4df31102013-04-06 18:28:48 +000080 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -070081 <version>0.2.17-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +000082 <configuration>
83 <hyracksServerHome>${basedir}/target/textserver-${project.version}-binary-assembly</hyracksServerHome>
84 <jvmOptions>${jvm.extraargs}</jvmOptions>
85 </configuration>
86 <executions>
87 <execution>
88 <id>hyracks-cc-start</id>
89 <phase>pre-integration-test</phase>
90 <goals>
91 <goal>start-cc</goal>
92 </goals>
93 </execution>
94 <execution>
95 <id>hyracks-nc1-start</id>
96 <phase>pre-integration-test</phase>
97 <goals>
98 <goal>start-nc</goal>
99 </goals>
100 <configuration>
101 <nodeId>NC1</nodeId>
102 <dataIpAddress>127.0.0.1</dataIpAddress>
103 <ccHost>localhost</ccHost>
104 </configuration>
105 </execution>
106 <execution>
107 <id>hyracks-nc2-start</id>
108 <phase>pre-integration-test</phase>
109 <goals>
110 <goal>start-nc</goal>
111 </goals>
112 <configuration>
113 <nodeId>NC2</nodeId>
114 <dataIpAddress>127.0.0.1</dataIpAddress>
115 <ccHost>localhost</ccHost>
116 </configuration>
117 </execution>
118 <execution>
119 <id>stop-services</id>
120 <phase>post-integration-test</phase>
121 <goals>
122 <goal>stop-services</goal>
123 </goals>
124 </execution>
125 </executions>
126 </plugin>
127 <plugin>
128 <groupId>org.apache.maven.plugins</groupId>
vinayakb4df31102013-04-06 18:28:48 +0000129 <artifactId>maven-failsafe-plugin</artifactId>
130 <version>2.8.1</version>
131 <executions>
132 <execution>
133 <id>it</id>
134 <phase>integration-test</phase>
135 <goals>
136 <goal>integration-test</goal>
137 </goals>
138 </execution>
139 </executions>
140 </plugin>
141 </plugins>
142 </build>
143 <dependencies>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800144 <dependency>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800145 <groupId>junit</groupId>
146 <artifactId>junit</artifactId>
147 </dependency>
148 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700149 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800150 <artifactId>texthelper</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700151 <version>0.2.17-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800152 <scope>compile</scope>
153 </dependency>
154 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700155 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800156 <artifactId>hyracks-control-cc</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700157 <version>0.2.17-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800158 <type>jar</type>
159 <scope>compile</scope>
160 </dependency>
161 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700162 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800163 <artifactId>hyracks-control-nc</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700164 <version>0.2.17-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800165 <type>jar</type>
166 <scope>compile</scope>
167 </dependency>
168 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700169 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800170 <artifactId>textclient</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700171 <version>0.2.17-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800172 <type>jar</type>
173 <scope>test</scope>
174 </dependency>
vinayakb4df31102013-04-06 18:28:48 +0000175 </dependencies>
176</project>