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

DefaultPluginDescriptorCache does not retain pluginDescriptor dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.1.0-alpha-1
    • Embedding
    • None

    Description

      PluginDescriptor dependencies is defined in META-INF/maven/plugin.xml, so there is no reason not to retain this field when storing and retrieving PluginDescriptor instances to and from descriptor cache. The attribute can be used in embedding scenarios and for command line builds to quickly determine if plugin has certain dependencies or not, without having to fully resolve plugin dependencies. I'll commit a fix with corresponding unit test shortly.

      Attachments

        Activity

          People

            igorfie igorfie
            igorf Igor Fedorenko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: