jvanzyl 2003/03/26 18:33:44
Modified: src/plugins-build/plexus plugin.jelly
Log:
o look for the component manifest locally before trying to get it
from a remote remote.
Revision Changes Path
1.15 +17 -0 maven/src/plugins-build/plexus/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/plexus/plugin.jelly,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- plugin.jelly 16 Mar 2003 02:14:55 -0000 1.14
+++ plugin.jelly 27 Mar 2003 02:33:44 -0000 1.15
@@ -295,6 +295,22 @@
var="implementations"
configuration="${plexusConfiguration}"/>
+ <j:set
+ var="manifest"
+ value="${maven.repo.local}/plexus/plexus-component.manifest"/>
+
+ <j:set var="manifestPresent" value="false"/>
+ <util:available file="${manifest}">
+ <j:set var="manifestPresent" value="true"/>
+ <copy file="${manifest}" todir="${plugin.dir}"/>
+ </util:available>
+
+ <j:if test="${manifestPresent != 'true'}">
+ <get
+ src="http://www.ibiblio.org/maven/plexus/plexus-component.manifest"
+ dest="${plugin.dir}/plexus-component.manifest"/>
+ </j:if>
+
<get
src="http://www.ibiblio.org/maven/plexus/plexus-component.manifest"
dest="${plugin.dir}/plexus-component.manifest"/>
@@ -330,6 +346,7 @@
src="http://www.ibiblio.org/maven/plexus/poms/${component}.pom"
dest="${pomDir}/${component}.pom"/>
</j:if>
+
</j:if>
</j:forEach>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]