Fixes #27 by removing the dependency on symbol-annotation. We do this only for the org.openrewrite.jenkins.ModernizePlugin recipe and not the org.openrewrite.jenkins.ModernizePluginForJava8 recipe because the latter only bumps the core version up to 2.346.3, and a recent version of symbol-annotation is only delivered by core as of 2.349. We tested this by running org.openrewrite.jenkins.ModernizePlugin against jenkinsci/artifact-repository-parameter-plugin@b0a0a4e and verifying that the symbol-annotation dependency was successfully removed. We did not add any test coverage in this repository because org.openrewrite.java.RemoveDependency is upstream functionality that is already tested upstream, and similar usages in this repository (e.g., the usage of org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId to change mockito-inline to mockito-core a few lines above this change) don't have test coverage in this repository either.
Fixes #27 by removing the dependency on
symbol-annotation
. We do this only for theorg.openrewrite.jenkins.ModernizePlugin
recipe and not theorg.openrewrite.jenkins.ModernizePluginForJava8
recipe because the latter only bumps the core version up to 2.346.3, and a recent version ofsymbol-annotation
is only delivered by core as of 2.349. We tested this by runningorg.openrewrite.jenkins.ModernizePlugin
against jenkinsci/artifact-repository-parameter-plugin@b0a0a4e and verifying that thesymbol-annotation
dependency was successfully removed. We did not add any test coverage in this repository becauseorg.openrewrite.java.RemoveDependency
is upstream functionality that is already tested upstream, and similar usages in this repository (e.g., the usage oforg.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId
to changemockito-inline
tomockito-core
a few lines above this change) don't have test coverage in this repository either.