Skip to content

Commit 46a9ed8

Browse files
committed
HSEARCH-5493 Run eclipse compiler on JDK 21
1 parent 0be693a commit 46a9ed8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,10 +497,11 @@ stage('Non-default environments') {
497497
environments.content.compiler.enabled.each { CompilerBuildEnvironment buildEnv ->
498498
addExecution(buildEnv.tag, {
499499
runBuildOnNode {
500-
withMavenWorkspace {
500+
withMavenWorkspace(jdk: 'OpenJDK 21 Latest') {
501501
// NOTE: we are not relying on incremental build in this case as
502502
// we'd better recompile everything with the same compiler rather than get some strange errors
503503
mavenNonDefaultBuild buildEnv, """ \
504+
-Denforcer.skip=true \
504505
-DskipTests -DskipITs \
505506
-P${buildEnv.mavenProfile},!javaModuleITs,!metamodelITs -pl '!:hibernate-search-documentation,!:hibernate-search-documentation-lucene-next,!:hibernate-search-reports' \
506507
-Dgib.buildAll=true \

0 commit comments

Comments
 (0)