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

Change version of xjc from 3.0.0-M4 to 3.0.0 #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kunlinyu
Copy link

@kunlinyu kunlinyu commented Feb 1, 2021

Signed-off-by: Kunlin Yu [email protected]

@mdiskin
Copy link

mdiskin commented Jan 2, 2023

Any plans on releasing this. I'm actually looking for jakarta xjc support too as I upgrade to springboot 3

@lynxSven
Copy link

lynxSven commented Jan 2, 2023

Same here. Need this for the springboot 3 update

@linkna
Copy link

linkna commented Feb 1, 2023

Same here.

@dlmiles
Copy link

dlmiles commented Mar 7, 2023

At this time (version 2.0.0), I can generate and compile JAXB for newer versions with:

dependencies {
    xjcTool 'com.sun.xml.bind:jaxb-xjc:3.0.2'
    xjcTool 'com.sun.xml.bind:jaxb-impl:3.0.2'  // documentation isn't so clear on needing this too
    implementation 'jakarta.xml.bind:jakarta.xml.bind-api:3.0.1'
}

Unfortunately you can not do the same for v4 due to a coded version block, which I'll attempt to create a PR to remove.

Use gradle with --info for additional information to confirm versions in use.

The documentation indicates when specifying xjcTool the use of xjc.xjcVersion is not needed. This seems to be what I have seen as it will use the default latest default -target version for the jaxb-xjc and jaxb-impl being used to generate.

The documentation does indicate that when something is present in xjcTool the plugin doesn't inject its own versions
https://unbroken-dome.github.io/projects/gradle-xjc-plugin/#_setting_the_xjc_tool_classpath_explicitly.

It maybe good to spell out this somewhere in documentation, since that is probably a common requirement as time moves on to lower maintenance burden.

HTH

@supergillie
Copy link

Same here, need this for springboot3 update

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.

6 participants