[EMAIL PROTECTED] wrote on 02/07/2003 07:34:20 AM:
> vmassol 2003/07/01 14:34:20
>
> Modified: src/plugins-build/cactus plugin.jelly
> Log:
> Now using pom.artifacts to support <jar> override
Bzzzt.
>
> Revision Changes Path
> 1.23 +2 -1 maven/src/plugins-build/cactus/plugin.jelly
>
> Index: plugin.jelly
> ===================================================================
> RCS file: /home/cvs/maven/src/plugins-build/cactus/plugin.jelly,v
> retrieving revision 1.22
> retrieving revision 1.23
> diff -u -r1.22 -r1.23
> --- plugin.jelly 1 Jul 2003 21:04:52 -0000 1.22
> +++ plugin.jelly 1 Jul 2003 21:34:20 -0000 1.23
> @@ -168,7 +168,8 @@
> <!-- Add all user jars that have been marked to be included
> in the cactus
test. For example, DBUnit would be a jar
> you would include in a
Cactus test but not in a runtime war -->
> - <j:forEach var="dep" items="${pom.dependencies}">
> + <j:forEach var="artifact" items="${pom.artifacts}">
> + <j:set var="dep" value="${artifact.dependency}"/>
> <j:if test="${dep.getProperty('cactus.bundle')=='true'}">
> <lib file="${maven.repo.local}/${dep.artifactDirectory}
> /jars/${dep.artifact}"/>
shouldn't this be <lib file=${artifact.path}"/>
--
dIon Gillard, Multitask Consulting
Blog: http://blogs.codehaus.org/people/dion/
Work: http://www.multitask.com.au