apache / apache/maven-dependency-plugin
[MDEP-863] go-offline / resolve-plugins don't take into account dependency overwrite
- Dominant language
- Java
- Stars
- 175
- Forks
- 196
- Avg merge
- 19h 30m
- Merged PRs (30d)
- 5
Description
**[Juan Pablo Santos Rodríguez](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=juanpablo)** opened **[MDEP-863](https://issues.apache.org/jira/browse/MDEP-863?redirect=false)** and commented
Having this plugin configuration:
```xml
ro.isdc.wro4j
wro4j-maven-plugin
1.10.1
org.webjars.npm
glob
7.2.0
```
causes `DependencyResolutionException: Failed to collect dependencies for ro.isdc.wro4j:wro4j-maven-plugin:jar:1.10.1 ()`. However, actual wro4j plugin execution does resolve the dependencies, and doesn't display this error, it executes correctly.
(see https://github.com/wro4j/wro4j/issues/1039#issuecomment-382474533 for context on this configuration)
---
**Affects:** 3.5.0
**Issue Links:**
- [MDEP-507](https://issues.apache.org/jira/browse/MDEP-507) dependency:resolve-plugins and dependency:go-offline doesn't respect plugin dependencies from pom.xml
(_**"duplicates"**_)
1 votes, 2 watchers
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the plugin configuration against Maven Dependency Plugin 3.5.0, comparing the go-offline and resolve-plugins goals with the actual wro4j-maven-plugin execution. Read the handling of plugin dependencies in those goals and the behavior described by MDEP-507; done means dependency overwrites are respected without the erroneous DependencyResolutionException.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100