-
Notifications
You must be signed in to change notification settings - Fork 3
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
Migrating to Quarkus 3.0 #230
Conversation
c6d9481
to
09f1706
Compare
Thanks for your contribution; Suggestion: Test the performance of Jaxb. Should I increment the versions in this PR or do it in a separate PR? A seperate pull-request will be fine! |
Quarkus 3.0.2 has been released. Will need to update the PR |
08f24cb
to
c573615
Compare
compared to previous version of the PR:
|
c573615
to
e27e8a4
Compare
the main change is migrating from JavaEE to JakartaEE. - update Quarkus bom from io.quarkus:quarkus-universe-bom to io.quarkus.platform:quarkus-bom as it was deprecated since Quarkus 2.1 https://github.com/quarkusio/quarkus/wiki/Migration-Guide-2.1#quarkus-universe-bom-is-deprecated (and it is required to use the Quarkus migration tool) - launched quarkus `quarkus update --stream=3.0` as mentioned in https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.0#automatic-update-tool which dealt with a fair part of the migration. Then it remained few little tasks. - Updated one package-info annotation - Updated from jakarta.websocket:jakarta.websocket-api to io.quarkus:quarkus-websockets (another alternatives might be to add jakarta.websocket:jakarta.websocket-client-api) - Updated Jaxb generation. Moving from org.jvnet.jaxb2.maven2:maven-jaxb2-plugin to com.helger.maven:jaxb40-maven-plugin. Jaxb 3+ is supporting Jakarta. using a fork which has implemented the support of Jacxb4. The initial repository is not very active despite issue raised and a PR is proposed: see highsource/jaxb-tools#253 - updated xjb files: - namespace from `http://java.sun.com/xml/ns/jaxb` to `https://jakarta.ee/xml/ns/jaxb` - version from 1.2 to 3.0 (which is mandatory in accordance to the namespace) - Remove com.sun.xml.bind:jaxb-impl no more needed dependency Signed-off-by: Aurélien Pupier <[email protected]>
e27e8a4
to
141d41c
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
the main change is migrating from JavaEE to JakartaEE.
io.quarkus:quarkus-universe-bom
toio.quarkus.platform:quarkus-bom
as it was deprecated since Quarkus 2.1https://github.com/quarkusio/quarkus/wiki/Migration-Guide-2.1#quarkus-universe-bom-is-deprecated (and it is required to use the Quarkus migration tool)
quarkus update --stream=3.0
as mentioned in https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.0#automatic-update-tool which dealt with a fair part of the migration. Then it remained few little tasks.jakarta.websocket:jakarta.websocket-api
toio.quarkus:quarkus-websockets
(another alternatives might be to add jakarta.websocket:jakarta.websocket-client-api)org.jvnet.jaxb2.maven2:maven-jaxb2-plugin
tocom.helger.maven:jaxb40-maven-plugin
. Jaxb 3+ is supporting Jakarta. Using a fork which has implemented the support of Jacxb4. The initial repository is not very active despite issue raised and a PR is proposed: see Generate classes with Jakarta namespace highsource/jaxb-tools#253it remains some javax packages. they are javax.xml. i tis still part of the JDK so no need of migration
I guess it is a change that requires a major version upgrades.
Should I increment the versions in this PR or do it in a separate PR?
Also, i think it is impacting almost all other com-pas projects;maybe better to prepare PR for all other repositories before merging this one.