[maven-maven1-plugin] Don't add plugins twice
---------------------------------------------

         Key: MNG-2327
         URL: http://jira.codehaus.org/browse/MNG-2327
     Project: Maven 2
        Type: Bug

  Components: Sandbox  
    Reporter: Dennis Lundberg
 Attachments: dontAddPluginsTwice.patch

When using a PluginConfigurationConverter it can sometimes add a plugin that 
already exists in the v4 pom. The attached patch makes sure that the pom is 
searched for the plugin first, and adds a new one only if the plugin doesn't 
already exist. If the plugin already exist, the configuration is added to the 
existing 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

Reply via email to