apache / apache/maven-dependency-plugin

[MDEP-803] addParentPoms only partially working

Open
#1,312 0 comments 0 reactions 0 assignees View on GitHub
bug priority:major
Dominant language
Java
Stars
175
Forks
196
Avg merge
19h 30m
Merged PRs (30d)
5

Description

**[François Régnier](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=JIRAUSER288343)** opened **[MDEP-803](https://issues.apache.org/jira/browse/MDEP-803?redirect=false)** and commented

Hello,

In the dependency:copy-dependencies documentation, it is written:

 

```
Add parent poms to the list of copied dependencies (both current project pom parents and dependencies parents).
```

In fact only current projects POM parents are copied.

 

My configuration is:

 

```
                     
                            download-escrow-sources
                           
                                copy-dependencies
                           
                            prepare-package
                           
                                runtime
                                sources
                                ${escrow.build.directory}
                                com.xxx,com.yyy
                                true
                                true
                                true
                           
                       
```

Thanks

François

 

---

**Affects:** 3.3.0

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the dependency:copy-dependencies documentation and the configuration shown here, then trace the copy-dependencies goal's handling of addParentPoms for dependency POMs. Reproduce the issue with the provided runtime and sources classifier settings, and verify that the documented parent-POM behavior is consistent with the resulting copied files.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.