The following comment has been added to this issue:
Author: Brett Porter
Created: Sat, 9 Aug 2003 7:37 AM
Body:
the way to fix this is to move the maven.xml loading out of attainGoals and into
session initialisation.
I imagine this is different on HEAD now after the refactoring, so it is worth waiting
for that to stabilise before looking at this.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-271
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-271
Summary: maven -g does not list goals defined in maven.xml
Type: Bug
Status: Unassigned
Priority: Major
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
core
Fix Fors:
1.0-final
Versions:
1.0-beta-9
Assignee:
Reporter: Peter Lynch
Created: Fri, 14 Feb 2003 12:18 PM
Updated: Sun, 3 Aug 2003 11:51 PM
Environment: JDK 1.4.1_01 Windows 2000
Description:
I added the following goal to my project's maven.xml
<goal name="pluginname:somegoal">
<ant:echo message="Some message" />
</goal>
I type maven -g or maven.bat -g and the goals listed do not mention this goal
anywhere.
Also I cleared all my cache files and still it does not list that goal.
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]