[ http://jira.codehaus.org/browse/MAVEN-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukas Theussl reopened MAVEN-1103: ---------------------------------- This does not work if an unknown goal is called via attainGoal, eg: {code:xml} <goal name="testNoSuchGoal"> <attainGoal name="attain:nosuchGoal"/> </goal> {code} gives: {noformat} maven testNoSuchGoal __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1-RC1-SNAPSHOT Trying to get missing dependencies (and updated snapshots) required by Maven XDoc Plugin: - Checking for an update of maven:maven-model:3.0.2-SNAPSHOT:jar from http://repo1.maven.org/maven/ ------------------------------------------------------------------------------- BUILD FAILED ------------------------------------------------------------------------------- Total time : 8 seconds Finished at : Monday, April 16, 2007 9:32:05 AM CEST Final Memory : 3M/6M ------------------------------------------------------------------------------- {noformat} > improve "goal not found" reporting > ---------------------------------- > > Key: MAVEN-1103 > URL: http://jira.codehaus.org/browse/MAVEN-1103 > Project: Maven 1.x > Issue Type: Improvement > Components: core > Affects Versions: 1.0-rc1 > Reporter: Brett Porter > Assignee: Arnaud Heritier > Priority: Minor > Fix For: 1.1-rc1 > > > - goal not found should be an error message, not an exception when leaving > maven > - goals that are not found should be reported before any building is done -- 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