blob: a988a2021ae029102c8bc718838c82a43ddd82a0 [file] [log] [blame]
vinayakb59d505d2012-10-29 10:38:02 +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>
vinayakb59d505d2012-10-29 10:38:02 +00005 <name>textapp</name>
6
7 <parent>
8 <groupId>edu.uci.ics.hyracks.examples</groupId>
9 <artifactId>text-example</artifactId>
vinayakba8a02612013-03-25 03:17:01 +000010 <version>0.2.3</version>
vinayakb59d505d2012-10-29 10:38:02 +000011 </parent>
12
13 <build>
14 <pluginManagement>
15 <plugins>
16 <plugin>
17 <groupId>org.eclipse.m2e</groupId>
18 <artifactId>lifecycle-mapping</artifactId>
19 <version>1.0.0</version>
20 <configuration>
21 <lifecycleMappingMetadata>
22 <pluginExecutions>
23 <pluginExecution>
24 <pluginExecutionFilter>
25 <groupId>org.apache.maven.plugins</groupId>
26 <artifactId>maven-dependency-plugin</artifactId>
27 <versionRange>[1.0.0,)</versionRange>
28 <goals>
29 <goal>copy-dependencies</goal>
30 </goals>
31 </pluginExecutionFilter>
32 <action>
33 <ignore />
34 </action>
35 </pluginExecution>
36 </pluginExecutions>
37 </lifecycleMappingMetadata>
38 </configuration>
39 </plugin>
40 </plugins>
41 </pluginManagement>
42
43 <plugins>
44 <plugin>
45 <groupId>org.apache.maven.plugins</groupId>
46 <artifactId>maven-dependency-plugin</artifactId>
47 <executions>
48 <execution>
49 <id>copy-dependencies</id>
50 <phase>package</phase>
51 <goals>
52 <goal>copy-dependencies</goal>
53 </goals>
54 <configuration>
55 <outputDirectory>target/application/lib</outputDirectory>
56 </configuration>
57 </execution>
58 </executions>
59 </plugin>
60 <plugin>
61 <artifactId>maven-assembly-plugin</artifactId>
62 <version>2.2-beta-5</version>
63 <executions>
64 <execution>
65 <configuration>
66 <descriptors>
67 <descriptor>src/main/assembly/app-assembly.xml</descriptor>
68 </descriptors>
69 </configuration>
70 <phase>package</phase>
71 <goals>
72 <goal>attached</goal>
73 </goals>
74 </execution>
75 </executions>
76 </plugin>
77 <plugin>
78 <groupId>edu.uci.ics.hyracks</groupId>
79 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
vinayakba8a02612013-03-25 03:17:01 +000080 <version>0.2.3</version>
vinayakb59d505d2012-10-29 10:38:02 +000081 <configuration>
82 <hyracksServerHome>${basedir}/../../../hyracks-server/target/hyracks-server-${project.version}-binary-assembly</hyracksServerHome>
83 <hyracksCLIHome>${basedir}/../../../hyracks-cli/target/hyracks-cli-${project.version}-binary-assembly</hyracksCLIHome>
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>deploy-app</id>
120 <phase>pre-integration-test</phase>
121 <goals>
122 <goal>deploy-app</goal>
123 </goals>
124 <configuration>
125 <ccHost>localhost</ccHost>
126 <appName>text</appName>
127 <harFile>${project.build.directory}/textapp-${project.version}-app-assembly.zip</harFile>
128 </configuration>
129 </execution>
130 <execution>
131 <id>stop-services</id>
132 <phase>post-integration-test</phase>
133 <goals>
134 <goal>stop-services</goal>
135 </goals>
136 </execution>
137 </executions>
138 </plugin>
139 <plugin>
140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-compiler-plugin</artifactId>
142 <version>2.0.2</version>
143 <configuration>
buyingyi5df938f2013-03-24 07:20:08 +0000144 <source>1.7</source>
145 <target>1.7</target>
146 <fork>true</fork>
vinayakb59d505d2012-10-29 10:38:02 +0000147 </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>
vinayakba8a02612013-03-25 03:17:01 +0000169 <version>0.2.3</version>
vinayakb59d505d2012-10-29 10:38:02 +0000170 <scope>compile</scope>
171 </dependency>
172 <dependency>
173 <groupId>edu.uci.ics.hyracks.examples.text</groupId>
174 <artifactId>textclient</artifactId>
vinayakba8a02612013-03-25 03:17:01 +0000175 <version>0.2.3</version>
vinayakb59d505d2012-10-29 10:38:02 +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>