Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2432

Apache and Mojo plugins take precendence over plugins in the pom.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.1.0, 3.0-alpha-2
    • Component/s: None
    • Labels:
      None

      Description

      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>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brianf Brian E Fox
                Reporter:
                janb Jan Bartel
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: