[MNG-6135] Maven plugins and core extensions are not dependencies, they should be resolved the same way as projects.
- Dominant language
- Java
- Stars
- 5.3k
- Forks
- 3.1k
- Avg merge
- 20h 40m
- Merged PRs (30d)
- 275
Description
**[Christian Schulte](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=schulte77)** opened **[MNG-6135](https://issues.apache.org/jira/browse/MNG-6135?redirect=false)** and commented
Due to a bug in the Maven resolver, plugin and core extensions were resolved incorrectly: the direct `test` and `provided` dependencies were ignored.
Ironically, this fix breaks some plugins because direct `test` dependencies now take precedence over transitive `compile` one: see MNG-5739
(we know only one case where `provided` case has an impact: MPLUGIN-296, and in this only case, the new behaviour is more consistent than the previous)
---
**Issue Links:**
- [MRESOLVER-8](https://issues.apache.org/jira/browse/MRESOLVER-8) ScopeDependencySelector incorrectly de-selects direct dependencies
(_**"is blocked by"**_)
- [MRESOLVER-9](https://issues.apache.org/jira/browse/MRESOLVER-9) DefaultDependencyCollector does not correctly handle dependency management
(_**"is blocked by"**_)
- [MRESOLVER-10](https://issues.apache.org/jira/browse/MRESOLVER-10) New 'TransitiveDependencyManager' supporting transitive dependency management
(_**"is blocked by"**_)
- [MNG-8559](https://issues.apache.org/jira/browse/MNG-8559) Rewrite DefaultPluginManager with Maven 4 API
(_**"Is contained by"**_)
- [MNG-5739](https://issues.apache.org/jira/browse/MNG-5739) Adding a test dependency can move dependencies from the compile scope to the test scope
- [MPLUGIN-321](https://issues.apache.org/jira/browse/MPLUGIN-321) improve documentation on maven-plugin-annotations telling that optional=true is sufficient
- [MEAR-246](https://issues.apache.org/jira/browse/MEAR-246) Upgrade the EAR lifecycle to use the maven-resources-plugin 3.0.2.
(_**"breaks"**_)
- [MPLUGIN-296](https://issues.apache.org/jira/browse/MPLUGIN-296) java.lang.ClassNotFoundException: org.apache.maven.plugins.annotations.Execute
(_**"breaks"**_)
- [MWAR-400](https://issues.apache.org/jira/browse/MWAR-400) Upgrade the WAR lifecycle to use the maven-resources-plugin 3.0.2
(_**"breaks"**_)
- [MRESOURCES-234](https://issues.apache.org/jira/browse/MRESOURCES-234) Upgrade of commons-io to 2.5 and correction of invalid scope.
(_**"breaks"**_)
- [MPMD-230](https://issues.apache.org/jira/browse/MPMD-230) Required class missing: org/apache/commons/io/IOUtils
(_**"breaks"**_)
**Remote Links:**
- [Page
](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=67636510)
1 votes, 9 watchers
Contributor guide
Assessment
This issue has not been assessed yet.