buyingyi | 8027a49 | 2013-07-10 23:54:56 -0700 | [diff] [blame] | 1 | <!-- ! Copyright 2009-2013 by The Regents of the University of California |
| 2 | ! Licensed under the Apache License, Version 2.0 (the "License"); ! you may |
| 3 | not use this file except in compliance with the License. ! you may obtain |
| 4 | a copy of the License from ! ! http://www.apache.org/licenses/LICENSE-2.0 |
| 5 | ! ! Unless required by applicable law or agreed to in writing, software ! |
| 6 | distributed under the License is distributed on an "AS IS" BASIS, ! WITHOUT |
| 7 | WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ! See the |
| 8 | License for the specific language governing permissions and ! limitations |
| 9 | under the License. ! --> |
buyingyi | 7833f6d | 2013-07-14 20:37:04 -0700 | [diff] [blame] | 10 | <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"> |
vinayakb | 1ca34f4 | 2013-03-25 03:17:01 +0000 | [diff] [blame] | 11 | <modelVersion>4.0.0</modelVersion> |
vinayakb | 1ca34f4 | 2013-03-25 03:17:01 +0000 | [diff] [blame] | 12 | <artifactId>hivesterix-dist</artifactId> |
vinayakb | 1ca34f4 | 2013-03-25 03:17:01 +0000 | [diff] [blame] | 13 | <name>hivesterix-dist</name> |
| 14 | |
| 15 | <parent> |
buyingyi | 8027a49 | 2013-07-10 23:54:56 -0700 | [diff] [blame] | 16 | <groupId>edu.uci.ics.hyracks</groupId> |
| 17 | <artifactId>hivesterix</artifactId> |
buyingyi | 8210a97 | 2013-07-14 20:37:18 -0700 | [diff] [blame] | 18 | <version>0.2.8-SNAPSHOT</version> |
buyingyi | 8027a49 | 2013-07-10 23:54:56 -0700 | [diff] [blame] | 19 | </parent> |
vinayakb | 1ca34f4 | 2013-03-25 03:17:01 +0000 | [diff] [blame] | 20 | |
| 21 | <dependencies> |
| 22 | <dependency> |
buyingyi | 8027a49 | 2013-07-10 23:54:56 -0700 | [diff] [blame] | 23 | <groupId>javax.servlet</groupId> |
| 24 | <artifactId>servlet-api</artifactId> |
| 25 | <version>2.5</version> |
buyingyi | 3ed0044 | 2013-07-09 23:46:43 -0700 | [diff] [blame] | 26 | <type>jar</type> |
| 27 | <scope>compile</scope> |
| 28 | </dependency> |
| 29 | <dependency> |
vinayakb | 1ca34f4 | 2013-03-25 03:17:01 +0000 | [diff] [blame] | 30 | <groupId>edu.uci.ics.hyracks</groupId> |
| 31 | <artifactId>hivesterix-translator</artifactId> |
buyingyi | 8210a97 | 2013-07-14 20:37:18 -0700 | [diff] [blame] | 32 | <version>0.2.8-SNAPSHOT</version> |
vinayakb | 1ca34f4 | 2013-03-25 03:17:01 +0000 | [diff] [blame] | 33 | <type>jar</type> |
| 34 | <scope>compile</scope> |
| 35 | </dependency> |
| 36 | <dependency> |
| 37 | <groupId>edu.uci.ics.hyracks</groupId> |
| 38 | <artifactId>hivesterix-optimizer</artifactId> |
buyingyi | 8210a97 | 2013-07-14 20:37:18 -0700 | [diff] [blame] | 39 | <version>0.2.8-SNAPSHOT</version> |
vinayakb | 1ca34f4 | 2013-03-25 03:17:01 +0000 | [diff] [blame] | 40 | <type>jar</type> |
| 41 | <scope>compile</scope> |
| 42 | </dependency> |
| 43 | <dependency> |
vinayakb | 1ca34f4 | 2013-03-25 03:17:01 +0000 | [diff] [blame] | 44 | <groupId>edu.uci.ics.hyracks</groupId> |
| 45 | <artifactId>algebricks-compiler</artifactId> |
buyingyi | 8210a97 | 2013-07-14 20:37:18 -0700 | [diff] [blame] | 46 | <version>0.2.8-SNAPSHOT</version> |
vinayakb | 1ca34f4 | 2013-03-25 03:17:01 +0000 | [diff] [blame] | 47 | <type>jar</type> |
| 48 | <scope>compile</scope> |
| 49 | </dependency> |
| 50 | <dependency> |
| 51 | <groupId>edu.uci.ics.hyracks</groupId> |
| 52 | <artifactId>hyracks-control-cc</artifactId> |
buyingyi | 8210a97 | 2013-07-14 20:37:18 -0700 | [diff] [blame] | 53 | <version>0.2.8-SNAPSHOT</version> |
vinayakb | 1ca34f4 | 2013-03-25 03:17:01 +0000 | [diff] [blame] | 54 | <type>jar</type> |
| 55 | <scope>compile</scope> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>edu.uci.ics.hyracks</groupId> |
| 59 | <artifactId>hyracks-control-nc</artifactId> |
buyingyi | 8210a97 | 2013-07-14 20:37:18 -0700 | [diff] [blame] | 60 | <version>0.2.8-SNAPSHOT</version> |
vinayakb | 1ca34f4 | 2013-03-25 03:17:01 +0000 | [diff] [blame] | 61 | <type>jar</type> |
| 62 | <scope>compile</scope> |
| 63 | </dependency> |
| 64 | </dependencies> |
| 65 | <build> |
| 66 | <plugins> |
| 67 | <plugin> |
| 68 | <groupId>org.apache.maven.plugins</groupId> |
| 69 | <artifactId>maven-compiler-plugin</artifactId> |
| 70 | <version>2.0.2</version> |
| 71 | <configuration> |
| 72 | <source>1.7</source> |
| 73 | <target>1.7</target> |
| 74 | <encoding>UTF-8</encoding> |
| 75 | <fork>true</fork> |
| 76 | </configuration> |
| 77 | </plugin> |
| 78 | <plugin> |
| 79 | <artifactId>maven-jar-plugin</artifactId> |
| 80 | <executions> |
| 81 | <execution> |
| 82 | <id>patch</id> |
| 83 | <goals> |
| 84 | <goal>jar</goal> |
| 85 | </goals> |
| 86 | <phase>package</phase> |
| 87 | <configuration> |
| 88 | <classifier>patch</classifier> |
| 89 | <finalName>a-hive</finalName> |
| 90 | <includes> |
| 91 | <include>**/org/apache/**</include> |
| 92 | </includes> |
| 93 | </configuration> |
| 94 | </execution> |
| 95 | </executions> |
| 96 | </plugin> |
| 97 | <plugin> |
| 98 | <groupId>org.codehaus.mojo</groupId> |
| 99 | <artifactId>appassembler-maven-plugin</artifactId> |
| 100 | <version>1.3</version> |
| 101 | <executions> |
| 102 | <execution> |
| 103 | <configuration> |
| 104 | <programs> |
| 105 | <program> |
| 106 | <mainClass>edu.uci.ics.asterix.hive.cli.CliDriver</mainClass> |
| 107 | <name>algebricks-hivesterix-cmd</name> |
| 108 | </program> |
| 109 | </programs> |
| 110 | <repositoryLayout>flat</repositoryLayout> |
| 111 | <repositoryName>lib</repositoryName> |
| 112 | </configuration> |
| 113 | <phase>package</phase> |
| 114 | <goals> |
| 115 | <goal>assemble</goal> |
| 116 | </goals> |
| 117 | </execution> |
| 118 | </executions> |
| 119 | </plugin> |
| 120 | <plugin> |
| 121 | <artifactId>maven-assembly-plugin</artifactId> |
| 122 | <version>2.2-beta-5</version> |
| 123 | <executions> |
| 124 | <execution> |
| 125 | <configuration> |
| 126 | <descriptors> |
| 127 | <descriptor>src/main/assembly/binary-assembly.xml</descriptor> |
| 128 | </descriptors> |
| 129 | </configuration> |
| 130 | <phase>package</phase> |
| 131 | <goals> |
| 132 | <goal>attached</goal> |
| 133 | </goals> |
| 134 | </execution> |
| 135 | </executions> |
| 136 | </plugin> |
| 137 | <plugin> |
| 138 | <groupId>org.apache.maven.plugins</groupId> |
| 139 | <artifactId>maven-surefire-plugin</artifactId> |
| 140 | <version>2.13</version> |
| 141 | <configuration> |
| 142 | <forkMode>pertest</forkMode> |
| 143 | <argLine>-enableassertions -Xmx2047m -Dfile.encoding=UTF-8 |
| 144 | -Djava.util.logging.config.file=src/test/resources/logging.properties</argLine> |
| 145 | <includes> |
| 146 | <include>**/test/optimizer/*TestSuite.java</include> |
| 147 | <include>**/test/optimizer/*Test.java</include> |
| 148 | <include>**/test/runtimefunction/*TestSuite.java</include> |
| 149 | <include>**/test/runtimefunction/*Test.java</include> |
| 150 | </includes> |
| 151 | </configuration> |
| 152 | </plugin> |
| 153 | <plugin> |
| 154 | <artifactId>maven-resources-plugin</artifactId> |
| 155 | <version>2.5</version> |
| 156 | <executions> |
| 157 | <execution> |
| 158 | <id>copy-scripts</id> |
| 159 | <!-- here the phase you need --> |
| 160 | <phase>package</phase> |
| 161 | <goals> |
| 162 | <goal>copy-resources</goal> |
| 163 | </goals> |
| 164 | <configuration> |
| 165 | <outputDirectory>target/appassembler/bin</outputDirectory> |
| 166 | <resources> |
| 167 | <resource> |
| 168 | <directory>src/main/resources/scripts</directory> |
| 169 | </resource> |
| 170 | </resources> |
| 171 | </configuration> |
| 172 | </execution> |
| 173 | <execution> |
| 174 | <id>copy-conf</id> |
| 175 | <!-- here the phase you need --> |
| 176 | <phase>package</phase> |
| 177 | <goals> |
| 178 | <goal>copy-resources</goal> |
| 179 | </goals> |
| 180 | <configuration> |
| 181 | <outputDirectory>target/appassembler/conf</outputDirectory> |
| 182 | <resources> |
| 183 | <resource> |
| 184 | <directory>src/main/resources/conf</directory> |
| 185 | </resource> |
| 186 | </resources> |
| 187 | </configuration> |
| 188 | </execution> |
| 189 | <execution> |
| 190 | <id>copy-jar</id> |
| 191 | <!-- here the phase you need --> |
| 192 | <phase>package</phase> |
| 193 | <goals> |
| 194 | <goal>copy-resources</goal> |
| 195 | </goals> |
| 196 | <configuration> |
| 197 | <outputDirectory>target/appassembler/lib</outputDirectory> |
| 198 | <resources> |
| 199 | <resource> |
| 200 | <directory>target</directory> |
| 201 | <includes> |
| 202 | <include>*patch.jar</include> |
| 203 | </includes> |
| 204 | </resource> |
| 205 | </resources> |
| 206 | </configuration> |
| 207 | </execution> |
| 208 | </executions> |
| 209 | </plugin> |
| 210 | <plugin> |
buyingyi | 8027a49 | 2013-07-10 23:54:56 -0700 | [diff] [blame] | 211 | <artifactId>maven-assembly-plugin</artifactId> |
| 212 | <version>2.2-beta-5</version> |
| 213 | <executions> |
| 214 | <execution> |
| 215 | <configuration> |
| 216 | <descriptors> |
| 217 | <descriptor>src/main/assembly/binary-assembly.xml</descriptor> |
| 218 | </descriptors> |
| 219 | </configuration> |
| 220 | <phase>package</phase> |
| 221 | <goals> |
| 222 | <goal>attached</goal> |
| 223 | </goals> |
| 224 | </execution> |
| 225 | </executions> |
| 226 | </plugin> |
| 227 | <plugin> |
vinayakb | 1ca34f4 | 2013-03-25 03:17:01 +0000 | [diff] [blame] | 228 | <artifactId>maven-clean-plugin</artifactId> |
| 229 | <version>2.5</version> |
| 230 | <configuration> |
| 231 | <filesets> |
| 232 | <fileset> |
| 233 | <directory>.</directory> |
| 234 | <includes> |
| 235 | <include>metastore*</include> |
| 236 | <include>hadoop*</include> |
| 237 | <include>edu*</include> |
| 238 | <include>tmp*</include> |
| 239 | <include>build*</include> |
| 240 | <include>target*</include> |
| 241 | <include>log*</include> |
| 242 | <include>derby.log</include> |
| 243 | <include>ClusterController*</include> |
| 244 | </includes> |
| 245 | </fileset> |
| 246 | </filesets> |
| 247 | </configuration> |
| 248 | </plugin> |
| 249 | </plugins> |
| 250 | </build> |
| 251 | <repositories> |
| 252 | <repository> |
| 253 | <releases> |
| 254 | <enabled>true</enabled> |
| 255 | <updatePolicy>always</updatePolicy> |
| 256 | <checksumPolicy>warn</checksumPolicy> |
| 257 | </releases> |
| 258 | <snapshots> |
| 259 | <enabled>true</enabled> |
| 260 | <updatePolicy>always</updatePolicy> |
| 261 | <checksumPolicy>fail</checksumPolicy> |
| 262 | </snapshots> |
| 263 | <id>third-party</id> |
| 264 | <url>http://obelix.ics.uci.edu/nexus/content/repositories/third-party</url> |
| 265 | </repository> |
| 266 | <repository> |
| 267 | <releases> |
| 268 | <enabled>true</enabled> |
| 269 | <updatePolicy>always</updatePolicy> |
| 270 | <checksumPolicy>warn</checksumPolicy> |
| 271 | </releases> |
| 272 | <snapshots> |
| 273 | <enabled>true</enabled> |
| 274 | <updatePolicy>always</updatePolicy> |
| 275 | <checksumPolicy>fail</checksumPolicy> |
| 276 | </snapshots> |
| 277 | <id>hyracks-public-release</id> |
| 278 | <url>http://obelix.ics.uci.edu/nexus/content/repositories/hyracks-public-releases</url> |
| 279 | </repository> |
| 280 | </repositories> |
| 281 | </project> |