forked from jenkins-infra/plugin-modernizer-tool
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply a set of rules to help with JDK8 upgrade #32
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fixes #20 Add transformation step for POMs using JDK versions older than 8. * Add a call to `ensureMinimalBuild` method in `process` method of `PluginModernizer.java` before `plugin.checkoutBranch`. * Update `ensureMinimalBuild` method in `MavenInvoker.java` to invoke `MINIMAL_BUILD_JAVA_8_RECIPE`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/gounthar/plugin-modernizer-tool/issues/20?shareId=XXXX-XXXX-XXXX-XXXX).
Bumps [org.openrewrite.maven:rewrite-maven-plugin](https://github.com/openrewrite/rewrite-maven-plugin) from 5.41.0 to 5.42.0. - [Release notes](https://github.com/openrewrite/rewrite-maven-plugin/releases) - [Commits](openrewrite/rewrite-maven-plugin@v5.41.0...v5.42.0) --- updated-dependencies: - dependency-name: org.openrewrite.maven:rewrite-maven-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
…org.openrewrite.maven-rewrite-maven-plugin-5.42.0 chore(deps): bump org.openrewrite.maven:rewrite-maven-plugin from 5.41.0 to 5.42.0
Bumps `byte-buddy.version` from 1.15.3 to 1.15.4. Updates `net.bytebuddy:byte-buddy` from 1.15.3 to 1.15.4 - [Release notes](https://github.com/raphw/byte-buddy/releases) - [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md) - [Commits](raphw/byte-buddy@byte-buddy-1.15.3...byte-buddy-1.15.4) Updates `net.bytebuddy:byte-buddy-agent` from 1.15.3 to 1.15.4 - [Release notes](https://github.com/raphw/byte-buddy/releases) - [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md) - [Commits](raphw/byte-buddy@byte-buddy-1.15.3...byte-buddy-1.15.4) --- updated-dependencies: - dependency-name: net.bytebuddy:byte-buddy dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: net.bytebuddy:byte-buddy-agent dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
…byte-buddy.version-1.15.4 chore(deps): bump byte-buddy.version from 1.15.3 to 1.15.4
…ction Guice for UpdateCenterService
Bumps [org.openrewrite.recipe:rewrite-recipe-bom](https://github.com/openrewrite/rewrite-recipe-bom) from 2.20.0 to 2.21.0. - [Release notes](https://github.com/openrewrite/rewrite-recipe-bom/releases) - [Commits](openrewrite/rewrite-recipe-bom@v2.20.0...v2.21.0) --- updated-dependencies: - dependency-name: org.openrewrite.recipe:rewrite-recipe-bom dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
…org.openrewrite.recipe-rewrite-recipe-bom-2.21.0 chore(deps): bump org.openrewrite.recipe:rewrite-recipe-bom from 2.20.0 to 2.21.0
Bumps [org.openrewrite.recipe:rewrite-jenkins](https://github.com/openrewrite/rewrite-jenkins) from 0.14.0 to 0.14.1. - [Release notes](https://github.com/openrewrite/rewrite-jenkins/releases) - [Commits](openrewrite/rewrite-jenkins@v0.14.0...v0.14.1) --- updated-dependencies: - dependency-name: org.openrewrite.recipe:rewrite-jenkins dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
…org.openrewrite.recipe-rewrite-jenkins-0.14.1 chore(deps): bump org.openrewrite.recipe:rewrite-jenkins from 0.14.0 to 0.14.1
Bumps [com.fasterxml.jackson:jackson-bom](https://github.com/FasterXML/jackson-bom) from 2.17.2 to 2.18.0. - [Commits](FasterXML/jackson-bom@jackson-bom-2.17.2...jackson-bom-2.18.0) --- updated-dependencies: - dependency-name: com.fasterxml.jackson:jackson-bom dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
…com.fasterxml.jackson-jackson-bom-2.18.0 chore(deps): bump com.fasterxml.jackson:jackson-bom from 2.17.2 to 2.18.0
…-rules feat(java): Helps with the migration of legacy plugins' pom.xml to JDK8.
Bumps [com.fasterxml.jackson:jackson-bom](https://github.com/FasterXML/jackson-bom) from 2.17.2 to 2.18.0. - [Commits](FasterXML/jackson-bom@jackson-bom-2.17.2...jackson-bom-2.18.0) --- updated-dependencies: - dependency-name: com.fasterxml.jackson:jackson-bom dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [org.openrewrite.maven:rewrite-maven-plugin](https://github.com/openrewrite/rewrite-maven-plugin) from 5.42.0 to 5.42.2. - [Release notes](https://github.com/openrewrite/rewrite-maven-plugin/releases) - [Commits](openrewrite/rewrite-maven-plugin@v5.42.0...v5.42.2) --- updated-dependencies: - dependency-name: org.openrewrite.maven:rewrite-maven-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
…org.openrewrite.maven-rewrite-maven-plugin-5.42.2 chore(deps): bump org.openrewrite.maven:rewrite-maven-plugin from 5.42.0 to 5.42.2
…lags Improve and add more metadata flags
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #20
Add transformation step for POMs using JDK versions older than 8.
ensureMinimalBuild
method inprocess
method ofPluginModernizer.java
beforeplugin.checkoutBranch
.ensureMinimalBuild
method inMavenInvoker.java
to invokeMINIMAL_BUILD_JAVA_8_RECIPE
.For more details, open the Copilot Workspace session.