Maven 1

Default goal defined in the POM not used with maven -u

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.1-beta-2
  • Fix Version/s: 1.1-beta-3
  • Component/s: cli
  • Labels:
    None
  • Number of attachments :
    0

Description

When the default goal is defined in the POM and not in the maven.xml, the command line 'maven -u' don't print it :

 
D:\OSS\Maven\1.X\SCM\core\trunk>maven -u
     __  __
    |  \/  |__ _Apache__ ___
    | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
    |_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-3-SNAPSHOT

    Project Goals
    =============

[maven]                             ( NO DEFAULT GOAL )
      jar-install  .................... Compile Maven and put a new jar in ${
                                    maven.home}/lib.
      scripts-install  ................ Put scripts in ${maven.home}/bin.

    Undocumented goals :

      maven:build-install
      maven:build-plugin-profile
      maven:build-seed-repo
      maven:generate-install-scripts
      maven:installer
      maven:run-touchstone

    Maven is a project management and project comprehension tool. Maven is based on
the concept of a project object model: builds, documentation creation, site
publication, and distribution publication are all controlled from the project
object model. Maven also provides tools to create source metrics, change logs
based directly on source repository, and source cross-references. You can build
a Maven installation from this source tree by running ant -f build-bootstrap.xml

Activity

Hide
Lukas Theussl added a comment -

Maven 1.0.2 did not show the default goal either with 'maven -u'. I've added the info, but only when it's specified in the pom (if it's in maven.xml, a deprecation warning is given anyway).

Show
Lukas Theussl added a comment - Maven 1.0.2 did not show the default goal either with 'maven -u'. I've added the info, but only when it's specified in the pom (if it's in maven.xml, a deprecation warning is given anyway).

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: