[ http://jira.codehaus.org/browse/MAVEN-1754?page=all ]
Lukas Theussl closed MAVEN-1754. -------------------------------- Assignee: Lukas Theussl (was: Arnaud Heritier) Resolution: Fixed 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). > Default goal defined in the POM not used with maven -u > ------------------------------------------------------ > > Key: MAVEN-1754 > URL: http://jira.codehaus.org/browse/MAVEN-1754 > Project: Maven > Issue Type: Bug > Components: cli > Affects Versions: 1.1-beta-2 > Reporter: Arnaud Heritier > Assigned To: Lukas Theussl > Priority: Trivial > Fix For: 1.1-beta-3 > > > When the default goal is defined in the POM and not in the maven.xml, the > command line 'maven -u' don't print it : > {noformat} > 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 > {noformat} -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira