You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Igor Fedorenko (JIRA)" <ji...@codehaus.org> on 2011/12/06 15:11:39 UTC

[jira] Created: (MNG-5212) DefaultPluginDescriptorCache does not retain pluginDescriptor dependencies

DefaultPluginDescriptorCache does not retain pluginDescriptor dependencies
--------------------------------------------------------------------------

                 Key: MNG-5212
                 URL: https://jira.codehaus.org/browse/MNG-5212
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Embedding
    Affects Versions: 3.0
            Reporter: Igor Fedorenko


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MNG-5212) DefaultPluginDescriptorCache does not retain pluginDescriptor dependencies

Posted by "Igor Fedorenko (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MNG-5212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Fedorenko closed MNG-5212.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.5

Fixed. http://svn.apache.org/viewvc?view=revision&revision=1210924

> DefaultPluginDescriptorCache does not retain pluginDescriptor dependencies
> --------------------------------------------------------------------------
>
>                 Key: MNG-5212
>                 URL: https://jira.codehaus.org/browse/MNG-5212
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Embedding
>    Affects Versions: 3.0
>            Reporter: Igor Fedorenko
>            Assignee: Igor Fedorenko
>             Fix For: 3.0.5
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira