blob: fe5fc25dc7a8cb5b0e26f65edaecb89dc600c14e [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>
vinayakb0c860392012-10-06 18:47:20 +00003 <artifactId>textapp</artifactId>
buyingyi8d79d162012-10-22 23:04:47 +00004 <name>textapp</name>
vinayakb0c860392012-10-06 18:47:20 +00005
6 <parent>
zheilbrone5b29862013-03-07 05:25:23 +00007 <groupId>edu.uci.ics.hyracks</groupId>
vinayakb0c860392012-10-06 18:47:20 +00008 <artifactId>text-example</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +00009 <version>0.2.3-SNAPSHOT</version>
vinayakb0c860392012-10-06 18:47:20 +000010 </parent>
11
12 <build>
13 <pluginManagement>
14 <plugins>
15 <plugin>
16 <groupId>org.eclipse.m2e</groupId>
17 <artifactId>lifecycle-mapping</artifactId>
18 <version>1.0.0</version>
19 <configuration>
20 <lifecycleMappingMetadata>
21 <pluginExecutions>
22 <pluginExecution>
23 <pluginExecutionFilter>
24 <groupId>org.apache.maven.plugins</groupId>
25 <artifactId>maven-dependency-plugin</artifactId>
26 <versionRange>[1.0.0,)</versionRange>
27 <goals>
28 <goal>copy-dependencies</goal>
29 </goals>
30 </pluginExecutionFilter>
31 <action>
32 <ignore />
33 </action>
34 </pluginExecution>
35 </pluginExecutions>
36 </lifecycleMappingMetadata>
37 </configuration>
38 </plugin>
39 </plugins>
40 </pluginManagement>
zheilbron5728a702013-03-04 18:43:03 +000041
vinayakb0c860392012-10-06 18:47:20 +000042 <plugins>
43 <plugin>
44 <groupId>org.apache.maven.plugins</groupId>
45 <artifactId>maven-dependency-plugin</artifactId>
46 <executions>
47 <execution>
48 <id>copy-dependencies</id>
49 <phase>package</phase>
50 <goals>
51 <goal>copy-dependencies</goal>
52 </goals>
53 <configuration>
54 <outputDirectory>target/application/lib</outputDirectory>
55 </configuration>
56 </execution>
57 </executions>
58 </plugin>
59 <plugin>
60 <artifactId>maven-assembly-plugin</artifactId>
61 <version>2.2-beta-5</version>
62 <executions>
63 <execution>
64 <configuration>
65 <descriptors>
66 <descriptor>src/main/assembly/app-assembly.xml</descriptor>
67 </descriptors>
68 </configuration>
69 <phase>package</phase>
70 <goals>
71 <goal>attached</goal>
72 </goals>
73 </execution>
74 </executions>
75 </plugin>
76 <plugin>
77 <groupId>edu.uci.ics.hyracks</groupId>
78 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +000079 <version>0.2.3-SNAPSHOT</version>
vinayakb0c860392012-10-06 18:47:20 +000080 <configuration>
81 <hyracksServerHome>${basedir}/../../../hyracks-server/target/hyracks-server-${project.version}-binary-assembly</hyracksServerHome>
82 <hyracksCLIHome>${basedir}/../../../hyracks-cli/target/hyracks-cli-${project.version}-binary-assembly</hyracksCLIHome>
83 <jvmOptions>${jvm.extraargs}</jvmOptions>
84 </configuration>
85 <executions>
86 <execution>
87 <id>hyracks-cc-start</id>
88 <phase>pre-integration-test</phase>
89 <goals>
90 <goal>start-cc</goal>
91 </goals>
92 </execution>
93 <execution>
94 <id>hyracks-nc1-start</id>
95 <phase>pre-integration-test</phase>
96 <goals>
97 <goal>start-nc</goal>
98 </goals>
99 <configuration>
100 <nodeId>NC1</nodeId>
101 <dataIpAddress>127.0.0.1</dataIpAddress>
102 <ccHost>localhost</ccHost>
103 </configuration>
104 </execution>
105 <execution>
106 <id>hyracks-nc2-start</id>
107 <phase>pre-integration-test</phase>
108 <goals>
109 <goal>start-nc</goal>
110 </goals>
111 <configuration>
112 <nodeId>NC2</nodeId>
113 <dataIpAddress>127.0.0.1</dataIpAddress>
114 <ccHost>localhost</ccHost>
115 </configuration>
116 </execution>
117 <execution>
118 <id>deploy-app</id>
119 <phase>pre-integration-test</phase>
120 <goals>
121 <goal>deploy-app</goal>
122 </goals>
123 <configuration>
124 <ccHost>localhost</ccHost>
125 <appName>text</appName>
126 <harFile>${project.build.directory}/textapp-${project.version}-app-assembly.zip</harFile>
127 </configuration>
128 </execution>
129 <execution>
130 <id>stop-services</id>
131 <phase>post-integration-test</phase>
132 <goals>
133 <goal>stop-services</goal>
134 </goals>
135 </execution>
136 </executions>
137 </plugin>
138 <plugin>
139 <groupId>org.apache.maven.plugins</groupId>
140 <artifactId>maven-compiler-plugin</artifactId>
141 <version>2.0.2</version>
142 <configuration>
madhusudancs@gmail.com454e8502013-02-26 04:39:17 +0000143 <source>1.7</source>
144 <target>1.7</target>
buyingyibc168c82013-03-02 08:38:44 +0000145 <fork>true</fork>
vinayakb0c860392012-10-06 18:47:20 +0000146 </configuration>
147 </plugin>
148 <plugin>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-failsafe-plugin</artifactId>
151 <version>2.8.1</version>
152 <executions>
153 <execution>
154 <id>it</id>
155 <phase>integration-test</phase>
156 <goals>
157 <goal>integration-test</goal>
158 </goals>
159 </execution>
160 </executions>
161 </plugin>
162 </plugins>
163 </build>
164 <dependencies>
165 <dependency>
zheilbrone5b29862013-03-07 05:25:23 +0000166 <groupId>edu.uci.ics.hyracks</groupId>
vinayakb0c860392012-10-06 18:47:20 +0000167 <artifactId>texthelper</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000168 <version>0.2.3-SNAPSHOT</version>
vinayakb0c860392012-10-06 18:47:20 +0000169 <scope>compile</scope>
170 </dependency>
171 <dependency>
zheilbrone5b29862013-03-07 05:25:23 +0000172 <groupId>edu.uci.ics.hyracks</groupId>
vinayakb0c860392012-10-06 18:47:20 +0000173 <artifactId>textclient</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000174 <version>0.2.3-SNAPSHOT</version>
vinayakb0c860392012-10-06 18:47:20 +0000175 <type>jar</type>
176 <scope>test</scope>
177 </dependency>
178 <dependency>
179 <groupId>junit</groupId>
180 <artifactId>junit</artifactId>
181 <version>4.8.2</version>
182 <type>jar</type>
183 <scope>test</scope>
184 </dependency>
185 </dependencies>
186</project>