On Thu, Nov 10, 2022 at 2:03 AM Ullrich Hafner <[email protected]> wrote:
> This causes a failure of: > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test (default-cli) > on project checks-api: Execution default-cli of goal > org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test failed: > org.junit.platform.commons.JUnitException: TestEngine with ID 'archunit' > failed to discover tests: ExceptionInInitializerError: class > com.tngtech.archunit.lang.ArchRule$Factory$SimpleArchRule cannot be cast to > class com.tngtech.archunit.lang.syntax.elements.ClassesShouldConjunction > (com.tngtech.archunit.lang.ArchRule$Factory$SimpleArchRule and > com.tngtech.archunit.lang.syntax.elements.ClassesShouldConjunction are in > unnamed module of loader > org.apache.maven.surefire.booter.IsolatedClassLoader @5cf39df6) -> [Help 1] > I just tried `mvn -f checks-api-plugin clean verify` locally using JDK 11 and it passed. Is there a toggle to define in the BOM that the plugin build is not ready > for JDK11? > No, I think all plugins are expected to be buildable on JDK 11 even if their runtime baseline remains Java 8. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1mpAeos5ZC2%3D%3DiFpCXta6z-Dc9-PT7pY%3D50cb-wA8fAQ%40mail.gmail.com.
