blob: fdf5bc7038adffaab80a12220ad9bac5a7c353f4 [file] [log] [blame]
vinayakb168d92f2010-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>
vinayakb7bb5f9f2011-05-05 23:29:45 +00005 <version>0.1.6-SNAPSHOT</version>
vinayakb168d92f2010-09-30 20:57:28 +00006
7 <parent>
8 <groupId>edu.uci.ics.hyracks.examples</groupId>
9 <artifactId>text-example</artifactId>
vinayakb7bb5f9f2011-05-05 23:29:45 +000010 <version>0.1.6-SNAPSHOT</version>
vinayakb168d92f2010-09-30 20:57:28 +000011 </parent>
12
13 <build>
14 <plugins>
15 <plugin>
16 <groupId>org.apache.maven.plugins</groupId>
17 <artifactId>maven-dependency-plugin</artifactId>
18 <executions>
19 <execution>
20 <id>copy-dependencies</id>
21 <phase>package</phase>
22 <goals>
23 <goal>copy-dependencies</goal>
24 </goals>
25 <configuration>
26 <outputDirectory>target/application/lib</outputDirectory>
27 </configuration>
28 </execution>
29 </executions>
30 </plugin>
31 <plugin>
32 <artifactId>maven-assembly-plugin</artifactId>
33 <version>2.2-beta-5</version>
34 <executions>
35 <execution>
36 <configuration>
37 <descriptors>
38 <descriptor>src/main/assembly/app-assembly.xml</descriptor>
39 </descriptors>
40 </configuration>
41 <phase>package</phase>
42 <goals>
43 <goal>attached</goal>
44 </goals>
45 </execution>
46 </executions>
47 </plugin>
vinayakb95e0f032011-05-20 07:26:27 +000048 <plugin>
49 <groupId>edu.uci.ics.hyracks</groupId>
50 <artifactId>hyracks-maven-plugin</artifactId>
51 <version>${version}</version>
52 <configuration>
53 <hyracksServerHome>${basedir}/../../../hyracks-server/target/hyracks-server-${project.version}-binary-assembly</hyracksServerHome>
54 </configuration>
55 <executions>
56 <execution>
57 <id>hyracks-cc-start</id>
58 <phase>pre-integration-test</phase>
59 <goals>
60 <goal>start-cc</goal>
61 </goals>
62 </execution>
63 <execution>
64 <id>hyracks-nc1-start</id>
65 <phase>pre-integration-test</phase>
66 <goals>
67 <goal>start-nc</goal>
68 </goals>
69 <configuration>
70 <nodeId>NC1</nodeId>
71 <dataIpAddress>127.0.0.1</dataIpAddress>
72 <ccHost>localhost</ccHost>
73 </configuration>
74 </execution>
75 <execution>
76 <id>hyracks-nc2-start</id>
77 <phase>pre-integration-test</phase>
78 <goals>
79 <goal>start-nc</goal>
80 </goals>
81 <configuration>
82 <nodeId>NC2</nodeId>
83 <dataIpAddress>127.0.0.1</dataIpAddress>
84 <ccHost>localhost</ccHost>
85 </configuration>
86 </execution>
87 <execution>
88 <id>deploy-app</id>
89 <phase>pre-integration-test</phase>
90 <goals>
91 <goal>deploy-app</goal>
92 </goals>
93 <configuration>
94 <ccHost>localhost</ccHost>
95 <appName>text</appName>
96 <harFile>${project.build.directory}/textapp-${project.version}-app-assembly.zip</harFile>
97 </configuration>
98 </execution>
vinayakb27102eb2011-05-27 17:57:33 +000099 <execution>
100 <id>stop-services</id>
101 <phase>post-integration-test</phase>
102 <goals>
103 <goal>stop-services</goal>
104 </goals>
105 </execution>
vinayakb95e0f032011-05-20 07:26:27 +0000106 </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>
vinayakb168d92f2010-09-30 20:57:28 +0000131 </plugins>
132 </build>
133 <dependencies>
134 <dependency>
135 <groupId>edu.uci.ics.hyracks.examples.text</groupId>
136 <artifactId>texthelper</artifactId>
vinayakb7bb5f9f2011-05-05 23:29:45 +0000137 <version>0.1.6-SNAPSHOT</version>
vinayakb168d92f2010-09-30 20:57:28 +0000138 <scope>compile</scope>
139 </dependency>
vinayakb95e0f032011-05-20 07:26:27 +0000140 <dependency>
141 <groupId>edu.uci.ics.hyracks.examples.text</groupId>
142 <artifactId>textclient</artifactId>
143 <version>0.1.6-SNAPSHOT</version>
144 <type>jar</type>
145 <scope>test</scope>
146 </dependency>
147 <dependency>
148 <groupId>junit</groupId>
149 <artifactId>junit</artifactId>
150 <version>4.8.2</version>
151 <type>jar</type>
152 <scope>test</scope>
153 </dependency>
vinayakb168d92f2010-09-30 20:57:28 +0000154 </dependencies>
vinayakb27102eb2011-05-27 17:57:33 +0000155</project>