You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Siveton (JIRA)" <ji...@codehaus.org> on 2009/04/08 23:34:19 UTC

[jira] Closed: (MDEP-206) Add new Mojo to find duplicate dependency declared

     [ http://jira.codehaus.org/browse/MDEP-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton closed MDEP-206.
--------------------------------

         Assignee: Vincent Siveton  (was: Brian Fox)
       Resolution: Fixed
    Fix Version/s: 2.2

Fixed in [r763406|http://svn.apache.org/viewvc?rev=763406&view=rev]

> Add new Mojo to find duplicate dependency declared
> --------------------------------------------------
>
>                 Key: MDEP-206
>                 URL: http://jira.codehaus.org/browse/MDEP-206
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.1
>            Reporter: Vincent Siveton
>            Assignee: Vincent Siveton
>             Fix For: 2.2
>
>
> When your pom have a lot of dependencies, it is difficult to know if a double entry is declared. This new goal should analyze the pom.xml (i.e. the model) and list the duplicate dependencies presents in the <dependencies/> and <dependencyManagement/> tags.
> {noformat}
>   <dependencies>
>     <dependency>
>       <groupId>org.apache.maven</groupId>
>       <artifactId>maven-plugin-api</artifactId>
>       <version>${maven.version}</version>
>     </dependency>
> ...
>     <dependency>
>       <groupId>org.apache.maven</groupId>
>       <artifactId>maven-plugin-api</artifactId>
>       <version>${maven.version}</version>
>     </dependency>
>   </dependencies>
> {noformat}

-- 
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