maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Sanchez (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MNG-2432) Apache and Mojo plugins take precendence over plugins in the pom.
Date Tue, 11 Jul 2006 13:28:22 GMT
    [ http://jira.codehaus.org/browse/MNG-2432?page=comments#action_69506 ] 

Carlos Sanchez commented on MNG-2432:
-------------------------------------

Note that I removed the codehaus plugin from http://www.ibiblio.org/maven2/org/codehaus/mojo/maven-metadata.xml

There was an entry 

    <plugin>
      <name>Maven2 Jetty plugin</name>
      <prefix>jetty</prefix>
      <artifactId>jetty-maven-plugin</artifactId>
    </plugin>

althought there was no jetty-maven-plugin folder that was enough to make maven fail

> Apache and Mojo plugins take precendence over plugins in the pom.
> -----------------------------------------------------------------
>
>          Key: MNG-2432
>          URL: http://jira.codehaus.org/browse/MNG-2432
>      Project: Maven 2
>         Type: Bug

>     Versions: 2.0.4
>     Reporter: Jan Bartel

>
>
> When resolving plugin prefixes, plugins from apache and mojo take precendence over plugins
explicitly in the pom.xml. For example, an old plugin with prefix "jetty" at org.codehaus.mojo.jetty-maven-plugin
is always used in preference to the new maven-jetty-plugin with prefix "jetty", even though
it is specified in the pom like so:
>       <plugin>
>         <groupId>org.mortbay.jetty</groupId>
>         <artifactId>maven-jetty-plugin</artifactId>
>         <version>6.0-SNAPSHOT</version>
>       </plugin>

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message