Author: simonetripodi
Date: Sun Jan 15 10:18:35 2012
New Revision: 1231644
URL: http://svn.apache.org/viewvc?rev=1231644&view=rev
Log:
added the service simple binary distribution package (war only)
TODO: embedded server package
Modified:
incubator/any23/trunk/service/pom.xml
incubator/any23/trunk/service/src/main/assembly/bin.xml
Modified: incubator/any23/trunk/service/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/any23/trunk/service/pom.xml?rev=1231644&r1=1231643&r2=1231644&view=diff
==============================================================================
--- incubator/any23/trunk/service/pom.xml (original)
+++ incubator/any23/trunk/service/pom.xml Sun Jan 15 10:18:35 2012
@@ -106,6 +106,28 @@
</webAppConfig>
</configuration>
</plugin>
+
+ <!-- Generates the distribution package -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <attach>false</attach>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ <descriptors>
+ <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </plugin>
</plugins>
</build>
Modified: incubator/any23/trunk/service/src/main/assembly/bin.xml
URL:
http://svn.apache.org/viewvc/incubator/any23/trunk/service/src/main/assembly/bin.xml?rev=1231644&r1=1231643&r2=1231644&view=diff
==============================================================================
--- incubator/any23/trunk/service/src/main/assembly/bin.xml (original)
+++ incubator/any23/trunk/service/src/main/assembly/bin.xml Sun Jan 15 10:18:35
2012
@@ -28,12 +28,6 @@
<files>
<file>
- <source>${basedir}/src/main/assembly/README.txt</source>
- <filtered>true</filtered>
- <outputDirectory>/</outputDirectory>
- <fileMode>666</fileMode>
- </file>
- <file>
<source>${basedir}/../LICENSE.txt</source>
<filtered>true</filtered>
<outputDirectory>/</outputDirectory>
@@ -51,28 +45,10 @@
<outputDirectory>/</outputDirectory>
<fileMode>666</fileMode>
</file>
+ <file>
+
<source>${project.build.directory}/${project.build.finalName}.${project.packaging}</source>
+ <outputDirectory>/</outputDirectory>
+ </file>
</files>
- <fileSets>
- <!--
- | shell scripts
- -->
- <fileSet>
- <directory>${project.build.directory}/appassembler/bin/</directory>
- <outputDirectory>/bin</outputDirectory>
- <fileMode>755</fileMode>
- </fileSet>
-
- <!--
- | core libraries
- -->
- <fileSet>
- <directory>${project.build.directory}/appassembler/lib/</directory>
- <outputDirectory>/lib</outputDirectory>
- <excludes>
- <exclude>*.xml</exclude>
- </excludes>
- </fileSet>
- </fileSets>
-
</assembly>