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

Upgrade to jakarta.validation-api and hibernate v.8 as default validator (java 11) #73

Merged
merged 2 commits into from
Nov 30, 2023

Conversation

eivinhb
Copy link
Member

@eivinhb eivinhb commented Nov 27, 2023

hibernate-validator v.8 requires java 11 or higher. Because of this we will from now on compile this library to java 11.

Change imports from javax.validation to jakarta.validation

…r (java 11)

hibernate-validator v.8 requires java 11 or higher. Because of this
we will from now on compile this library to java 11.

Change imports from javax.validation to jakarta.validation
@eivinhb eivinhb force-pushed the java11_jakarta_validation branch from 8c90910 to b602632 Compare November 27, 2023 11:02
Copy link
Member

@runeflobakk runeflobakk left a comment

Choose a reason for hiding this comment

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

💯

Some plugins behave differently. jaxb2-maven-plugin started picking
up classes on the rot of package "no.digipost.api.datatypes"
and this created a new schema-file. I resolved that by scoping the
lombok-plugin to only check the types-folder for types that
should be included in the datatypes.xsd.
@eivinhb eivinhb merged commit 2e51690 into main Nov 30, 2023
5 checks passed
@eivinhb eivinhb deleted the java11_jakarta_validation branch November 30, 2023 12:02
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.

2 participants