vinayakb | 4a6309b | 2012-10-29 15:44:02 +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"> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 2 | <modelVersion>4.0.0</modelVersion> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 3 | <artifactId>pregelix-example</artifactId> |
| 4 | <packaging>jar</packaging> |
| 5 | <name>pregelix-example</name> |
| 6 | |
| 7 | <parent> |
buyingyi | e775250 | 2012-10-08 00:35:31 +0000 | [diff] [blame] | 8 | <groupId>edu.uci.ics.hyracks</groupId> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 9 | <artifactId>pregelix</artifactId> |
vinayakb | 70c821c | 2012-10-29 15:46:12 +0000 | [diff] [blame^] | 10 | <version>0.2.3-SNAPSHOT</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 11 | </parent> |
| 12 | |
| 13 | <build> |
| 14 | <plugins> |
| 15 | <plugin> |
| 16 | <groupId>org.apache.maven.plugins</groupId> |
| 17 | <artifactId>maven-compiler-plugin</artifactId> |
| 18 | <version>2.0.2</version> |
| 19 | <configuration> |
| 20 | <source>1.6</source> |
| 21 | <target>1.6</target> |
| 22 | </configuration> |
| 23 | </plugin> |
| 24 | <plugin> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 25 | <artifactId>maven-assembly-plugin</artifactId> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 26 | <configuration> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 27 | <descriptorRefs> |
| 28 | <descriptorRef>jar-with-dependencies</descriptorRef> |
| 29 | </descriptorRefs> |
| 30 | </configuration> |
buyingyi | 4c6d6e8 | 2012-10-10 11:46:54 +0000 | [diff] [blame] | 31 | <executions> |
| 32 | <execution> |
| 33 | <id>make-my-jar-with-dependencies</id> |
| 34 | <phase>package</phase> |
| 35 | <goals> |
| 36 | <goal>single</goal> |
| 37 | </goals> |
| 38 | </execution> |
| 39 | </executions> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 40 | </plugin> |
| 41 | <plugin> |
| 42 | <groupId>org.codehaus.mojo</groupId> |
| 43 | <artifactId>appassembler-maven-plugin</artifactId> |
| 44 | <executions> |
| 45 | <execution> |
| 46 | <configuration> |
| 47 | <programs> |
| 48 | <program> |
| 49 | <mainClass>edu.uci.ics.pregelix.example.Client</mainClass> |
| 50 | <name>pregelix</name> |
| 51 | </program> |
| 52 | </programs> |
| 53 | <repositoryLayout>flat</repositoryLayout> |
| 54 | <repositoryName>lib</repositoryName> |
| 55 | </configuration> |
| 56 | <phase>package</phase> |
| 57 | <goals> |
| 58 | <goal>assemble</goal> |
| 59 | </goals> |
| 60 | </execution> |
| 61 | </executions> |
| 62 | </plugin> |
| 63 | <plugin> |
| 64 | <groupId>org.apache.maven.plugins</groupId> |
| 65 | <artifactId>maven-surefire-plugin</artifactId> |
| 66 | <version>2.7.2</version> |
| 67 | <configuration> |
| 68 | <forkMode>pertest</forkMode> |
buyingyi | 6259805 | 2012-10-22 19:55:10 +0000 | [diff] [blame] | 69 | <argLine>-enableassertions -Xmx512m -XX:MaxPermSize=300m -Dfile.encoding=UTF-8 |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 70 | -Djava.util.logging.config.file=src/test/resources/logging.properties</argLine> |
| 71 | <includes> |
| 72 | <include>**/*TestSuite.java</include> |
| 73 | <include>**/*Test.java</include> |
| 74 | </includes> |
| 75 | </configuration> |
| 76 | </plugin> |
| 77 | <plugin> |
| 78 | <artifactId>maven-clean-plugin</artifactId> |
| 79 | <configuration> |
| 80 | <filesets> |
| 81 | <fileset> |
| 82 | <directory>.</directory> |
| 83 | <includes> |
| 84 | <include>teststore*</include> |
| 85 | <include>edu*</include> |
| 86 | <include>actual*</include> |
| 87 | <include>build*</include> |
| 88 | <include>expect*</include> |
| 89 | <include>ClusterController*</include> |
| 90 | <include>edu.uci.*</include> |
| 91 | </includes> |
| 92 | </fileset> |
| 93 | </filesets> |
| 94 | </configuration> |
| 95 | </plugin> |
| 96 | </plugins> |
| 97 | </build> |
| 98 | |
| 99 | <dependencies> |
| 100 | <dependency> |
buyingyi | e775250 | 2012-10-08 00:35:31 +0000 | [diff] [blame] | 101 | <groupId>edu.uci.ics.hyracks</groupId> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 102 | <artifactId>pregelix-core</artifactId> |
vinayakb | 70c821c | 2012-10-29 15:46:12 +0000 | [diff] [blame^] | 103 | <version>0.2.3-SNAPSHOT</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 104 | <type>jar</type> |
| 105 | <scope>compile</scope> |
| 106 | </dependency> |
| 107 | <dependency> |
| 108 | <groupId>junit</groupId> |
| 109 | <artifactId>junit</artifactId> |
| 110 | <version>4.8.1</version> |
| 111 | <scope>test</scope> |
| 112 | </dependency> |
| 113 | <dependency> |
| 114 | <groupId>com.google.collections</groupId> |
| 115 | <artifactId>google-collections</artifactId> |
| 116 | <version>1.0</version> |
| 117 | </dependency> |
| 118 | </dependencies> |
| 119 | |
| 120 | </project> |