Changeset 7927


Ignore:
Timestamp:
03/22/12 12:53:50 (8 years ago)
Author:
curtis
Message:

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

Location:
trunk/projects/prairie-ome-tiff
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/projects/prairie-ome-tiff/pom.xml

    r7913 r7927  
    5959        </configuration> 
    6060      </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> 
    6183    </plugins> 
    6284  </build> 
Note: See TracChangeset for help on using the changeset viewer.