Hi All,
I've been trying to build my own Jenkins plugin based on 2.258 and am getting some pretty annoying errors:
[WARNING] Rule 6: org.apache.maven.plugins.enforcer.RequireUpperBoundDeps failed with message:
Failed while enforcing RequireUpperBoundDeps. The error(s) are [
Require upper bound dependencies error for org.slf4j:jcl-over-slf4j:1.7.25 paths to dependency are:
+-io.jenkins.plugins:MyPlugin:v1.6.802.0
+-org.slf4j:jcl-over-slf4j:1.7.25
and
+-io.jenkins.plugins:
MyPlugin
:v1.6.802.0
+-org.jenkins-ci.main:jenkins-core:2.258
+-org.slf4j:jcl-over-slf4j:1.7.26
I have no dependencies on slf4j in my pom.xml, just Jenkins and Struts, but when the build occurs, the MyPlugin.iml and many of the dependent pom.xml files from 2.258 refer to that version of slf4j. Turning off the enforcer gives me a broken Jenkins because of the plugins that are missing that depend on those versions as a maximum.
This is not an issue at 2.107, but then MyPlugin works at that version.
Please help.
Thanks,
Randall