hi
I have a project with several subprojects.
I agragate subproject's sources in order to get clover report.
I need to change dynamically pom dependencies of my main project to
compile and run aggragated sources.
<goal name="myproject:aggregate-dependencies">
<j:set var="initialDependencies" value="${pom.dependencies}"/>
<maven:reactor
basedir="${basedir}"
postProcessing="true"
includes="project/*/project.xml"
banner="aggregating dependencies"
ignoreFailures="false"/>
<j:forEach var="reactorProject" items="${reactorProjects}">
<j:set var="aggregatedDependencies"
value="${aggregatedDependencies}+${reactorProject.dependencies}"/>
</j:forEach>
// here i try to set pom dependencies but it don't seems to work
<j:set var="${pom.dependencies}" value="${aggregatedDependencies}"/>
</goal>
Do you think there is a way to change dynamically pom dependencies?
Thanks
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.