<maven:forEach var="dependency" items="${pom.dependencies}">
<!-- Deploy each build component -->
<maven:reactor
basedir="${basedir}/../../"
includes="${dependency.name}/project.xml"
postProcessing="true"
banner="Deploying "/>
<maven:forEach var="reactorProject" items="${reactorProjects}">
<!-- Deploy component -->
<copy file="${maven.repo.local}/${pom.groupId}/jars/${reactorProject.artifactId}-${reactorProject.currentVersion}.jar"
tofile="${local.deploy.dir}/lib/${reactorProject.artifactId}.jar"/>
</maven:forEach>
</maven:forEach>
By setting 'postProcessing' to 'true' a special list named 'reactorProjects' is made available via the reactor tag. Hope that helps.
--Alex
Paul Libbrecht wrote:
Hi,
I fear this may have been answered or asked about already...
The current dependency object I get from jelly seems to be an object that does not provide me access to its project.
What should I use for this ?
Do I mistake or the dist goals don't walk dependencies of dependencies ?
For this, the project.xml of the dependendencies should be included in the repository which does not seem to be the case...
Thanks.
Paul
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
