You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/12/31 03:18:40 UTC

[jira] Closed: (MAVEN-356) Inconsistent override of plugin goals from maven.xml

Message:

   The following issue has been closed.

   Resolver: Brett Porter
       Date: Tue, 30 Dec 2003 8:16 PM

this is already fixed on the 1.0 branch
---------------------------------------------------------------------
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: Closed
   Priority: Critical
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin manager
   Fix Fors:
             1.0-rc2
   Versions:
             1.0-beta-8

   Assignee: Brett Porter
   Reporter: David Zeleznik

    Created: Mon, 31 Mar 2003 10:20 AM
    Updated: Tue, 30 Dec 2003 8:16 PM

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org