Author: richard.opalka(a)jboss.com
Date: 2008-06-17 16:00:51 -0400 (Tue, 17 Jun 2008)
New Revision: 7616
Added:
stack/native/trunk/modules/resources/src/main/scripts/
stack/native/trunk/modules/resources/src/main/scripts/zip-other-configs.xml
Modified:
stack/native/trunk/modules/resources/pom.xml
Log:
[JBWS-2228] include other modules artifacts
Modified: stack/native/trunk/modules/resources/pom.xml
===================================================================
--- stack/native/trunk/modules/resources/pom.xml 2008-06-17 20:00:00 UTC (rev 7615)
+++ stack/native/trunk/modules/resources/pom.xml 2008-06-17 20:00:51 UTC (rev 7616)
@@ -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/native/trunk/modules/resources/src/main/scripts/zip-other-configs.xml
===================================================================
--- stack/native/trunk/modules/resources/src/main/scripts/zip-other-configs.xml
(rev 0)
+++ stack/native/trunk/modules/resources/src/main/scripts/zip-other-configs.xml 2008-06-17
20:00:51 UTC (rev 7616)
@@ -0,0 +1,29 @@
+<?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}/../core/target/resources"/>
+ <fileset dir="${basedir}/../client/src/main/resources/META-INF"/>
+ </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/native/trunk/modules/resources/src/main/scripts/zip-other-configs.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF