[MNG-7885] Plugin dependencies should be part in dependency management
- Dominant language
- Java
- Stars
- 5.3k
- Forks
- 3.1k
- Avg merge
- 20h 42m
- Merged PRs (30d)
- 297
Description
**[Lars Uffmann](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=cachescrubber)** opened **[MNG-7885](https://issues.apache.org/jira/browse/MNG-7885?redirect=false)** and commented
It would be a great improvement in dependency management if plugin dependencies could be part of the standard dependency management resolution. In the example below I could manage the version of the rewrite-maven-plugin using pluginManagement, the version of the rewrite-spring plugin dependency however has to be set in place.
```java
org.openrewrite.maven
rewrite-maven-plugin
org.openrewrite.java.spring.boot2.SpringBoot2JUnit4to5Migration
org.openrewrite.recipe
rewrite-spring
4.35.0
```
Other plugins are using special configurations to declare extra dependencies. The version. management issue however is the same. A good example is
_annotationProcessorPaths_ of the compiler plugin.
---
**Issue Links:**
- [MCOMPILER-391](https://issues.apache.org/jira/browse/MCOMPILER-391) annotationProcessorPaths have to follow dependencyManagement rules
Contributor guide
Assessment
This issue has not been assessed yet.