[ http://jira.codehaus.org/browse/MPMULTIPROJECT-21?page=all ] Lukas Theussl closed MPMULTIPROJECT-21: ---------------------------------------
Resolution: Won't Fix A reactorXml tag does not exist. > allow to set reactorXml tag for reactor tags within multiproject-plugin's > plugin.jelly > -------------------------------------------------------------------------------------- > > Key: MPMULTIPROJECT-21 > URL: http://jira.codehaus.org/browse/MPMULTIPROJECT-21 > Project: maven-multiproject-plugin > Type: Improvement > Environment: linux, maven rc1 > Reporter: joseph benavidez > Attachments: multiproject-plugin-reactorXml.patch > > > It would be really nice to be able to set the reactorXml attribute > for the maven:reactor tags inside the plugin.jelly file, perhaps > by setting a maven.multiproject.reactorXml property. > The reason for this is that I have a maven.xml that defines > a java:compile preGoal that calls custom goals defined in > the parent maven.xml. It looks something like this: > parentDir > | > |---- maven.xml ("super project") > | > |---- subdir > | > | > |--- subproject1 > | | > | |---- project.xml > | > | > |--- subproject2 > | > |---- project.xml > (Notice that the project.xml's for subproject1 and subproject2 are > 2 directories away from the "super project". We have it organized > like this for cleanliness. Anyway...) > Now, if I call multiproject:goal with java:compile, I therefore expect > my custom java:compile preGoal to be called. But my > preGoal is not called. If I go into the > ~/.maven/plugins/maven-multiproject-plugin/plugin.jelly script and set the > reactorXml attribute to the "super project's" maven.xml, then it works. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira