The following comment has been added to this issue:

     Author: Daniel Rabe
    Created: Wed, 5 Nov 2003 5:06 PM
       Body:
I'm glad I happened upon this bug -- I've been beating my head against a brick wall 
trying to figure out why my overrides weren't working! Aaaarrrgh!

THANK YOU to the original bug reporter for so clearly articulating the problem. I'd 
just like to add my opinion that this IS a critical bug that should be fixed for 1.0.
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-356


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-356
    Summary: Inconsistent override of plugin goals from maven.xml
       Type: Bug

     Status: Unassigned
   Priority: Critical

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Fix Fors:
             1.1
   Versions:
             1.0-beta-8

   Assignee: 
   Reporter: David Zeleznik

    Created: Mon, 31 Mar 2003 10:20 AM
    Updated: Mon, 4 Aug 2003 11:38 AM

Description:
We use beta 8 and override several standard plugin goals in our maven.xml. Testing 
shows inconsistent, but deterministic, override behavior. Depending on the execution 
context, either our version of the goal will execute or the plugin-supplied version of 
the goal will execute. Here is a very simple example of a maven.xml that overrides the 
standard java:compile goal:

        <project>
          <goal name="java:compile">
            <echo>The java:compile goal in maven.xml</echo>
          </goal>
        </project>

And here is the behavior we see:

maven java:compile - our overridden goal in maven.xml executes
maven java:jar - the java:compile goal in the plugin executes
maven clean java:compile - the java:compile goal in the plugin executes


---------------------------------------------------------------------
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