blob: 79d9ab0f7ed91d05266f2b06303cd54debfcc1cc [file] [log] [blame]
vinayakb5d0e4592013-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>
10 <version>0.2.4-SNAPSHOT</version>
11 </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>
62 <version>0.2.4-SNAPSHOT</version>
63 <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>
137 <version>0.2.4-SNAPSHOT</version>
138 <scope>compile</scope>
139 </dependency>
140 <dependency>
141 <groupId>edu.uci.ics.hyracks</groupId>
142 <artifactId>hyracks-control-cc</artifactId>
143 <version>0.2.4-SNAPSHOT</version>
144 <type>jar</type>
145 <scope>compile</scope>
146 </dependency>
147 <dependency>
148 <groupId>edu.uci.ics.hyracks</groupId>
149 <artifactId>hyracks-control-nc</artifactId>
150 <version>0.2.4-SNAPSHOT</version>
151 <type>jar</type>
152 <scope>compile</scope>
153 </dependency>
154 <dependency>
155 <groupId>edu.uci.ics.hyracks</groupId>
156 <artifactId>textclient</artifactId>
157 <version>0.2.4-SNAPSHOT</version>
158 <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>