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

When copying dependencies I want to exclude artifacts that are also reactor projects

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.2
    • None
    • copy-dependencies
    • None

    Description

      I have a top level reactor pom with the following declaration, but also a local reactor project with the same identity. When copying dependencies, I want to exclude these jar files since they will duplicate classes generated in the maven target/classes folder of the local reactor project. The purpose is for creating jvm classpaths without duplicate classes.

      <dependencyManagement>
      <dependencies>
      <dependency>
      <groupId>com.my.company</groupId>
      <artifactId>reactor-project</artifactId>
      <version>1.0-SNAPSHOT</version>
      </dependency>
      </dependencies>
      </dependencyManagement>

      Attachments

        Activity

          People

            Unassigned Unassigned
            dominick.more@audatex.ch Dominick More
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: