I'm trying to update one of my plugins and something odd is going on with the Jenkins BOMs
Then I added one dependency that my actual plugin needs:
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>git</artifactId>
</dependency>
As soon as I added this and try to build the demo plugin, I get numerous RequireUpperBoundDeps errors, which are all transitive dependencies of the Git plugin. (see below)
Is it me, or shouldn't the BOM's versions not create these issues? Or am I doing something wrong?
Versions:
- Parent Artifact: 4.80
- Jenkins 2.426.3
- Jenkins BOM: 3105.v672692894683
- Jenkins BOM Artifact Id: 2.426.x
-Stopp
Logs:
+-io.jenkins.plugins:demo:1.0-SNAPSHOT
[ERROR] +-org.jenkins-ci.plugins:git:5.2.2
[ERROR] +-org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023 (managed) <-- org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023
[ERROR] +-io.jenkins.plugins:asm-api:9.7-33.v4d23ef79fcc8 (managed) <-- io.jenkins.plugins:asm-api:9.6-3.v2e1fa_b_338cd7
[ERROR] +-org.ow2.asm:asm:9.6 (managed) <-- org.ow2.asm:asm:9.7
[ERROR] and
[ERROR] +-io.jenkins.plugins:demo:1.0-SNAPSHOT
[ERROR] +-org.jenkins-ci.plugins:git:5.2.2
[ERROR] +-org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023 (managed) <-- org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023
[ERROR] +-io.jenkins.plugins:asm-api:9.7-33.v4d23ef79fcc8 (managed) <-- io.jenkins.plugins:asm-api:9.6-3.v2e1fa_b_338cd7
[ERROR] +-org.ow2.asm:asm-commons:9.6 (managed) <-- org.ow2.asm:asm-commons:9.7
[ERROR] +-org.ow2.asm:asm:9.6 (managed) <-- org.ow2.asm:asm:9.6
[ERROR] and
[ERROR] +-io.jenkins.plugins:demo:1.0-SNAPSHOT
[ERROR] +-org.jenkins-ci.plugins:git:5.2.2
[ERROR] +-org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023 (managed) <-- org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023
[ERROR] +-io.jenkins.plugins:asm-api:9.7-33.v4d23ef79fcc8 (managed) <-- io.jenkins.plugins:asm-api:9.6-3.v2e1fa_b_338cd7
[ERROR] +-org.ow2.asm:asm-tree:9.6 (managed) <-- org.ow2.asm:asm-tree:9.7
[ERROR] +-org.ow2.asm:asm:9.6 (managed) <-- org.ow2.asm:asm:9.6
[ERROR] and
[ERROR] +-io.jenkins.plugins:demo:1.0-SNAPSHOT
[ERROR] +-org.jenkins-ci.plugins:git:5.2.2
[ERROR] +-org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023 (managed) <-- org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023
[ERROR] +-io.jenkins.plugins:asm-api:9.7-33.v4d23ef79fcc8 (managed) <-- io.jenkins.plugins:asm-api:9.6-3.v2e1fa_b_338cd7
[ERROR] +-org.ow2.asm:asm-util:9.6 (managed) <-- org.ow2.asm:asm-util:9.7
[ERROR] +-org.ow2.asm:asm:9.6 (managed) <-- org.ow2.asm:asm:9.6
[ERROR] ,
[ERROR] Require upper bound dependencies error for org.ow2.asm:asm-tree:9.6 paths to dependency are:
[ERROR] +-io.jenkins.plugins:demo:1.0-SNAPSHOT
[ERROR] +-org.jenkins-ci.plugins:git:5.2.2
[ERROR] +-org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023 (managed) <-- org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023
[ERROR] +-io.jenkins.plugins:asm-api:9.7-33.v4d23ef79fcc8 (managed) <-- io.jenkins.plugins:asm-api:9.6-3.v2e1fa_b_338cd7
[ERROR] +-org.ow2.asm:asm-tree:9.6 (managed) <-- org.ow2.asm:asm-tree:9.7
[ERROR] and
[ERROR] +-io.jenkins.plugins:demo:1.0-SNAPSHOT
[ERROR] +-org.jenkins-ci.plugins:git:5.2.2
[ERROR] +-org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023 (managed) <-- org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023
[ERROR] +-io.jenkins.plugins:asm-api:9.7-33.v4d23ef79fcc8 (managed) <-- io.jenkins.plugins:asm-api:9.6-3.v2e1fa_b_338cd7
[ERROR] +-org.ow2.asm:asm-analysis:9.6 (managed) <-- org.ow2.asm:asm-analysis:9.7
[ERROR] +-org.ow2.asm:asm-tree:9.6 (managed) <-- org.ow2.asm:asm-tree:9.6
[ERROR] and
[ERROR] +-io.jenkins.plugins:demo:1.0-SNAPSHOT
[ERROR] +-org.jenkins-ci.plugins:git:5.2.2
[ERROR] +-org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023 (managed) <-- org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023
[ERROR] +-io.jenkins.plugins:asm-api:9.7-33.v4d23ef79fcc8 (managed) <-- io.jenkins.plugins:asm-api:9.6-3.v2e1fa_b_338cd7
[ERROR] +-org.ow2.asm:asm-commons:9.6 (managed) <-- org.ow2.asm:asm-commons:9.7
[ERROR] +-org.ow2.asm:asm-tree:9.6 (managed) <-- org.ow2.asm:asm-tree:9.6
[ERROR] and
[ERROR] +-io.jenkins.plugins:demo:1.0-SNAPSHOT
[ERROR] +-org.jenkins-ci.plugins:git:5.2.2
[ERROR] +-org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023 (managed) <-- org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023
[ERROR] +-io.jenkins.plugins:asm-api:9.7-33.v4d23ef79fcc8 (managed) <-- io.jenkins.plugins:asm-api:9.6-3.v2e1fa_b_338cd7
[ERROR] +-org.ow2.asm:asm-util:9.6 (managed) <-- org.ow2.asm:asm-util:9.7
[ERROR] +-org.ow2.asm:asm-tree:9.6 (managed) <-- org.ow2.asm:asm-tree:9.6
[ERROR] ,
[ERROR] Require upper bound dependencies error for org.ow2.asm:asm-util:9.6 paths to dependency are:
[ERROR] +-io.jenkins.plugins:demo:1.0-SNAPSHOT
[ERROR] +-org.jenkins-ci.plugins:git:5.2.2
[ERROR] +-org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023 (managed) <-- org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023
[ERROR] +-io.jenkins.plugins:asm-api:9.7-33.v4d23ef79fcc8 (managed) <-- io.jenkins.plugins:asm-api:9.6-3.v2e1fa_b_338cd7
[ERROR] +-org.ow2.asm:asm-util:9.6 (managed) <-- org.ow2.asm:asm-util:9.7
[ERROR] ,
[ERROR] Require upper bound dependencies error for org.ow2.asm:asm-analysis:9.6 paths to dependency are:
[ERROR] +-io.jenkins.plugins:demo:1.0-SNAPSHOT
[ERROR] +-org.jenkins-ci.plugins:git:5.2.2
[ERROR] +-org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023 (managed) <-- org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023
[ERROR] +-io.jenkins.plugins:asm-api:9.7-33.v4d23ef79fcc8 (managed) <-- io.jenkins.plugins:asm-api:9.6-3.v2e1fa_b_338cd7
[ERROR] +-org.ow2.asm:asm-analysis:9.6 (managed) <-- org.ow2.asm:asm-analysis:9.7
[ERROR] and
[ERROR] +-io.jenkins.plugins:demo:1.0-SNAPSHOT
[ERROR] +-org.jenkins-ci.plugins:git:5.2.2
[ERROR] +-org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023 (managed) <-- org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023
[ERROR] +-io.jenkins.plugins:asm-api:9.7-33.v4d23ef79fcc8 (managed) <-- io.jenkins.plugins:asm-api:9.6-3.v2e1fa_b_338cd7
[ERROR] +-org.ow2.asm:asm-util:9.6 (managed) <-- org.ow2.asm:asm-util:9.7
[ERROR] +-org.ow2.asm:asm-analysis:9.6 (managed) <-- org.ow2.asm:asm-analysis:9.6
[ERROR] ,
[ERROR] Require upper bound dependencies error for org.ow2.asm:asm-commons:9.6 paths to dependency are:
[ERROR] +-io.jenkins.plugins:demo:1.0-SNAPSHOT
[ERROR] +-org.jenkins-ci.plugins:git:5.2.2
[ERROR] +-org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023 (managed) <-- org.jenkins-ci.plugins:scm-api:690.vfc8b_54395023
[ERROR] +-io.jenkins.plugins:asm-api:9.7-33.v4d23ef79fcc8 (managed) <-- io.jenkins.plugins:asm-api:9.6-3.v2e1fa_b_338cd7
[ERROR] +-org.ow2.asm:asm-commons:9.6 (managed) <-- org.ow2.asm:asm-commons:9.7
[ERROR] ]