Thanks to visit codestin.com
Credit goes to github.com

Skip to content

JaxB plugin migrations from 2.X to 4.0#932

Merged
MBoegers merged 3 commits intomainfrom
boeg/jaxb-maven
Nov 6, 2025
Merged

JaxB plugin migrations from 2.X to 4.0#932
MBoegers merged 3 commits intomainfrom
boeg/jaxb-maven

Conversation

@MBoegers
Copy link
Contributor

@MBoegers MBoegers commented Nov 5, 2025

What's changed?

Aligned the JaxB Plugin versions with the JaxB version in the Jakarta XML version.

What's your motivation?

Prevent version mismatches at schema interactions.

Anything in particular you'd like reviewers to focus on?

Anyone you would like to review specifically?

Have you considered any alternatives or workarounds?

Any additional context

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

…B 2 using jakarta dependencies but javax packages
…karta dependencies and namespace) requires plugin 3.X.
…mojo:jaxb2-maven-plugin:4.X and org.jvnet.jaxb:jaxb-maven-plugin:4.X)
@MBoegers MBoegers self-assigned this Nov 5, 2025
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Nov 5, 2025
@MBoegers MBoegers requested a review from timtebeek November 5, 2025 10:33
newVersion: 3.x
- org.openrewrite.maven.UpgradePluginVersion:
groupId: org.codehaus.mojo
groupId: org.jvnet.jaxb
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is no org.codehaus.mojo:jaxb-maven-plugin its from org.jvnet.jaxb

@github-project-automation github-project-automation bot moved this from In Progress to Ready to Review in OpenRewrite Nov 6, 2025
@MBoegers MBoegers merged commit ee64233 into main Nov 6, 2025
2 checks passed
@MBoegers MBoegers deleted the boeg/jaxb-maven branch November 6, 2025 15:21
@github-project-automation github-project-automation bot moved this from Ready to Review to Done in OpenRewrite Nov 6, 2025
mergify bot added a commit to robfrank/linklift that referenced this pull request Nov 16, 2025
…21.1 to 3.21.2 [skip ci]

Bumps [org.openrewrite.recipe:rewrite-migrate-java](https://github.com/openrewrite/rewrite-migrate-java) from 3.21.1 to 3.21.2.
Release notes

*Sourced from [org.openrewrite.recipe:rewrite-migrate-java's releases](https://github.com/openrewrite/rewrite-migrate-java/releases).*

> v3.21.2
> -------
>
> What's Changed
> --------------
>
> * JaxB plugin migrations from 2.X to 4.0 by [`@​MBoegers`](https://github.com/MBoegers) in [openrewrite/rewrite-migrate-java#932](https://redirect.github.com/openrewrite/rewrite-migrate-java/pull/932)
> * `jaxws-maven-plugin` to 2.3.X by [`@​MBoegers`](https://github.com/MBoegers) in [openrewrite/rewrite-migrate-java#929](https://redirect.github.com/openrewrite/rewrite-migrate-java/pull/929)
> * Update jakarta-ee-10.yml add tyrus to ee10 by [`@​ChenyuWang98`](https://github.com/ChenyuWang98) in [openrewrite/rewrite-migrate-java#935](https://redirect.github.com/openrewrite/rewrite-migrate-java/pull/935)
> * Always add explicit type to the `Predicate.isEqual` method by [`@​lredor`](https://github.com/lredor) in [openrewrite/rewrite-migrate-java#927](https://redirect.github.com/openrewrite/rewrite-migrate-java/pull/927)
> * Convert Guava `Predicates.instanceOf` by [`@​lredor`](https://github.com/lredor) in [openrewrite/rewrite-migrate-java#919](https://redirect.github.com/openrewrite/rewrite-migrate-java/pull/919)
> * Add the generated Guava recipes, as third-party requires Java 17 by [`@​timtebeek`](https://github.com/timtebeek) in f02a15f59c08ab15bbde59ef413a16f4ec0653e8
>
> **Full Changelog**: <openrewrite/rewrite-migrate-java@v3.21.1...v3.21.2>


Commits

* [`187bcbe`](openrewrite/rewrite-migrate-java@187bcbe) Convert Guava `Predicates.instanceOf` ([#919](https://redirect.github.com/openrewrite/rewrite-migrate-java/issues/919))
* [`f9c0ad4`](openrewrite/rewrite-migrate-java@f9c0ad4) Always add explicit type to the `Predicate.isEqual` method ([#927](https://redirect.github.com/openrewrite/rewrite-migrate-java/issues/927))
* [`8f8a2f5`](openrewrite/rewrite-migrate-java@8f8a2f5) Update jakarta-ee-10.yml add tyrus ([#935](https://redirect.github.com/openrewrite/rewrite-migrate-java/issues/935))
* [`afd0245`](openrewrite/rewrite-migrate-java@afd0245) Require a public no args constructor
* [`521a2f3`](openrewrite/rewrite-migrate-java@521a2f3) OpenRewrite recipe best practices
* [`341b4c0`](openrewrite/rewrite-migrate-java@341b4c0) [Auto] SDKMAN! Java candidates as of 2025-11-10T1018
* [`f02a15f`](openrewrite/rewrite-migrate-java@f02a15f) Add the generated Guava recipes, as third-party requires Java 17
* [`b7c506a`](openrewrite/rewrite-migrate-java@b7c506a) `jaxws-maven-plugin` to 2.3.X ([#929](https://redirect.github.com/openrewrite/rewrite-migrate-java/issues/929))
* [`ee64233`](openrewrite/rewrite-migrate-java@ee64233) JaxB plugin migrations from 2.X to 4.0 ([#932](https://redirect.github.com/openrewrite/rewrite-migrate-java/issues/932))
* See full diff in [compare view](openrewrite/rewrite-migrate-java@v3.21.1...v3.21.2)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=org.openrewrite.recipe:rewrite-migrate-java&package-manager=maven&previous-version=3.21.1&new-version=3.21.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants