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