kamleshcropin / uimafit

Automatically exported from code.google.com/p/uimafit
0 stars 0 forks source link

add a "distribution" module to uimaFIT which generates a zip containing uimaFIT plus all dependencies. #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Here is the snippet of xml from cleartk-toolkit pom.xml file:

<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-5</version>
<configuration>
<descriptors>
<descriptor>src/main/assembly/bin-packed.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal> 
</goals>
</execution>
</executions>
</plugin>

Here is the assembly file:

<assembly 
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
<id>plus-dependencies</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
<baseDirectory>${project.build.finalName}/lib</baseDirectory>
<dependencySets>
<dependencySet>
<unpack>false</unpack>
<scope>runtime</scope>
</dependencySet>
</dependencySets>
</assembly>

Original issue reported on code.google.com by pvogren@gmail.com on 5 Nov 2010 at 2:52

GoogleCodeExporter commented 8 years ago
I added the maven-assembly-plugin to the pom.xml file this afternoon.  I made 
one change to the above descriptor - I made it also include the 
uimafit-version-sources.jar file to the assembly.  This was done with the 
following:

{{{
<files>
<file>
<source>target/${project.build.finalName}-sources.jar</source>
</file>
</files>
}}}

Original comment by pvogren@gmail.com on 3 Jan 2011 at 9:18

GoogleCodeExporter commented 8 years ago

Original comment by richard.eckart on 7 Apr 2011 at 12:12

GoogleCodeExporter commented 8 years ago

Original comment by richard.eckart on 8 May 2011 at 10:43