Re: Issues compiling Jenkins plugins after 2.107 - Maven Enforcer and slf4j

2020-09-25 Thread Jesse Glick
On Thu, Sep 24, 2020 at 6:17 PM the.n...@gmail.com wrote: > just changing 3.4 to 4.7 in the POM was incredibly helpful and not at all > intuitive Note that recent versions of the plugin archetypes, when run in the default `hostOnJenkinsGitHub`, include Dependabot configuration that should automa

Re: Issues compiling Jenkins plugins after 2.107 - Maven Enforcer and slf4j

2020-09-24 Thread the.n...@gmail.com
Well, just changing 3.4 to 4.7 in the POM was incredibly helpful and not at all intuitive. My sincere thanks. On Thursday, September 24, 2020 at 5:44:15 p.m. UTC-4 the.n...@gmail.com wrote: > I'm on Maven 3.5.2 and my private pom.xml is version 4.0. The situation > varies based on what plugins

Re: Issues compiling Jenkins plugins after 2.107 - Maven Enforcer and slf4j

2020-09-24 Thread Devin Nusbaum
Just to make sure we are talking about the same thing, I mean the `` section of your pom.xml, like this (make sure your plugin matches). I would go ahead and update to version 4.7. T

Re: Issues compiling Jenkins plugins after 2.107 - Maven Enforcer and slf4j

2020-09-24 Thread the.n...@gmail.com
I'm on Maven 3.5.2 and my private pom.xml is version 4.0. The situation varies based on what plugins happen to be installed. The issue seems to be incompatible dependency boundaries on slf4j. There are footprints of this all over the jenkins-ci bug tracker, but I don't know where those stand. Is

Re: Issues compiling Jenkins plugins after 2.107 - Maven Enforcer and slf4j

2020-09-24 Thread Devin Nusbaum
Make sure you are using the latest version of the parent POM (4.7), or at least one of the 4.x versions. The 4.x releases of the parent POM include a BOM that manages the versions of various dependencies that come from Jenkins core to he

Re: Issues compiling Jenkins plugins after 2.107 - Maven Enforcer and slf4j

2020-09-24 Thread the.n...@gmail.com
The last working version is 2.182 (done using bisect). On Thursday, September 24, 2020 at 5:09:41 p.m. UTC-4 the.n...@gmail.com wrote: > 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.mave

Issues compiling Jenkins plugins after 2.107 - Maven Enforcer and slf4j

2020-09-24 Thread the.n...@gmail.com
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