Branch: refs/heads/master Home: https://github.com/jenkinsci/gearman-plugin Commit: 69bb1f44e52ed4d90fe5d9b89b5f033d4162204b https://github.com/jenkinsci/gearman-plugin/commit/69bb1f44e52ed4d90fe5d9b89b5f033d4162204b Author: Antoine Musso <has...@free.fr> Date: 2021-02-16 (Tue, 16 Feb 2021)
Changed paths: M Jenkinsfile M pom.xml M src/test/java/hudson/plugins/gearman/GearmanPluginConfigTest.java Log Message: ----------- Update dependencies for Java 11 Bump Jenkins to 2.164.1 for Java 11 version (I have found doc mentionning 2.138 and some other requiring 2.164). Update some dependencies for Java 11 support: * Mockito 2.15.0..2.28.2 to latest 2.x release. The release notes show a lot of Java 11 related changes. * Powermock 2.0.0-beta.5..2.0.7 * objenesis 2.6..3.0.1 which is also a dependency of Powermock Add a PowerMockIgnore annotation for `javax.xml.*` in GearmanPluginConfigTest to prevent the following kind of error: java.lang.ExceptionInInitializerError .. Caused by: java.lang.IllegalAccessError: class javax.xml.datatype.FactoryFinder (in unnamed module @0x371ff923) cannot access class jdk.xml.internal.SecuritySupport (in module java.xml) because module java.xml does not export jdk.xml.internal to unnamed module @0x371ff923 Ran tests with: rm -fR target JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 mvn clean package rm -fR target JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 mvn clean package Bug: https://phabricator.wikimedia.org/T271683 Commit: 871529d9529419650bb784c916f577c85a053ef9 https://github.com/jenkinsci/gearman-plugin/commit/871529d9529419650bb784c916f577c85a053ef9 Author: Antoine Musso <has...@free.fr> Date: 2021-02-16 (Tue, 16 Feb 2021) Changed paths: M pom.xml Log Message: ----------- Switch gearman-java to Wikimedia fork Fixes an infinite loop when using Java 11: https://gerrit.wikimedia.org/r/c/integration/gearman-java/+/655663 Use org.slf4j:slf4j-api:1.7.30 to align with gearman-java:0.9 and please maven enforcer plugin. Exclude slf4j-log4j12 that comes from gearman-java since it is not compatible with log4j-over-slf4j used by Jenkins: https://www.slf4j.org/codes.html#log4jDelegationLoop That unbreaks mvn `test` or `hpi:run` goals. Bug: https://phabricator.wikimedia.org/T271683 Compare: https://github.com/jenkinsci/gearman-plugin/compare/c0d105d86aa6...871529d95294 -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/gearman-plugin/push/refs/heads/master/c0d105-871529%40github.com.