Author: thomas.diesler(a)jboss.com
Date: 2009-07-09 04:36:08 -0400 (Thu, 09 Jul 2009)
New Revision: 90992
Added:
projects/jboss-osgi/trunk/distribution/scripts/assembly-src-distro.xml
Modified:
projects/jboss-osgi/trunk/distribution/pom.xml
Log:
[JBOSGI-101] Create a ziped source distribution
Modified: projects/jboss-osgi/trunk/distribution/pom.xml
===================================================================
--- projects/jboss-osgi/trunk/distribution/pom.xml 2009-07-09 06:51:23 UTC (rev 90991)
+++ projects/jboss-osgi/trunk/distribution/pom.xml 2009-07-09 08:36:08 UTC (rev 90992)
@@ -242,6 +242,18 @@
</descriptors>
</configuration>
</execution>
+ <execution>
+ <id>src</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>scripts/assembly-src-distro.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin>
Added: projects/jboss-osgi/trunk/distribution/scripts/assembly-src-distro.xml
===================================================================
--- projects/jboss-osgi/trunk/distribution/scripts/assembly-src-distro.xml
(rev 0)
+++ projects/jboss-osgi/trunk/distribution/scripts/assembly-src-distro.xml 2009-07-09
08:36:08 UTC (rev 90992)
@@ -0,0 +1,19 @@
+<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembl...
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-p...
http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+
+ <id>src</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+
+ <fileSets>
+ <fileSet>
+ <directory>..</directory>
+ <outputDirectory>/</outputDirectory>
+ <excludes>
+ <exclude>**/target/**</exclude>
+ </excludes>
+ </fileSet>
+ </fileSets>
+</assembly>