Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.5
-
Labels:None
-
Environment:windows 2000
cruisecontrol
maven 1.0.2
java 1.4.2
-
Number of attachments :
Description
I would like to configure the multiproject plug-in to run checkstyle separately on our buildserver.
We are trying to run maven using the command
maven -Dgoal checkstyle multiproject:install multiproject:goal multiproject:clean multiproject:deploy
This however only results in an execution which could have been described as
maven multiproject:install multiproject:install multiproject:clean multiproject:deploy.
That is: install is runned twice instead of running install followed by checkstyle.
Issue Links
- relates to
-
MAVEN-1691
Variable scope problem
-
until the bug is fixed you can try this:
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>