diff --git a/annotation-processor/pom.xml b/annotation-processor/pom.xml index 7a6db7c910..e88f35143f 100644 --- a/annotation-processor/pom.xml +++ b/annotation-processor/pom.xml @@ -121,14 +121,56 @@ + + org.apache.maven.plugins + maven-surefire-plugin + + true + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + **/*Test.java + + + + + + integration-test + verify + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-test-source-java17 + ${java-version.test.java17.add-test-source-phase} + + add-test-source + + + + src/test/java17 + + + + + - java14-mr-build + java17-mr-build - [14,) + [17,) @@ -137,15 +179,15 @@ maven-compiler-plugin - compile-java14 + compile-java17 compile compile - 14 + 17 - ${project.basedir}/src/main/java14 + ${project.basedir}/src/main/java17 true @@ -155,36 +197,5 @@ - - testWithJdk17 - - - java-version.test.release - 17 - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - add-test-source - generate-test-sources - - add-test-source - - - - src/test/java17 - - - - - - - - diff --git a/annotation-processor/src/main/java14/org/hibernate/validator/ap/internal/AbstractElementVisitor.java b/annotation-processor/src/main/java17/org/hibernate/validator/ap/internal/AbstractElementVisitor.java similarity index 100% rename from annotation-processor/src/main/java14/org/hibernate/validator/ap/internal/AbstractElementVisitor.java rename to annotation-processor/src/main/java17/org/hibernate/validator/ap/internal/AbstractElementVisitor.java diff --git a/annotation-processor/src/main/java14/org/hibernate/validator/ap/internal/ClassVisitor.java b/annotation-processor/src/main/java17/org/hibernate/validator/ap/internal/ClassVisitor.java similarity index 100% rename from annotation-processor/src/main/java14/org/hibernate/validator/ap/internal/ClassVisitor.java rename to annotation-processor/src/main/java17/org/hibernate/validator/ap/internal/ClassVisitor.java diff --git a/annotation-processor/src/main/java14/org/hibernate/validator/ap/internal/ConstraintAnnotationVisitor.java b/annotation-processor/src/main/java17/org/hibernate/validator/ap/internal/ConstraintAnnotationVisitor.java similarity index 100% rename from annotation-processor/src/main/java14/org/hibernate/validator/ap/internal/ConstraintAnnotationVisitor.java rename to annotation-processor/src/main/java17/org/hibernate/validator/ap/internal/ConstraintAnnotationVisitor.java diff --git a/engine/pom.xml b/engine/pom.xml index 89199a7549..8daeb8f03e 100644 --- a/engine/pom.xml +++ b/engine/pom.xml @@ -311,6 +311,24 @@ false + + org.codehaus.mojo + build-helper-maven-plugin + + + add-test-source-java17 + ${java-version.test.java17.add-test-source-phase} + + add-test-source + + + + src/test/java17 + + + + + @@ -326,36 +344,5 @@ --illegal-access=deny - - testWithJdk17 - - - java-version.test.release - 17 - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - add-test-source - generate-test-sources - - add-test-source - - - - src/test/java17 - - - - - - - - diff --git a/pom.xml b/pom.xml index 5dd219f40b..771a8f0cc4 100644 --- a/pom.xml +++ b/pom.xml @@ -277,6 +277,7 @@ ${java-version.test.compiler.java_home} ${java-version.test.launcher.java_home}/bin/java + generate-test-sources true @@ -1368,6 +1369,10 @@ 8 + + + none + osgi @@ -1399,6 +1404,19 @@ + + testWithJdk11 + + + java-version.test.release + 11 + + + + + none + + testWithJdk11+