blob: f116638b9bc29bd14d2166cf21974c494c7f0e23 [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>
129 <artifactId>maven-compiler-plugin</artifactId>
130 <version>2.0.2</version>
131 <configuration>
132 <source>1.6</source>
133 <target>1.6</target>
134 </configuration>
135 </plugin>
136 <plugin>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-failsafe-plugin</artifactId>
139 <version>2.8.1</version>
140 <executions>
141 <execution>
142 <id>it</id>
143 <phase>integration-test</phase>
144 <goals>
145 <goal>integration-test</goal>
146 </goals>
147 </execution>
148 </executions>
149 </plugin>
150 </plugins>
151 </build>
152 <dependencies>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800153 <dependency>
154 <!-- Dependency management inherited from top-level hyracks -->
155 <groupId>junit</groupId>
156 <artifactId>junit</artifactId>
157 </dependency>
158 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700159 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800160 <artifactId>texthelper</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700161 <version>0.2.17-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800162 <scope>compile</scope>
163 </dependency>
164 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700165 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800166 <artifactId>hyracks-control-cc</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700167 <version>0.2.17-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800168 <type>jar</type>
169 <scope>compile</scope>
170 </dependency>
171 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700172 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800173 <artifactId>hyracks-control-nc</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700174 <version>0.2.17-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800175 <type>jar</type>
176 <scope>compile</scope>
177 </dependency>
178 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700179 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800180 <artifactId>textclient</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700181 <version>0.2.17-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800182 <type>jar</type>
183 <scope>test</scope>
184 </dependency>
vinayakb4df31102013-04-06 18:28:48 +0000185 </dependencies>
186</project>