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

Managed versions in plugins are not considered when using them

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.8, 3.0-alpha-1, 3.0
    • 2.0.9
    • Plugins and Lifecycle
    • None

    Description

      If you build and install a plugin with managed versions that affect plugin transitive dependencies, when it's used the dependency management is ignored

      If the dependency management affects the plugin direct dependecies it works properly because the information is merged.

      eg.
      Plugin A depends on jar B that depends on jar C[1.0]
      A dependencyManagement explicitly forces C[2.0], you build and install using C[2.0] in the classpath
      If you use plugin A in your pom it will be used with C version 1.0

      Attachments

        1. MNG-3410.patch
          3 kB
          Carlos Sanchez Gonzalez

        Issue Links

          Activity

            People

              carlos Carlos Sanchez Gonzalez
              carlos Carlos Sanchez Gonzalez
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: