Title: [690] trunk: Add the servicemix-all subproject (to build the jar containing all modules at once)
- Revision
- 690
- Author
- gnt
- Date
- 2005-10-27 15:59:25 -0400 (Thu, 27 Oct 2005)
Log Message
Add the servicemix-all subproject (to build the jar containing all modules at once)
Modified Paths
Added Paths
Diff
Modified: trunk/project.properties (689 => 690)
--- trunk/project.properties 2005-10-27 19:19:17 UTC (rev 689)
+++ trunk/project.properties 2005-10-27 19:59:25 UTC (rev 690)
@@ -53,7 +53,8 @@
components/base/project.xml,\
components/jaxws/project.xml,\
components/xfire/project.xml,\
- assembly/project.xml,
+ assembly/project.xml,\
+ servicemix-all/project.xml
Added: trunk/servicemix-all/maven.xml (689 => 690)
--- trunk/servicemix-all/maven.xml 2005-10-27 19:19:17 UTC (rev 689)
+++ trunk/servicemix-all/maven.xml 2005-10-27 19:59:25 UTC (rev 690)
@@ -0,0 +1,32 @@
+<project default="default"
+ xmlns:j="jelly:core"
+ xmlns:u="jelly:util"
+ xmlns:ant="jelly:ant"
+ xmlns:util="jelly:util"
+ xmlns:artifact="artifact"
+ >
+
+ <goal name="default" prereqs="clean,jar:install" />
+
+ <preGoal name="jar:jar">
+
+ <ant:mkdir dir="${maven.build.dir}/timestamps"/>
+ <!-- Unpack all the composite ActiveMQ modules into the classes dir -->
+ <j:forEach var="artifact" items="${pom.artifacts}">
+ <j:set var="dependency" value="${artifact.dependency}"/>
+ <u:file var="file" name="${artifact.path}"/>
+ <j:if test="${file.exists()}" >
+ <j:set var="uptodateFile" value="${maven.build.dir}/timestamps/${artifact.name}.ts"/>
+ <j:set var="uptodatePropName" value="tests.uptodate"/>
+ <j:remove var="${uptodatePropName}"/>
+ <ant:uptodate property="${uptodatePropName}" targetfile="${uptodateFile}" srcfile="${artifact.path}"/>
+ <j:if test="${context.getVariable(uptodatePropName) != 'true'}">
+ <unjar dest="${maven.build.dir}/classes" src=""
+ <touch file="${uptodateFile}"/>
+ </j:if>
+ </j:if>
+ </j:forEach>
+
+ </preGoal>
+
+</project>
Added: trunk/servicemix-all/project.xml (689 => 690)
--- trunk/servicemix-all/project.xml 2005-10-27 19:19:17 UTC (rev 689)
+++ trunk/servicemix-all/project.xml 2005-10-27 19:59:25 UTC (rev 690)
@@ -0,0 +1,39 @@
+<project>
+ <extend>${basedir}/../etc/project.xml</extend>
+ <artifactId>servicemix</artifactId>
+ <name>ServiceMix Full Package</name>
+ <package>org.servicemix</package>
+
+ <dependencies>
+ <dependency>
+ <groupId>servicemix</groupId>
+ <artifactId>servicemix-jbi</artifactId>
+ <version>${pom.currentVersion}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>servicemix</groupId>
+ <artifactId>servicemix-core</artifactId>
+ <version>${pom.currentVersion}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>servicemix</groupId>
+ <artifactId>servicemix-components</artifactId>
+ <version>${pom.currentVersion}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>servicemix</groupId>
+ <artifactId>servicemix-jaxws</artifactId>
+ <version>${pom.currentVersion}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>servicemix</groupId>
+ <artifactId>servicemix-xfire</artifactId>
+ <version>${pom.currentVersion}</version>
+ </dependency>
+
+ </dependencies>
+</project>