Maven
  1. Maven
  2. MNG-1144

List 2 or more maven goals in the <defaultGoal> of the POM.

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta-3
    • Fix Version/s: 3.0-alpha-7
    • Component/s: Plugins and Lifecycle, POM
    • Labels:
      None
    • Environment:
      Windows
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      In the maven 2.0-beta-3 release we can't list more than one goal in the <defaultGoal> of the POM. For example, this :
      <defaultGoal>clean:clean install</defaultGoal>
      doesn't work.
      It can be useful to add this feature in the maven 2.0 final release.
      Thanks.

      Alexandre Vivien

        Activity

        Hide
        Gabriele Columbro added a comment -

        How tough will it be to add it to 2.0.x or 2.1.x releases?

        As it will make a real nice improvement in controlling behavior of the build using just profiles.

        Thanks!

        Show
        Gabriele Columbro added a comment - How tough will it be to add it to 2.0.x or 2.1.x releases? As it will make a real nice improvement in controlling behavior of the build using just profiles. Thanks!
        Hide
        Brett Porter added a comment -

        Unfortunately, POM changes are unlikely in 2.1.x at this stage, and 2.0.x is frozen.

        Show
        Brett Porter added a comment - Unfortunately, POM changes are unlikely in 2.1.x at this stage, and 2.0.x is frozen.
        Hide
        Jason van Zyl added a comment -

        This should be simple to fix.

        Show
        Jason van Zyl added a comment - This should be simple to fix.
        Hide
        Benjamin Bentmann added a comment -

        Added support for whitespace separated goal list in r920469.

        Show
        Benjamin Bentmann added a comment - Added support for whitespace separated goal list in r920469 .

          People

          • Assignee:
            Benjamin Bentmann
            Reporter:
            Alexandre Vivien
          • Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: