Author: richard.opalka(a)jboss.com
Date: 2008-06-18 04:00:14 -0400 (Wed, 18 Jun 2008)
New Revision: 7626
Added:
stack/metro/trunk/modules/resources/src/main/scripts/
stack/metro/trunk/modules/resources/src/main/scripts/zip-other-configs.xml
Modified:
stack/metro/trunk/modules/resources/pom.xml
Log:
[JBWS-2229] include other modules artifacts
Modified: stack/metro/trunk/modules/resources/pom.xml
===================================================================
--- stack/metro/trunk/modules/resources/pom.xml 2008-06-18 07:55:24 UTC (rev 7625)
+++ stack/metro/trunk/modules/resources/pom.xml 2008-06-18 08:00:14 UTC (rev 7626)
@@ -14,4 +14,28 @@
<relativePath>../../pom.xml</relativePath>
</parent>
+ <!-- plugins -->
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <ant antfile="src/main/scripts/zip-other-configs.xml">
+ <property name="project.build.finalName"
value="${project.build.finalName}"/>
+ </ant>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
</project>
Added: stack/metro/trunk/modules/resources/src/main/scripts/zip-other-configs.xml
===================================================================
--- stack/metro/trunk/modules/resources/src/main/scripts/zip-other-configs.xml
(rev 0)
+++ stack/metro/trunk/modules/resources/src/main/scripts/zip-other-configs.xml 2008-06-18
08:00:14 UTC (rev 7626)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!-- -->
+<!-- JBoss, the OpenSource J2EE webOS -->
+<!-- -->
+<!-- Distributable under LGPL license. -->
+<!-- See terms of license at
http://www.gnu.org. -->
+<!-- -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<project default="main">
+
+ <property name="target.dir" value="${basedir}/target"/>
+ <property name="source.jar"
value="${target.dir}/${project.build.finalName}-sources.jar"/>
+ <property name="binary.jar"
value="${target.dir}/${project.build.finalName}.jar"/>
+
+ <target name="main">
+ <copy todir="${target.dir}/classes/resources">
+ <fileset dir="${basedir}/../server/target/resources"/>
+ </copy>
+ <jar destfile="${source.jar}" basedir="${target.dir}/classes"
update="true"/>
+ <jar destfile="${binary.jar}" basedir="${target.dir}/classes"
update="true"/>
+ </target>
+
+</project>
Property changes on:
stack/metro/trunk/modules/resources/src/main/scripts/zip-other-configs.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF