buyingyi | b3722a0 | 2013-01-09 07:17:10 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 4 | <modelVersion>4.0.0</modelVersion> |
jianfeng.jia@gmail.com | 83f4ee5 | 2013-01-29 08:09:24 +0000 | [diff] [blame] | 5 | <artifactId>genomix-core</artifactId> |
| 6 | <name>genomix-core</name> |
| 7 | |
| 8 | <parent> |
| 9 | <groupId>edu.uci.ics.hyracks</groupId> |
| 10 | <artifactId>genomix</artifactId> |
| 11 | <version>0.2.3-SNAPSHOT</version> |
| 12 | </parent> |
buyingyi | b3722a0 | 2013-01-09 07:17:10 +0000 | [diff] [blame] | 13 | |
| 14 | <properties> |
| 15 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 16 | </properties> |
| 17 | |
| 18 | <build> |
| 19 | <plugins> |
| 20 | <plugin> |
jianfeng.jia@gmail.com | b111255 | 2013-02-05 02:11:55 +0000 | [diff] [blame] | 21 | <artifactId>maven-assembly-plugin</artifactId> |
| 22 | <configuration> |
| 23 | <descriptorRefs> |
| 24 | <descriptorRef>jar-with-dependencies</descriptorRef> |
| 25 | </descriptorRefs> |
| 26 | </configuration> |
| 27 | <executions> |
| 28 | <execution> |
| 29 | <id>make-my-jar-with-dependencies</id> |
| 30 | <phase>package</phase> |
| 31 | <goals> |
| 32 | <goal>single</goal> |
| 33 | </goals> |
| 34 | </execution> |
| 35 | <execution> |
| 36 | <configuration> |
| 37 | <descriptors> |
| 38 | <descriptor>src/main/assembly/binary-assembly.xml</descriptor> |
| 39 | </descriptors> |
| 40 | </configuration> |
| 41 | <phase>package</phase> |
| 42 | <goals> |
| 43 | <goal>attached</goal> |
| 44 | </goals> |
| 45 | </execution> |
| 46 | </executions> |
| 47 | </plugin> |
| 48 | <plugin> |
buyingyi | b3722a0 | 2013-01-09 07:17:10 +0000 | [diff] [blame] | 49 | <groupId>org.apache.maven.plugins</groupId> |
| 50 | <artifactId>maven-compiler-plugin</artifactId> |
| 51 | <version>2.0.2</version> |
| 52 | <configuration> |
| 53 | <source>1.6</source> |
| 54 | <target>1.6</target> |
| 55 | </configuration> |
| 56 | </plugin> |
| 57 | <plugin> |
| 58 | <groupId>org.codehaus.mojo</groupId> |
| 59 | <artifactId>appassembler-maven-plugin</artifactId> |
| 60 | <executions> |
| 61 | <execution> |
| 62 | <configuration> |
| 63 | <programs> |
| 64 | <program> |
| 65 | <mainClass>edu.uci.ics.genomix.Driver</mainClass> |
| 66 | <name>genomix</name> |
| 67 | </program> |
| 68 | </programs> |
| 69 | <repositoryLayout>flat</repositoryLayout> |
| 70 | <repositoryName>lib</repositoryName> |
| 71 | </configuration> |
| 72 | <phase>package</phase> |
| 73 | <goals> |
| 74 | <goal>assemble</goal> |
| 75 | </goals> |
| 76 | </execution> |
| 77 | </executions> |
| 78 | </plugin> |
jianfeng.jia@gmail.com | b111255 | 2013-02-05 02:11:55 +0000 | [diff] [blame] | 79 | |
buyingyi | b3722a0 | 2013-01-09 07:17:10 +0000 | [diff] [blame] | 80 | <plugin> |
| 81 | <groupId>org.apache.maven.plugins</groupId> |
| 82 | <artifactId>maven-surefire-plugin</artifactId> |
| 83 | <version>2.7.2</version> |
| 84 | <configuration> |
| 85 | <forkMode>pertest</forkMode> |
| 86 | <argLine>-enableassertions -Xmx512m -XX:MaxPermSize=300m |
| 87 | -Dfile.encoding=UTF-8 |
| 88 | -Djava.util.logging.config.file=src/test/resources/logging.properties</argLine> |
| 89 | <includes> |
| 90 | <include>**/*TestSuite.java</include> |
| 91 | <include>**/*Test.java</include> |
| 92 | </includes> |
| 93 | </configuration> |
| 94 | </plugin> |
| 95 | <plugin> |
| 96 | <artifactId>maven-clean-plugin</artifactId> |
| 97 | <configuration> |
| 98 | <filesets> |
| 99 | <fileset> |
| 100 | <directory>.</directory> |
| 101 | <includes> |
| 102 | <include>teststore*</include> |
| 103 | <include>edu*</include> |
| 104 | <include>actual*</include> |
| 105 | <include>build*</include> |
| 106 | <include>expect*</include> |
| 107 | <include>ClusterController*</include> |
| 108 | </includes> |
| 109 | </fileset> |
| 110 | </filesets> |
| 111 | </configuration> |
| 112 | </plugin> |
jianfeng.jia@gmail.com | 71e4fce | 2013-01-10 03:20:55 +0000 | [diff] [blame] | 113 | <plugin> |
| 114 | <artifactId>maven-resources-plugin</artifactId> |
| 115 | <version>2.5</version> |
| 116 | <executions> |
| 117 | <execution> |
| 118 | <id>copy-scripts</id> |
| 119 | <!-- here the phase you need --> |
| 120 | <phase>package</phase> |
| 121 | <goals> |
| 122 | <goal>copy-resources</goal> |
| 123 | </goals> |
| 124 | <configuration> |
| 125 | <outputDirectory>target/appassembler/bin</outputDirectory> |
| 126 | <resources> |
| 127 | <resource> |
| 128 | <directory>src/main/resources/scripts</directory> |
| 129 | </resource> |
| 130 | </resources> |
| 131 | </configuration> |
| 132 | </execution> |
| 133 | <execution> |
| 134 | <id>copy-conf</id> |
| 135 | <!-- here the phase you need --> |
| 136 | <phase>package</phase> |
| 137 | <goals> |
| 138 | <goal>copy-resources</goal> |
| 139 | </goals> |
| 140 | <configuration> |
| 141 | <outputDirectory>target/appassembler/conf</outputDirectory> |
| 142 | <resources> |
| 143 | <resource> |
| 144 | <directory>src/main/resources/conf</directory> |
| 145 | </resource> |
| 146 | </resources> |
| 147 | </configuration> |
| 148 | </execution> |
| 149 | </executions> |
| 150 | </plugin> |
| 151 | <plugin> |
| 152 | <groupId>org.apache.maven.plugins</groupId> |
| 153 | <artifactId>maven-resources-plugin</artifactId> |
| 154 | <version>2.6</version> |
| 155 | </plugin> |
buyingyi | b3722a0 | 2013-01-09 07:17:10 +0000 | [diff] [blame] | 156 | </plugins> |
| 157 | </build> |
| 158 | |
buyingyi | b3722a0 | 2013-01-09 07:17:10 +0000 | [diff] [blame] | 159 | <dependencies> |
| 160 | <dependency> |
| 161 | <groupId>junit</groupId> |
| 162 | <artifactId>junit</artifactId> |
| 163 | <version>4.8.1</version> |
| 164 | <scope>test</scope> |
| 165 | </dependency> |
| 166 | <dependency> |
| 167 | <groupId>edu.uci.ics.hyracks</groupId> |
| 168 | <artifactId>hyracks-dataflow-std</artifactId> |
| 169 | <version>0.2.3-SNAPSHOT</version> |
| 170 | <type>jar</type> |
| 171 | <scope>compile</scope> |
| 172 | </dependency> |
| 173 | <dependency> |
| 174 | <groupId>edu.uci.ics.hyracks</groupId> |
| 175 | <artifactId>hyracks-api</artifactId> |
| 176 | <version>0.2.3-SNAPSHOT</version> |
| 177 | <type>jar</type> |
| 178 | <scope>compile</scope> |
| 179 | </dependency> |
| 180 | <dependency> |
| 181 | <groupId>edu.uci.ics.hyracks</groupId> |
| 182 | <artifactId>hyracks-dataflow-common</artifactId> |
| 183 | <version>0.2.3-SNAPSHOT</version> |
| 184 | <type>jar</type> |
| 185 | <scope>compile</scope> |
| 186 | </dependency> |
| 187 | <dependency> |
| 188 | <groupId>edu.uci.ics.hyracks</groupId> |
| 189 | <artifactId>hyracks-data-std</artifactId> |
| 190 | <version>0.2.3-SNAPSHOT</version> |
| 191 | </dependency> |
| 192 | <dependency> |
| 193 | <groupId>edu.uci.ics.hyracks</groupId> |
| 194 | <artifactId>hyracks-control-cc</artifactId> |
| 195 | <version>0.2.3-SNAPSHOT</version> |
| 196 | <type>jar</type> |
| 197 | <scope>compile</scope> |
| 198 | </dependency> |
| 199 | <dependency> |
| 200 | <groupId>edu.uci.ics.hyracks</groupId> |
| 201 | <artifactId>hyracks-control-nc</artifactId> |
| 202 | <version>0.2.3-SNAPSHOT</version> |
| 203 | <type>jar</type> |
| 204 | <scope>compile</scope> |
| 205 | </dependency> |
| 206 | <dependency> |
| 207 | <groupId>com.kenai.nbpwr</groupId> |
| 208 | <artifactId>org-apache-commons-io</artifactId> |
| 209 | <version>1.3.1-201002241208</version> |
| 210 | <type>nbm</type> |
| 211 | <scope>test</scope> |
| 212 | </dependency> |
| 213 | <dependency> |
| 214 | <groupId>edu.uci.ics.hyracks.examples</groupId> |
| 215 | <artifactId>hyracks-integration-tests</artifactId> |
| 216 | <version>0.2.3-SNAPSHOT</version> |
| 217 | <scope>test</scope> |
| 218 | </dependency> |
| 219 | <dependency> |
| 220 | <groupId>edu.uci.ics.hyracks</groupId> |
| 221 | <artifactId>hyracks-ipc</artifactId> |
| 222 | <version>0.2.3-SNAPSHOT</version> |
| 223 | <type>jar</type> |
| 224 | <scope>compile</scope> |
| 225 | </dependency> |
| 226 | </dependencies> |
jianfeng.jia@gmail.com | 83f4ee5 | 2013-01-29 08:09:24 +0000 | [diff] [blame] | 227 | </project> |