dion 2003/07/03 23:35:25
Modified: src/plugins-build/jboss plugin.jelly
src/plugins-build/jboss/xdocs changes.xml
Log:
use artifacts for path, not dependencies
Revision Changes Path
1.13 +3 -3 maven/src/plugins-build/jboss/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/jboss/plugin.jelly,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- plugin.jelly 21 Jun 2003 14:02:28 -0000 1.12
+++ plugin.jelly 4 Jul 2003 06:35:24 -0000 1.13
@@ -184,14 +184,14 @@
description="Creates a specific JBoss server configuration"
prereqs="jboss:init,jboss:configure">
- <j:forEach var="dep" items="${pom.dependencies}">
+ <j:forEach var="lib" items="${pom.artifacts}">
+ <j:set var="dep" value="${lib.dependency}"/>
<j:if test="${dep.getProperty('jboss.bundle')=='true'}">
<ant:echo>Bundling: (${dep.groupId}, ${dep.artifactId},
${dep.type})</ant:echo>
<!-- TODO: Use getDependencyPath() once it supports artifacts other
than jars -->
- <ant:copy todir="${maven.jboss.build.deploy.dir}"
-
file="${maven.repo.local}/${dep.artifactDirectory}/${dep.type}s/${dep.artifact}"/>
+ <ant:copy todir="${maven.jboss.build.deploy.dir}" file="${lib.path}"/>
</j:if>
</j:forEach>
1.11 +3 -0 maven/src/plugins-build/jboss/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/jboss/xdocs/changes.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- changes.xml 21 Jun 2003 10:55:22 -0000 1.10
+++ changes.xml 4 Jul 2003 06:35:25 -0000 1.11
@@ -8,6 +8,9 @@
<body>
<release version="1.2" date="in CVS">
+ <action dev="dion" type="fix">
+ Copy dependencies using artifact path to allow jar overrides to work
+ </action>
<action dev="vmassol" type="add">
The plugin now supports JBoss 3.2.x by default. Support for
JBoss 3.0.x is still available by setting the
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]