blob: 8ac69d857a72b62a55bfbc8845987d1d3889c5c1 [file] [log] [blame]
vinayakb0c860392012-10-06 18:47:20 +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>textapp</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +00005 <version>0.2.3-SNAPSHOT</version>
buyingyi8d79d162012-10-22 23:04:47 +00006 <name>textapp</name>
vinayakb0c860392012-10-06 18:47:20 +00007
8 <parent>
9 <groupId>edu.uci.ics.hyracks.examples</groupId>
10 <artifactId>text-example</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +000011 <version>0.2.3-SNAPSHOT</version>
vinayakb0c860392012-10-06 18:47:20 +000012 </parent>
13
14 <build>
15 <pluginManagement>
16 <plugins>
17 <plugin>
18 <groupId>org.eclipse.m2e</groupId>
19 <artifactId>lifecycle-mapping</artifactId>
20 <version>1.0.0</version>
21 <configuration>
22 <lifecycleMappingMetadata>
23 <pluginExecutions>
24 <pluginExecution>
25 <pluginExecutionFilter>
26 <groupId>org.apache.maven.plugins</groupId>
27 <artifactId>maven-dependency-plugin</artifactId>
28 <versionRange>[1.0.0,)</versionRange>
29 <goals>
30 <goal>copy-dependencies</goal>
31 </goals>
32 </pluginExecutionFilter>
33 <action>
34 <ignore />
35 </action>
36 </pluginExecution>
37 </pluginExecutions>
38 </lifecycleMappingMetadata>
39 </configuration>
40 </plugin>
41 </plugins>
42 </pluginManagement>
43
44 <plugins>
45 <plugin>
46 <groupId>org.apache.maven.plugins</groupId>
47 <artifactId>maven-dependency-plugin</artifactId>
48 <executions>
49 <execution>
50 <id>copy-dependencies</id>
51 <phase>package</phase>
52 <goals>
53 <goal>copy-dependencies</goal>
54 </goals>
55 <configuration>
56 <outputDirectory>target/application/lib</outputDirectory>
57 </configuration>
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/app-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>
79 <groupId>edu.uci.ics.hyracks</groupId>
80 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +000081 <version>0.2.3-SNAPSHOT</version>
vinayakb0c860392012-10-06 18:47:20 +000082 <configuration>
83 <hyracksServerHome>${basedir}/../../../hyracks-server/target/hyracks-server-${project.version}-binary-assembly</hyracksServerHome>
84 <hyracksCLIHome>${basedir}/../../../hyracks-cli/target/hyracks-cli-${project.version}-binary-assembly</hyracksCLIHome>
85 <jvmOptions>${jvm.extraargs}</jvmOptions>
86 </configuration>
87 <executions>
88 <execution>
89 <id>hyracks-cc-start</id>
90 <phase>pre-integration-test</phase>
91 <goals>
92 <goal>start-cc</goal>
93 </goals>
94 </execution>
95 <execution>
96 <id>hyracks-nc1-start</id>
97 <phase>pre-integration-test</phase>
98 <goals>
99 <goal>start-nc</goal>
100 </goals>
101 <configuration>
102 <nodeId>NC1</nodeId>
103 <dataIpAddress>127.0.0.1</dataIpAddress>
104 <ccHost>localhost</ccHost>
105 </configuration>
106 </execution>
107 <execution>
108 <id>hyracks-nc2-start</id>
109 <phase>pre-integration-test</phase>
110 <goals>
111 <goal>start-nc</goal>
112 </goals>
113 <configuration>
114 <nodeId>NC2</nodeId>
115 <dataIpAddress>127.0.0.1</dataIpAddress>
116 <ccHost>localhost</ccHost>
117 </configuration>
118 </execution>
119 <execution>
120 <id>deploy-app</id>
121 <phase>pre-integration-test</phase>
122 <goals>
123 <goal>deploy-app</goal>
124 </goals>
125 <configuration>
126 <ccHost>localhost</ccHost>
127 <appName>text</appName>
128 <harFile>${project.build.directory}/textapp-${project.version}-app-assembly.zip</harFile>
129 </configuration>
130 </execution>
131 <execution>
132 <id>stop-services</id>
133 <phase>post-integration-test</phase>
134 <goals>
135 <goal>stop-services</goal>
136 </goals>
137 </execution>
138 </executions>
139 </plugin>
140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-compiler-plugin</artifactId>
143 <version>2.0.2</version>
144 <configuration>
145 <source>1.6</source>
146 <target>1.6</target>
147 </configuration>
148 </plugin>
149 <plugin>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-failsafe-plugin</artifactId>
152 <version>2.8.1</version>
153 <executions>
154 <execution>
155 <id>it</id>
156 <phase>integration-test</phase>
157 <goals>
158 <goal>integration-test</goal>
159 </goals>
160 </execution>
161 </executions>
162 </plugin>
163 </plugins>
164 </build>
165 <dependencies>
166 <dependency>
167 <groupId>edu.uci.ics.hyracks.examples.text</groupId>
168 <artifactId>texthelper</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000169 <version>0.2.3-SNAPSHOT</version>
vinayakb0c860392012-10-06 18:47:20 +0000170 <scope>compile</scope>
171 </dependency>
172 <dependency>
173 <groupId>edu.uci.ics.hyracks.examples.text</groupId>
174 <artifactId>textclient</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000175 <version>0.2.3-SNAPSHOT</version>
vinayakb0c860392012-10-06 18:47:20 +0000176 <type>jar</type>
177 <scope>test</scope>
178 </dependency>
179 <dependency>
180 <groupId>junit</groupId>
181 <artifactId>junit</artifactId>
182 <version>4.8.2</version>
183 <type>jar</type>
184 <scope>test</scope>
185 </dependency>
186 </dependencies>
187</project>