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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            dominick.more@audatex.ch Dominick More

            Dates

              Created:
              Updated:

              Slack

                Issue deployment