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: Brian Fox


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

        

Reply via email to