Skip to content
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
wants to merge 30 commits into from

Conversation

gounthar
Copy link
Owner

@gounthar gounthar commented Oct 9, 2024

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.

gounthar and others added 30 commits October 9, 2024 09:50
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
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
@gounthar gounthar closed this Oct 18, 2024
@gounthar gounthar deleted the apply-jdk8-upgrade-rules branch October 18, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature(maven): Apply a set of rules to help with JDK8 upgrade
2 participants