Thanks.
Paul
Alex Vollmer wrote:
The only way I've figured out how to do this is take that dependency name and cobble-together a path to that project's 'project.xml' and then invoke it with the reactor tag with no 'goals' attribute specified, but with the 'postProcessing' tag set to 'true'. Then you can access the POM object of that project. For example...
<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...
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
