source: trunk/projects/prairie-ome-tiff/pom.xml @ 7927

Revision 7927, 3.7 KB checked in by curtis, 8 years ago (diff)

Add assembly for prairie-ome-tiff JAR with deps

This bundles all the dependencies into a single executable JAR,
so that you can run the program with:

java -jar prairie-ome-tiff-1.0-SNAPSHOT-all.jar

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
5    http://maven.apache.org/xsd/maven-v4.0.0.xsd">
6  <modelVersion>4.0.0</modelVersion>
7
8  <parent>
9    <groupId>loci</groupId>
10    <artifactId>pom-loci</artifactId>
11    <version>1.0-SNAPSHOT</version>
12    <relativePath>../..</relativePath>
13  </parent>
14
15  <artifactId>prairie-ome-tiff</artifactId>
16
17  <name>Prairie OME-TIFF</name>
18  <description>Command line tool to inject OME-XML into Prairie TIFF files.</description>
19  <inceptionYear>2012</inceptionYear>
20
21  <licenses>
22    <license>
23      <name>BSD</name>
24      <url>http://dev.loci.wisc.edu/svn/software/trunk/projects/prairie-ome-tiff/LICENSE.txt</url>
25      <distribution>repo</distribution>
26    </license>
27  </licenses>
28
29  <dependencies>
30    <dependency>
31      <groupId>${scifio.groupId}</groupId>
32      <artifactId>loci-common</artifactId>
33      <version>${scifio.version}</version>
34    </dependency>
35    <dependency>
36      <groupId>${scifio.groupId}</groupId>
37      <artifactId>scifio</artifactId>
38      <version>${scifio.version}</version>
39    </dependency>
40    <dependency>
41      <groupId>${scifio.groupId}</groupId>
42      <artifactId>bio-formats</artifactId>
43      <version>${scifio.version}</version>
44      <scope>runtime</scope>
45    </dependency>
46  </dependencies>
47
48  <build>
49    <plugins>
50      <plugin>
51        <artifactId>maven-jar-plugin</artifactId>
52        <configuration>
53          <archive>
54            <manifest>
55              <mainClass>loci.apps.prairie.OMEInjector</mainClass>
56              <packageName>loci.apps.prairie</packageName>
57            </manifest>
58          </archive>
59        </configuration>
60      </plugin>
61      <plugin>
62        <artifactId>maven-assembly-plugin</artifactId>
63        <configuration>
64          <descriptors>
65            <descriptor>src/main/assembly/all.xml</descriptor>
66          </descriptors>
67          <archive>
68            <manifest>
69              <mainClass>loci.apps.prairie.PrairieInjector</mainClass>
70            </manifest>
71          </archive>
72        </configuration>
73        <executions>
74          <execution>
75            <id>make-assembly</id>
76            <phase>package</phase>
77            <goals>
78              <goal>single</goal>
79            </goals>
80          </execution>
81        </executions>
82      </plugin>
83    </plugins>
84  </build>
85
86  <developers>
87    <developer>
88      <id>briney</id>
89      <name>Kristin Briney</name>
90      <url>http://loci.wisc.edu/people/kristin-briney</url>
91      <organization>UW-Madison LOCI</organization>
92      <organizationUrl>http://loci.wisc.edu/</organizationUrl>
93      <roles>
94        <role>developer</role>
95      </roles>
96      <timezone>-6</timezone>
97    </developer>
98    <developer>
99      <id>curtis</id>
100      <name>Curtis Rueden</name>
101      <email>ctrueden@wisc.edu</email>
102      <url>http://loci.wisc.edu/people/curtis-rueden</url>
103      <organization>UW-Madison LOCI</organization>
104      <organizationUrl>http://loci.wisc.edu/</organizationUrl>
105      <roles>
106        <role>architect</role>
107        <role>developer</role>
108      </roles>
109      <timezone>-6</timezone>
110      <properties>
111        <picUrl>http://loci.wisc.edu/files/loci/images/people/curtis-2010.jpg</picUrl>
112      </properties>
113    </developer>
114  </developers>
115
116  <!-- NB: for project parent, in case of partial checkout -->
117  <repositories>
118    <repository>
119      <id>loci.releases</id>
120      <url>http://dev.loci.wisc.edu/maven2/releases</url>
121    </repository>
122    <repository>
123      <id>loci.snapshots</id>
124      <url>http://dev.loci.wisc.edu/maven2/snapshots</url>
125    </repository>
126  </repositories>
127
128</project>
Note: See TracBrowser for help on using the repository browser.