You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2005/01/07 12:24:27 UTC

[jira] Commented: (MPMULTIPROJECT-49) Can not mix multiproject goals with other/custom goals

The following comment has been added to this issue:

     Author: Brett Porter
    Created: Fri, 7 Jan 2005 6:23 AM
       Body:
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>

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPMULTIPROJECT-49?page=comments#action_28713

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPMULTIPROJECT-49

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPMULTIPROJECT-49
    Summary: Can not mix multiproject goals with other/custom goals
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-multiproject-plugin

   Assignee: dion gillard
   Reporter: Jesper Tejlgaard Pedersen

    Created: Fri, 7 Jan 2005 6:20 AM
    Updated: Fri, 7 Jan 2005 6:23 AM
Environment: windows 2000
cruisecontrol
maven 1.0.2
java 1.4.2

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.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org