Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-206

Add new Mojo to find duplicate dependency declared

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.2
    • None
    • None

    Description

      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.

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

      Attachments

        Issue Links

          Activity

            People

              siveton Siveton Vincent
              siveton Siveton Vincent
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: