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