vinayakb | 168d92f | 2010-09-30 20:57:28 +0000 | [diff] [blame] | 1 | <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> |
vinayakb | 7bb5f9f | 2011-05-05 23:29:45 +0000 | [diff] [blame] | 5 | <version>0.1.6-SNAPSHOT</version> |
vinayakb | 168d92f | 2010-09-30 20:57:28 +0000 | [diff] [blame] | 6 | |
| 7 | <parent> |
| 8 | <groupId>edu.uci.ics.hyracks.examples</groupId> |
| 9 | <artifactId>text-example</artifactId> |
vinayakb | 7bb5f9f | 2011-05-05 23:29:45 +0000 | [diff] [blame] | 10 | <version>0.1.6-SNAPSHOT</version> |
vinayakb | 168d92f | 2010-09-30 20:57:28 +0000 | [diff] [blame] | 11 | </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> |
vinayakb | 95e0f03 | 2011-05-20 07:26:27 +0000 | [diff] [blame^] | 48 | <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> |
| 99 | </executions> |
| 100 | </plugin> |
| 101 | <plugin> |
| 102 | <groupId>org.apache.maven.plugins</groupId> |
| 103 | <artifactId>maven-compiler-plugin</artifactId> |
| 104 | <version>2.0.2</version> |
| 105 | <configuration> |
| 106 | <source>1.6</source> |
| 107 | <target>1.6</target> |
| 108 | </configuration> |
| 109 | </plugin> |
| 110 | <plugin> |
| 111 | <groupId>org.apache.maven.plugins</groupId> |
| 112 | <artifactId>maven-failsafe-plugin</artifactId> |
| 113 | <version>2.8.1</version> |
| 114 | <executions> |
| 115 | <execution> |
| 116 | <id>it</id> |
| 117 | <phase>integration-test</phase> |
| 118 | <goals> |
| 119 | <goal>integration-test</goal> |
| 120 | </goals> |
| 121 | </execution> |
| 122 | </executions> |
| 123 | </plugin> |
vinayakb | 168d92f | 2010-09-30 20:57:28 +0000 | [diff] [blame] | 124 | </plugins> |
| 125 | </build> |
| 126 | <dependencies> |
| 127 | <dependency> |
| 128 | <groupId>edu.uci.ics.hyracks.examples.text</groupId> |
| 129 | <artifactId>texthelper</artifactId> |
vinayakb | 7bb5f9f | 2011-05-05 23:29:45 +0000 | [diff] [blame] | 130 | <version>0.1.6-SNAPSHOT</version> |
vinayakb | 168d92f | 2010-09-30 20:57:28 +0000 | [diff] [blame] | 131 | <scope>compile</scope> |
| 132 | </dependency> |
vinayakb | 95e0f03 | 2011-05-20 07:26:27 +0000 | [diff] [blame^] | 133 | <dependency> |
| 134 | <groupId>edu.uci.ics.hyracks.examples.text</groupId> |
| 135 | <artifactId>textclient</artifactId> |
| 136 | <version>0.1.6-SNAPSHOT</version> |
| 137 | <type>jar</type> |
| 138 | <scope>test</scope> |
| 139 | </dependency> |
| 140 | <dependency> |
| 141 | <groupId>junit</groupId> |
| 142 | <artifactId>junit</artifactId> |
| 143 | <version>4.8.2</version> |
| 144 | <type>jar</type> |
| 145 | <scope>test</scope> |
| 146 | </dependency> |
vinayakb | 168d92f | 2010-09-30 20:57:28 +0000 | [diff] [blame] | 147 | </dependencies> |
vinayakb | 95e0f03 | 2011-05-20 07:26:27 +0000 | [diff] [blame^] | 148 | </project> |