jenkinsci / jenkinsci/plugin-pom
Integrate OpenRewrite
- Dominant language
- Java
- Stars
- 75
- Forks
- 81
- Avg merge
- 9m
- Merged PRs (30d)
- 18
Description
https://github.com/openrewrite/rewrite-jenkins looks like a good place to keep rules for updating Jenkins plugin (also see https://github.com/openrewrite/rewrite-jenkins/issues/6). Yet https://docs.openrewrite.org/running-recipes/getting-started#step-2-add-rewrite-maven-plugin-or-rewrite-gradle-plugin-to-your-project and https://docs.openrewrite.org/running-recipes/getting-started#step-3-activate-a-recipe indicate that it is not ready to run out of the box. It would be great if any plugin using a sufficiently new parent were preconfigured to activate all relevant recipes so you could
```bash
mvn rewrite:run
```
without further ado.
(Of course there is a minor “chicken-and-egg” issue that in order to get access to https://github.com/openrewrite/rewrite-jenkins/blob/c15eac724e2c66ff956926f5966177995f035472/src/main/resources/META-INF/rewrite/rewrite.yml#L24C1-L28 you would first need to manually update your parent, but I think that is acceptable.)
Possibly depends on https://github.com/openrewrite/rewrite-jenkins/issues/4 (@sghill).
Contributor guide
Assessment
This issue has not been assessed yet.