blob: a9c4d0de45be7319ae3c9c18390fb7b3b62ee6f0 [file] [log] [blame]
vinayakbcb36c5d2010-09-30 20:57:28 +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>
vinayakb4c274112012-03-13 09:05:07 +00005 <version>0.2.1-SNAPSHOT</version>
vinayakbcb36c5d2010-09-30 20:57:28 +00006
7 <parent>
8 <groupId>edu.uci.ics.hyracks.examples</groupId>
9 <artifactId>text-example</artifactId>
vinayakb4c274112012-03-13 09:05:07 +000010 <version>0.2.1-SNAPSHOT</version>
vinayakbcb36c5d2010-09-30 20:57:28 +000011 </parent>
12
13 <build>
alexander.behm8aa4e352011-09-21 18:52:49 +000014 <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
vinayakbcb36c5d2010-09-30 20:57:28 +000043 <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>
vinayakbf20ffcd2011-06-03 04:19:13 +000077 <plugin>
78 <groupId>edu.uci.ics.hyracks</groupId>
79 <artifactId>hyracks-maven-plugin</artifactId>
vinayakb25206b62012-03-13 08:50:40 +000080 <version>0.0.2</version>
vinayakbf20ffcd2011-06-03 04:19:13 +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 </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>
143 <source>1.6</source>
144 <target>1.6</target>
145 </configuration>
146 </plugin>
147 <plugin>
148 <groupId>org.apache.maven.plugins</groupId>
149 <artifactId>maven-failsafe-plugin</artifactId>
150 <version>2.8.1</version>
151 <executions>
152 <execution>
153 <id>it</id>
154 <phase>integration-test</phase>
155 <goals>
156 <goal>integration-test</goal>
157 </goals>
158 </execution>
159 </executions>
160 </plugin>
vinayakbcb36c5d2010-09-30 20:57:28 +0000161 </plugins>
162 </build>
163 <dependencies>
164 <dependency>
165 <groupId>edu.uci.ics.hyracks.examples.text</groupId>
166 <artifactId>texthelper</artifactId>
vinayakb4c274112012-03-13 09:05:07 +0000167 <version>0.2.1-SNAPSHOT</version>
vinayakbcb36c5d2010-09-30 20:57:28 +0000168 <scope>compile</scope>
169 </dependency>
vinayakbf20ffcd2011-06-03 04:19:13 +0000170 <dependency>
171 <groupId>edu.uci.ics.hyracks.examples.text</groupId>
172 <artifactId>textclient</artifactId>
vinayakb4c274112012-03-13 09:05:07 +0000173 <version>0.2.1-SNAPSHOT</version>
vinayakbf20ffcd2011-06-03 04:19:13 +0000174 <type>jar</type>
175 <scope>test</scope>
176 </dependency>
177 <dependency>
178 <groupId>junit</groupId>
179 <artifactId>junit</artifactId>
180 <version>4.8.2</version>
181 <type>jar</type>
182 <scope>test</scope>
183 </dependency>
vinayakbcb36c5d2010-09-30 20:57:28 +0000184 </dependencies>
185</project>