You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dominick More (JIRA)" <ji...@apache.org> on 2017/11/21 12:47:00 UTC

[jira] [Created] (MDEP-589) When copying dependencies I want to exclude artifacts that are also reactor projects

Dominick More created MDEP-589:
----------------------------------

             Summary: When copying dependencies I want to exclude artifacts that are also reactor projects
                 Key: MDEP-589
                 URL: https://issues.apache.org/jira/browse/MDEP-589
             Project: Maven Dependency Plugin
          Issue Type: Improvement
          Components: copy-dependencies
    Affects Versions: 3.0.2
            Reporter: Dominick More


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>

 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)