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/08/04 18:38:43 UTC

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

The following issue has been updated:

    Updater: dion gillard (mailto:dion@apache.org)
       Date: Mon, 4 Aug 2003 11:38 AM
    Changes:
             timeoriginalestimate changed from 0
             timeestimate changed from 0 minutes
             Fix Version changed to 1.1
    ---------------------------------------------------------------------
For a full history of the issue, see:

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

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