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/03 03:42:56 UTC
[jira] Updated: (MAVEN-356) Inconsistent override of plugin goals from maven.xml
The following issue has been updated:
Updater: Jason van Zyl (mailto:jason@zenplex.com)
Date: Tue, 2 Dec 2003 8:42 PM
Changes:
environment changed to
Component changed to plugin manager
Component changed from core
---------------------------------------------------------------------
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: Open
Priority: Critical
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
plugin manager
Fix Fors:
1.1
Versions:
1.0-beta-8
Assignee: Brett Porter
Reporter: David Zeleznik
Created: Mon, 31 Mar 2003 10:20 AM
Updated: Tue, 2 Dec 2003 8:42 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