|
Workaround given here doesn't work for me :-/ I've similar situation like described below,
except that I'm tryining to run goal defined in my custom plugin. The workaround I used myself was actually slightly different. I added the following to all maven.xml files, which were in the projects included in the multiproject build.
<preGoal name="java:compile"> and still achieved the functionality that I wanted.... I do not know wether this will work for you Michal, as you have written your own custom plugin. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
maven multiproject:install mygoal multiproject:clean multiproject:deploy
in your maven.xml, add:
<goal name="mygoal">
<j:set var="goal" value="checkstyle" />
<attainGoal name="multiproject:goal" />
</goal>