vinayakb | 4df3110 | 2013-04-06 18:28:48 +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.compat</groupId> |
| 4 | <artifactId>hadoopcompatserver</artifactId> |
| 5 | <version>0.2.4-SNAPSHOT</version> |
| 6 | <name>hadoopcompatserver</name> |
| 7 | |
| 8 | <parent> |
| 9 | <groupId>edu.uci.ics.hyracks.examples</groupId> |
| 10 | <artifactId>hadoop-compat-example</artifactId> |
| 11 | <version>0.2.4-SNAPSHOT</version> |
| 12 | </parent> |
| 13 | |
| 14 | <build> |
| 15 | <plugins> |
| 16 | <plugin> |
| 17 | <groupId>org.codehaus.mojo</groupId> |
| 18 | <artifactId>appassembler-maven-plugin</artifactId> |
| 19 | <version>1.3</version> |
| 20 | <executions> |
| 21 | <execution> |
| 22 | <configuration> |
| 23 | <programs> |
| 24 | <program> |
| 25 | <mainClass>edu.uci.ics.hyracks.control.cc.CCDriver</mainClass> |
| 26 | <name>hyrackscc</name> |
| 27 | </program> |
| 28 | <program> |
| 29 | <mainClass>edu.uci.ics.hyracks.control.nc.NCDriver</mainClass> |
| 30 | <name>hyracksnc</name> |
| 31 | </program> |
| 32 | </programs> |
| 33 | <repositoryLayout>flat</repositoryLayout> |
| 34 | <repositoryName>lib</repositoryName> |
| 35 | </configuration> |
| 36 | <phase>package</phase> |
| 37 | <goals> |
| 38 | <goal>assemble</goal> |
| 39 | </goals> |
| 40 | </execution> |
| 41 | </executions> |
| 42 | </plugin> |
| 43 | <plugin> |
| 44 | <artifactId>maven-assembly-plugin</artifactId> |
| 45 | <version>2.2-beta-5</version> |
| 46 | <executions> |
| 47 | <execution> |
| 48 | <configuration> |
| 49 | <descriptors> |
| 50 | <descriptor>src/main/assembly/binary-assembly.xml</descriptor> |
| 51 | </descriptors> |
| 52 | </configuration> |
| 53 | <phase>package</phase> |
| 54 | <goals> |
| 55 | <goal>attached</goal> |
| 56 | </goals> |
| 57 | </execution> |
| 58 | </executions> |
| 59 | </plugin> |
| 60 | <plugin> |
| 61 | <groupId>edu.uci.ics.hyracks</groupId> |
| 62 | <artifactId>hyracks-virtualcluster-maven-plugin</artifactId> |
| 63 | <version>0.2.4-SNAPSHOT</version> |
| 64 | <configuration> |
| 65 | <hyracksServerHome>${basedir}/target/hadoopcompatserver-${project.version}-binary-assembly</hyracksServerHome> |
| 66 | <jvmOptions>${jvm.extraargs}</jvmOptions> |
| 67 | </configuration> |
| 68 | <executions> |
| 69 | <execution> |
| 70 | <id>hyracks-cc-start</id> |
| 71 | <phase>pre-integration-test</phase> |
| 72 | <goals> |
| 73 | <goal>start-cc</goal> |
| 74 | </goals> |
| 75 | </execution> |
| 76 | <execution> |
| 77 | <id>hyracks-nc1-start</id> |
| 78 | <phase>pre-integration-test</phase> |
| 79 | <goals> |
| 80 | <goal>start-nc</goal> |
| 81 | </goals> |
| 82 | <configuration> |
| 83 | <nodeId>NC1</nodeId> |
| 84 | <dataIpAddress>127.0.0.1</dataIpAddress> |
| 85 | <ccHost>localhost</ccHost> |
| 86 | </configuration> |
| 87 | </execution> |
| 88 | <execution> |
| 89 | <id>hyracks-nc2-start</id> |
| 90 | <phase>pre-integration-test</phase> |
| 91 | <goals> |
| 92 | <goal>start-nc</goal> |
| 93 | </goals> |
| 94 | <configuration> |
| 95 | <nodeId>NC2</nodeId> |
| 96 | <dataIpAddress>127.0.0.1</dataIpAddress> |
| 97 | <ccHost>localhost</ccHost> |
| 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> |
| 132 | </plugins> |
| 133 | </build> |
| 134 | <dependencies> |
| 135 | <dependency> |
| 136 | <groupId>edu.uci.ics.hyracks.examples.compat</groupId> |
| 137 | <artifactId>hadoopcompathelper</artifactId> |
| 138 | <version>0.2.4-SNAPSHOT</version> |
| 139 | <scope>compile</scope> |
| 140 | </dependency> |
| 141 | <dependency> |
| 142 | <groupId>edu.uci.ics.hyracks</groupId> |
| 143 | <artifactId>hyracks-control-cc</artifactId> |
| 144 | <version>0.2.4-SNAPSHOT</version> |
| 145 | <type>jar</type> |
| 146 | <scope>compile</scope> |
| 147 | </dependency> |
| 148 | <dependency> |
| 149 | <groupId>edu.uci.ics.hyracks</groupId> |
| 150 | <artifactId>hyracks-control-nc</artifactId> |
| 151 | <version>0.2.4-SNAPSHOT</version> |
| 152 | <type>jar</type> |
| 153 | <scope>compile</scope> |
| 154 | </dependency> |
| 155 | <dependency> |
| 156 | <groupId>edu.uci.ics.hyracks.examples.compat</groupId> |
| 157 | <artifactId>hadoopcompatclient</artifactId> |
| 158 | <version>0.2.4-SNAPSHOT</version> |
| 159 | <type>jar</type> |
| 160 | <scope>test</scope> |
| 161 | </dependency> |
| 162 | <dependency> |
| 163 | <groupId>junit</groupId> |
| 164 | <artifactId>junit</artifactId> |
| 165 | <version>4.8.2</version> |
| 166 | <type>jar</type> |
| 167 | <scope>test</scope> |
| 168 | </dependency> |
| 169 | </dependencies> |
| 170 | </project> |