Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HV-1888 Revert annotation processor service file to javax package
In versions >= 7, the annotation processor isn't working. Tested in gradle and maven using this guide: https://docs.jboss.org/hibernate/stable/validator/reference/en-US/html_single/?v=7.0#validator-annotation-processor In versions prior to 7, the annotation works as intended in maven/gradle builds and rasies compilation errors when an annotation is improperly used. Gradle imports used: compileOnly 'org.hibernate.validator:hibernate-validator-annotation-processor:6.2.0.Final' annotationProcessor 'org.hibernate.validator:hibernate-validator-annotation-processor:6.2.0.Final' implementation 'org.hibernate.validator:hibernate-validator:6.2.0.Final' In >=7, the annotation processor doesn't run during compilation. Gradle imports used: compileOnly 'org.hibernate.validator:hibernate-validator-annotation-processor:7.0.2.Final' annotationProcessor 'org.hibernate.validator:hibernate-validator-annotation-processor:7.0.2.Final' implementation 'org.hibernate.validator:hibernate-validator:7.0.2.Final' I don't believe this is something that needs to be changed to jakarta, since javax.annotation.processing.Processor exists in the compiler, not Java EE/Jakarta EE.
- Loading branch information