You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Richard Bounds <ri...@richardbounds.co.uk> on 2002/12/11 16:06:24 UTC

Ant plugin - patch?

I've just checked out the latest Maven code from CVS head and have had to
make a couple of changes to get the ant plugin to work. I'm not sure if this
is a bug in the ant plugin or in Maven itself, but I thought I'd send the
patch anyway:

Index: plugin.jelly
===================================================================
RCS file:
/home/cvspublic/jakarta-turbine-maven/src/plugins-build/ant/plugin.jelly,v
retrieving revision 1.20
diff -u -r1.20 plugin.jelly
--- plugin.jelly	7 Nov 2002 08:29:41 -0000	1.20
+++ plugin.jelly	11 Dec 2002 15:01:02 -0000
@@ -307,8 +307,8 @@

     <j:forEach var="dep" items="${pom.dependencies}">
     <get
-      src="${maven.repo.remote}/${dep.projectId}/jars/${dep.jar}"
-      dest="lib/${dep.jar}"
+      src="${maven.repo.remote}/${dep.projectId}/jars/${dep.getArtifact()}"
+      dest="lib/${dep.getArtifact()}"
       usetimestamp="true"
       ignoreerrors="true"
     /></j:forEach>


Hope this helps.

Richard


Re: Ant plugin - patch?

Posted by di...@multitask.com.au.
Applied,

thanks.
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


"Richard Bounds" <ri...@richardbounds.co.uk> wrote on 12/12/2002 
02:06:24 AM:

> I've just checked out the latest Maven code from CVS head and have had 
to
> make a couple of changes to get the ant plugin to work. I'm not sure if 
this
> is a bug in the ant plugin or in Maven itself, but I thought I'd send 
the
> patch anyway:
> 
> Index: plugin.jelly
> ===================================================================
> RCS file:
> 
/home/cvspublic/jakarta-turbine-maven/src/plugins-build/ant/plugin.jelly,v
> retrieving revision 1.20
> diff -u -r1.20 plugin.jelly
> --- plugin.jelly   7 Nov 2002 08:29:41 -0000   1.20
> +++ plugin.jelly   11 Dec 2002 15:01:02 -0000
> @@ -307,8 +307,8 @@
> 
>      <j:forEach var="dep" items="${pom.dependencies}">
>      <get
> -      src="${maven.repo.remote}/${dep.projectId}/jars/${dep.jar}"
> -      dest="lib/${dep.jar}"
> + src="${maven.repo.remote}/${dep.projectId}/jars/${dep.getArtifact()}"
> +      dest="lib/${dep.getArtifact()}"
>        usetimestamp="true"
>        ignoreerrors="true"
>      /></j:forEach>
> 
> 
> Hope this helps.
> 
> Richard
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-maven-dev-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:turbine-maven-dev-
> help@jakarta.apache.org>
> 

> ForwardSourceID:NT00097A4A