Author: richard.opalka(a)jboss.com
Date: 2008-09-19 06:05:39 -0400 (Fri, 19 Sep 2008)
New Revision: 8189
Added:
stack/metro/trunk/src/main/scripts/assembly-src-dist.xml
Modified:
stack/metro/trunk/build.xml
stack/metro/trunk/pom.xml
Log:
[JBWS-2286] providing source distro for metro
Modified: stack/metro/trunk/build.xml
===================================================================
--- stack/metro/trunk/build.xml 2008-09-18 16:29:51 UTC (rev 8188)
+++ stack/metro/trunk/build.xml 2008-09-19 10:05:39 UTC (rev 8189)
@@ -112,17 +112,35 @@
<echo message="mvn ${maven.opts} -Pbindist package
assembly:directory"/>
<echo/>
- <delete dir="${stack.output.dir}/jbossws-native-dist"/>
+ <delete dir="${stack.output.dir}/jbossws-metro-bin-dist"/>
<exec dir="${basedir}" executable="mvn"
failonerror="true">
<arg line="${maven.opts} -Pbindist package assembly:directory"/>
</exec>
- <zip destfile="${stack.output.dir}/jbossws-metro-dist.zip">
+ <zip destfile="${stack.output.dir}/jbossws-metro-bin-dist.zip">
<zipfileset
- dir="${stack.output.dir}/jbossws-metro-dist"
+ dir="${stack.output.dir}/jbossws-metro-bin-dist"
includes="build/ deploy/ docs/ tests/ build.xml ant.properties"
- prefix="jbossws-metro-dist"/>
+ prefix="jbossws-metro-bin-dist"/>
</zip>
</target>
+
+ <target name="build-src-dist" depends="prepare-deploy"
description="Build the source distribution">
+ <echo/>
+ <echo message="mvn ${maven.opts} -Psrcdist package
assembly:directory"/>
+ <echo/>
+
+ <delete dir="${stack.output.dir}/jbossws-metro-src-dist"/>
+ <exec dir="${basedir}" executable="mvn"
failonerror="true">
+ <arg line="${maven.opts} -Psrcdist package assembly:directory"/>
+ </exec>
+
+ <zip destfile="${stack.output.dir}/jbossws-metro-src-dist.zip">
+ <zipfileset
+ dir="${stack.output.dir}/jbossws-metro-src-dist"
+ includes="modules/ src/ build.xml pom.xml profiles.xml.example"
+ prefix="jbossws-metro-src-dist"/>
+ </zip>
+ </target>
</project>
Modified: stack/metro/trunk/pom.xml
===================================================================
--- stack/metro/trunk/pom.xml 2008-09-18 16:29:51 UTC (rev 8188)
+++ stack/metro/trunk/pom.xml 2008-09-19 10:05:39 UTC (rev 8189)
@@ -376,7 +376,7 @@
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
- <finalName>jbossws-metro-dist</finalName>
+ <finalName>jbossws-metro-bin-dist</finalName>
<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
@@ -389,6 +389,29 @@
</profile>
<!--
+ Name: srcdist
+ Descr: Build the source distribution
+ -->
+ <profile>
+ <id>srcdist</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <finalName>jbossws-metro-src-dist</finalName>
+ <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
+ <appendAssemblyId>false</appendAssemblyId>
+ <descriptors>
+
<descriptor>src/main/scripts/assembly-src-dist.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <!--
Name: jboss422
Descr: JBoss-4.2.2 specific options
-->
Added: stack/metro/trunk/src/main/scripts/assembly-src-dist.xml
===================================================================
--- stack/metro/trunk/src/main/scripts/assembly-src-dist.xml (rev
0)
+++ stack/metro/trunk/src/main/scripts/assembly-src-dist.xml 2008-09-19 10:05:39 UTC (rev
8189)
@@ -0,0 +1,70 @@
+<assembly
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/assembly-1.1.0-SNAPSHOT.xsd">
+
+ <id>source-distribution</id>
+ <formats>
+ <format>dir</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+
+ <fileSets>
+ <fileSet>
+ <directory>src/</directory>
+ <outputDirectory>src/</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>modules/</directory>
+ <outputDirectory>modules/</outputDirectory>
+ <excludes>
+ <exclude>**/target/**</exclude>
+ <exclude>**/framework-tests/**</exclude>
+ </excludes>
+ </fileSet>
+ <fileSet>
+ <directory>modules/testsuite/framework-tests</directory>
+ <outputDirectory>modules/testsuite/framework-tests</outputDirectory>
+ <includes>
+ <include>src/test/etc/</include>
+ <include>scripts/</include>
+ <include>pom.xml</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory></directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>build.xml</include>
+ <include>pom.xml</include>
+ <include>profiles.xml.example</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+
+ <!-- framework tests -->
+ <moduleSets>
+ <moduleSet>
+ <includes>
+ <include>org.jboss.ws.metro:jbossws-metro-management</include>
+ </includes>
+ <binaries>
+ <dependencySets>
+ <dependencySet>
+
<outputDirectory>modules/testsuite/framework-tests/src/test</outputDirectory>
+ <useStrictFiltering>true</useStrictFiltering>
+ <scope>runtime</scope>
+ <unpack>true</unpack>
+ <includes>
+ <include>*:jbossws-framework:zip:testsuite</include>
+ </includes>
+ <unpackOptions>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </unpackOptions>
+ </dependencySet>
+ </dependencySets>
+ </binaries>
+ </moduleSet>
+ </moduleSets>
+
+</assembly>
Property changes on: stack/metro/trunk/src/main/scripts/assembly-src-dist.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF