Shouldn't you be doing:

         <j:forEach var="lib" items="${pom.artifacts}">
           <j:if
test="${lib.dependency.getProperty('cactus.bundle')=='true'}">
             <lib file="${lib.path}"/>
           </j:if>
         </j:forEach>


See Maven-518 for explanations why.


regards

Michal

P.S.

I did such changes to war, ear plugin and  plan to do the same to eclipse
plugin.
We won't need to set MAVEN_REPO in eclipse workbench.






>   +           Cactus test but not in a runtime war -->
>   +      <j:forEach var="dep" items="${pom.dependencies}">
>   +        <j:if test="${dep.getProperty('cactus.bundle')=='true'}">
>   +          <lib
> file="${maven.repo.local}/${dep.artifactDirectory}/jars/${dep.artifact}"/>
>   +        </j:if>
>   +      </j:forEach>
>   +
>        </cactifywar>
>
>      </goal>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to