blob: 1daca967642107ab85753eb19fc71586e79b9e38 [file] [log] [blame]
vinayakb4df31102013-04-06 18:28:48 +00001<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">
2 <modelVersion>4.0.0</modelVersion>
3 <groupId>edu.uci.ics.hyracks.examples.text</groupId>
4 <artifactId>textserver</artifactId>
5 <name>textserver</name>
6
7 <parent>
8 <groupId>edu.uci.ics.hyracks</groupId>
9 <artifactId>text-example</artifactId>
Vinayak Borkarccfbf412013-04-25 11:40:50 -070010 <version>0.2.6-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +000011 </parent>
12
13 <build>
14 <plugins>
15 <plugin>
16 <groupId>org.codehaus.mojo</groupId>
17 <artifactId>appassembler-maven-plugin</artifactId>
18 <version>1.3</version>
19 <executions>
20 <execution>
21 <configuration>
22 <programs>
23 <program>
24 <mainClass>edu.uci.ics.hyracks.control.cc.CCDriver</mainClass>
25 <name>hyrackscc</name>
26 </program>
27 <program>
28 <mainClass>edu.uci.ics.hyracks.control.nc.NCDriver</mainClass>
29 <name>hyracksnc</name>
30 </program>
31 </programs>
32 <repositoryLayout>flat</repositoryLayout>
33 <repositoryName>lib</repositoryName>
34 </configuration>
35 <phase>package</phase>
36 <goals>
37 <goal>assemble</goal>
38 </goals>
39 </execution>
40 </executions>
41 </plugin>
42 <plugin>
43 <artifactId>maven-assembly-plugin</artifactId>
44 <version>2.2-beta-5</version>
45 <executions>
46 <execution>
47 <configuration>
48 <descriptors>
49 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
50 </descriptors>
51 </configuration>
52 <phase>package</phase>
53 <goals>
54 <goal>attached</goal>
55 </goals>
56 </execution>
57 </executions>
58 </plugin>
59 <plugin>
60 <groupId>edu.uci.ics.hyracks</groupId>
61 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
Vinayak Borkarccfbf412013-04-25 11:40:50 -070062 <version>0.2.6-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +000063 <configuration>
64 <hyracksServerHome>${basedir}/target/textserver-${project.version}-binary-assembly</hyracksServerHome>
65 <jvmOptions>${jvm.extraargs}</jvmOptions>
66 </configuration>
67 <executions>
68 <execution>
69 <id>hyracks-cc-start</id>
70 <phase>pre-integration-test</phase>
71 <goals>
72 <goal>start-cc</goal>
73 </goals>
74 </execution>
75 <execution>
76 <id>hyracks-nc1-start</id>
77 <phase>pre-integration-test</phase>
78 <goals>
79 <goal>start-nc</goal>
80 </goals>
81 <configuration>
82 <nodeId>NC1</nodeId>
83 <dataIpAddress>127.0.0.1</dataIpAddress>
84 <ccHost>localhost</ccHost>
85 </configuration>
86 </execution>
87 <execution>
88 <id>hyracks-nc2-start</id>
89 <phase>pre-integration-test</phase>
90 <goals>
91 <goal>start-nc</goal>
92 </goals>
93 <configuration>
94 <nodeId>NC2</nodeId>
95 <dataIpAddress>127.0.0.1</dataIpAddress>
96 <ccHost>localhost</ccHost>
97 </configuration>
98 </execution>
99 <execution>
100 <id>stop-services</id>
101 <phase>post-integration-test</phase>
102 <goals>
103 <goal>stop-services</goal>
104 </goals>
105 </execution>
106 </executions>
107 </plugin>
108 <plugin>
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-compiler-plugin</artifactId>
111 <version>2.0.2</version>
112 <configuration>
113 <source>1.6</source>
114 <target>1.6</target>
115 </configuration>
116 </plugin>
117 <plugin>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-failsafe-plugin</artifactId>
120 <version>2.8.1</version>
121 <executions>
122 <execution>
123 <id>it</id>
124 <phase>integration-test</phase>
125 <goals>
126 <goal>integration-test</goal>
127 </goals>
128 </execution>
129 </executions>
130 </plugin>
131 </plugins>
132 </build>
133 <dependencies>
134 <dependency>
135 <groupId>edu.uci.ics.hyracks</groupId>
136 <artifactId>texthelper</artifactId>
Vinayak Borkarccfbf412013-04-25 11:40:50 -0700137 <version>0.2.6-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +0000138 <scope>compile</scope>
139 </dependency>
140 <dependency>
141 <groupId>edu.uci.ics.hyracks</groupId>
142 <artifactId>hyracks-control-cc</artifactId>
Vinayak Borkarccfbf412013-04-25 11:40:50 -0700143 <version>0.2.6-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +0000144 <type>jar</type>
145 <scope>compile</scope>
146 </dependency>
147 <dependency>
148 <groupId>edu.uci.ics.hyracks</groupId>
149 <artifactId>hyracks-control-nc</artifactId>
Vinayak Borkarccfbf412013-04-25 11:40:50 -0700150 <version>0.2.6-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +0000151 <type>jar</type>
152 <scope>compile</scope>
153 </dependency>
154 <dependency>
155 <groupId>edu.uci.ics.hyracks</groupId>
156 <artifactId>textclient</artifactId>
Vinayak Borkarccfbf412013-04-25 11:40:50 -0700157 <version>0.2.6-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +0000158 <type>jar</type>
159 <scope>test</scope>
160 </dependency>
161 <dependency>
162 <groupId>junit</groupId>
163 <artifactId>junit</artifactId>
164 <version>4.8.2</version>
165 <type>jar</type>
166 <scope>test</scope>
167 </dependency>
168 </dependencies>
169</project>