apache / apache/maven-dependency-plugin
[MDEP-589] When copying dependencies I want to exclude artifacts that are also reactor projects
- Dominant language
- Java
- Stars
- 175
- Forks
- 196
- Avg merge
- 19h 30m
- Merged PRs (30d)
- 5
Description
**[Dominick More](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dominick.more@audatex.ch)** opened **[MDEP-589](https://issues.apache.org/jira/browse/MDEP-589?redirect=false)** and commented
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.
\
\
\
\com.my.company\
\reactor-project\
\1.0-SNAPSHOT\
\
\
\
---
**Affects:** 3.0.2
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the dependency-copying goal and how it identifies artifacts in a reactor. No files or tests are named in the issue, so first locate the relevant goal implementation and its existing tests. Done means copied dependencies exclude artifacts that also represent local reactor projects with the same identity, avoiding duplicate classes on generated JVM classpaths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100