<j:forEach var="artifact" items="${pom.artifacts}">
<j:set var="dependency" value="${artifact.dependency}"/>
<j:if test="${dependency.getProperty('runtime') == 'true'}">
<ant:echo>Processing dependency: ${dependency.id}</ant:echo>
<ant:mkdir dir="${aggregate.dir}/lib"/>
<ant:copy todir="${aggregate.dir}/lib" file="${artifact.path}"/>
</j:if>
</j:forEach>
Quick question:
if there is a specific artifact we want to copy and we know the group/artifactId is there a shortcut instead of iterating over the list of dependencies? I only need one artifact for this one tool....
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
