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 | 42c7054 | 2011-05-05 23:45:37 +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 | 42c7054 | 2011-05-05 23:45:37 +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 | 21d59d4 | 2011-06-03 04:56:21 +0000 | [diff] [blame^] | 48 | <plugin> |
| 49 | <groupId>edu.uci.ics.hyracks</groupId> |
| 50 | <artifactId>hyracks-maven-plugin</artifactId> |
| 51 | <version>0.0.1</version> |
| 52 | <configuration> |
| 53 | <hyracksServerHome>${basedir}/../../../hyracks-server/target/hyracks-server-${project.version}-binary-assembly</hyracksServerHome> |
| 54 | <hyracksCLIHome>${basedir}/../../../hyracks-cli/target/hyracks-cli-${project.version}-binary-assembly</hyracksCLIHome> |
| 55 | </configuration> |
| 56 | <executions> |
| 57 | <execution> |
| 58 | <id>hyracks-cc-start</id> |
| 59 | <phase>pre-integration-test</phase> |
| 60 | <goals> |
| 61 | <goal>start-cc</goal> |
| 62 | </goals> |
| 63 | </execution> |
| 64 | <execution> |
| 65 | <id>hyracks-nc1-start</id> |
| 66 | <phase>pre-integration-test</phase> |
| 67 | <goals> |
| 68 | <goal>start-nc</goal> |
| 69 | </goals> |
| 70 | <configuration> |
| 71 | <nodeId>NC1</nodeId> |
| 72 | <dataIpAddress>127.0.0.1</dataIpAddress> |
| 73 | <ccHost>localhost</ccHost> |
| 74 | </configuration> |
| 75 | </execution> |
| 76 | <execution> |
| 77 | <id>hyracks-nc2-start</id> |
| 78 | <phase>pre-integration-test</phase> |
| 79 | <goals> |
| 80 | <goal>start-nc</goal> |
| 81 | </goals> |
| 82 | <configuration> |
| 83 | <nodeId>NC2</nodeId> |
| 84 | <dataIpAddress>127.0.0.1</dataIpAddress> |
| 85 | <ccHost>localhost</ccHost> |
| 86 | </configuration> |
| 87 | </execution> |
| 88 | <execution> |
| 89 | <id>deploy-app</id> |
| 90 | <phase>pre-integration-test</phase> |
| 91 | <goals> |
| 92 | <goal>deploy-app</goal> |
| 93 | </goals> |
| 94 | <configuration> |
| 95 | <ccHost>localhost</ccHost> |
| 96 | <appName>text</appName> |
| 97 | <harFile>${project.build.directory}/textapp-${project.version}-app-assembly.zip</harFile> |
| 98 | </configuration> |
| 99 | </execution> |
| 100 | <execution> |
| 101 | <id>stop-services</id> |
| 102 | <phase>post-integration-test</phase> |
| 103 | <goals> |
| 104 | <goal>stop-services</goal> |
| 105 | </goals> |
| 106 | </execution> |
| 107 | </executions> |
| 108 | </plugin> |
| 109 | <plugin> |
| 110 | <groupId>org.apache.maven.plugins</groupId> |
| 111 | <artifactId>maven-compiler-plugin</artifactId> |
| 112 | <version>2.0.2</version> |
| 113 | <configuration> |
| 114 | <source>1.6</source> |
| 115 | <target>1.6</target> |
| 116 | </configuration> |
| 117 | </plugin> |
| 118 | <plugin> |
| 119 | <groupId>org.apache.maven.plugins</groupId> |
| 120 | <artifactId>maven-failsafe-plugin</artifactId> |
| 121 | <version>2.8.1</version> |
| 122 | <executions> |
| 123 | <execution> |
| 124 | <id>it</id> |
| 125 | <phase>integration-test</phase> |
| 126 | <goals> |
| 127 | <goal>integration-test</goal> |
| 128 | </goals> |
| 129 | </execution> |
| 130 | </executions> |
| 131 | </plugin> |
vinayakb | 168d92f | 2010-09-30 20:57:28 +0000 | [diff] [blame] | 132 | </plugins> |
| 133 | </build> |
| 134 | <dependencies> |
| 135 | <dependency> |
| 136 | <groupId>edu.uci.ics.hyracks.examples.text</groupId> |
| 137 | <artifactId>texthelper</artifactId> |
vinayakb | 42c7054 | 2011-05-05 23:45:37 +0000 | [diff] [blame] | 138 | <version>0.1.6-SNAPSHOT</version> |
vinayakb | 168d92f | 2010-09-30 20:57:28 +0000 | [diff] [blame] | 139 | <scope>compile</scope> |
| 140 | </dependency> |
vinayakb | 21d59d4 | 2011-06-03 04:56:21 +0000 | [diff] [blame^] | 141 | <dependency> |
| 142 | <groupId>edu.uci.ics.hyracks.examples.text</groupId> |
| 143 | <artifactId>textclient</artifactId> |
| 144 | <version>0.1.6-SNAPSHOT</version> |
| 145 | <type>jar</type> |
| 146 | <scope>test</scope> |
| 147 | </dependency> |
| 148 | <dependency> |
| 149 | <groupId>junit</groupId> |
| 150 | <artifactId>junit</artifactId> |
| 151 | <version>4.8.2</version> |
| 152 | <type>jar</type> |
| 153 | <scope>test</scope> |
| 154 | </dependency> |
vinayakb | 168d92f | 2010-09-30 20:57:28 +0000 | [diff] [blame] | 155 | </dependencies> |
| 156 | </project> |