diff --git a/Sanity/core-its/runtest.sh b/Sanity/core-its/runtest.sh index 6ab2725..596b9cb 100755 --- a/Sanity/core-its/runtest.sh +++ b/Sanity/core-its/runtest.sh @@ -14,6 +14,10 @@ rlJournalStart rlRun "git clone https://github.com/apache/maven-integration-testing.git" rlRun "cd ./maven-integration-testing" rlRun "git checkout ${MAVEN_IT_GIT_REF:-HEAD}" + + # This test is failing on Java 18+ due to JEP-400, https://openjdk.org/jeps/400 + rlRun "sed -i '/testitMNG6386UnicodeChars/i\\ @org.junit.jupiter.api.Disabled' core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6386BaseUriPropertyTest.java" + rlRun -s "mvn -V -B -fae clean install -Prun-its -Pembedded" rlAssertGrep "using Maven executable: /usr/share/maven/bin/mvn" $rlRun_LOG rlAssertGrep "BUILD SUCCESS" $rlRun_LOG