The following comment has been added to this issue:

     Author: christian koestlin
    Created: Wed, 5 Jan 2005 1:15 PM
       Body:
Hi ...
i have a question regarding the implementations of -u -P and -g.
i want to create a maven-plugin which is kind of a spy into the maven system 
and reports the goals defined in maven.xml. if i directly use 
PluginManager.getGoalNames i get exactly the goals i want to get, but the 
comment to this method does not suggest to use it (only directly before 
system.exit) in that manner. i create a new pluginmanager in the plugin and use 
this object to query this method. does this "scrog" the default mapper or is it 
ok???

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MAVEN-271?page=comments#action_28649

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/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: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             cli
   Fix Fors:
             1.0-rc3
   Versions:
             1.0-beta-9

   Assignee: Brett Porter
   Reporter: Peter Lynch

    Created: Fri, 14 Feb 2003 12:18 PM
    Updated: Wed, 5 Jan 2005 1:15 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]

Reply via email to