I’m struggling with the BOM builds of some plugins: https://github.com/jenkinsci/bom/pull/1513 Bump versions of JS libs by uhafner · Pull Request #1513 · jenkinsci/bom github.com
It seems that the BOM compiles and builds plugins with target JDK 11 even though the plugin is not yet ready for JDK target (due to some missing `opens` directives during testing). (The baseline still is for JDK8) During the PCT I get: [INFO] --- maven-hpi-plugin:3.33:initialize (default-initialize) @ checks-api --- [INFO] Setting maven.compiler.release to 11 [INFO] Setting maven.compiler.testRelease to 11 [INFO] Which I do not have when running the plugin build locally. 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] Is there a toggle to define in the BOM that the plugin build is not ready for JDK11? -- 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 jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/6420B71F-F7C0-41C3-BF5A-262DDE68D20B%40gmail.com.