The following comment has been added to this issue:

     Author: Arik Kfir
    Created: Tue, 7 Oct 2003 5:20 PM
       Body:
Oh I'm not sure I'm up for that - I've just began learning Maven as a user. I believe 
it will take me a while before I will get sufficiently fluent with Maven's internals. 

I was merely sounding my honest oppinion, that if I, as a Maven user, wanted to 
override a goal, I would prefer knowing that it will be overriden in all cases, 
otherwise I would write new project-scoped goals, but then it is simply going back to 
the Ant model, where each build file defines its own target API.

However, I will take a look at it and give it a shot, it might make me more fluent 
also with Jelly's internals, which I'm new to also.
---------------------------------------------------------------------
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