Skip to content

Commit

Permalink
Work around issues on 2.222.x, 2.235.x, and 2.289.x (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil committed Dec 17, 2021
1 parent 04593ab commit 07811b5
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,70 @@
<exclude>com.google.code.findbugs:jsr305</exclude> <!-- ditto -->
<exclude>net.java.dev.jna:jna</exclude> <!-- needed for Jenkins 1.585 and earlier -->
<exclude>org.kohsuke:access-modifier-annotation</exclude>
<!--
Work around the following require upper bound dependencies error on 2.222.x
and 2.235.x:
Require upper bound dependencies error for com.github.spotbugs:spotbugs-annotations:3.1.11 [provided] paths to dependency are:
+-org.jenkins-ci.plugins:plugin:4.32-SNAPSHOT
+-com.github.spotbugs:spotbugs-annotations:3.1.11 [provided]
and
+-org.jenkins-ci.plugins:plugin:4.32-SNAPSHOT
+-org.jenkins-ci.main:jenkins-core:2.222 [provided]
+-org.jenkins-ci.main:remoting:4.2 [provided] (managed) ← org.jenkins-ci.main:remoting:4.2 [provided]
+-com.github.spotbugs:spotbugs-annotations:3.1.11 [provided] (managed) ← com.github.spotbugs:spotbugs-annotations:3.1.12 [provided]
and
+-org.jenkins-ci.plugins:plugin:4.32-SNAPSHOT
+-org.jenkins-ci.main:jenkins-core:2.222 [provided]
+-org.jenkins-ci.main:cli:2.222 [provided]
+-com.github.spotbugs:spotbugs-annotations:3.1.11 [provided] (managed) ← com.github.spotbugs:spotbugs-annotations:3.1.12 [provided]
In the long term, this ought to be mitigated by jenkinsci/remoting#495 (which
makes Remoting's dependency on spotbugs-annotations optional) and by
jenkinsci/jenkins#6066 (which makes cli's dependency on spotbugs-annotations
optional).
-->
<exclude>com.github.spotbugs:spotbugs-annotations</exclude>
<!--
Work around the following require upper bound dependencies error on 2.289.x:
Require upper bound dependencies error for org.ow2.asm:asm:9.0 [provided] paths to dependency are:
+-org.jenkins-ci.plugins:plugin:4.32-SNAPSHOT
+-org.kohsuke:access-modifier-annotation:1.21 [provided]
+-org.ow2.asm:asm:9.0 [provided]
and
+-org.jenkins-ci.plugins:plugin:4.32-SNAPSHOT
+-org.jenkins-ci.main:jenkins-core:2.289 [provided]
+-com.github.jnr:jnr-posix:3.1.5 [provided] (managed) ← com.github.jnr:jnr-posix:3.1.5 [provided]
+-com.github.jnr:jnr-ffi:2.2.2 [provided]
+-org.ow2.asm:asm:9.1 [provided]
and
+-org.jenkins-ci.plugins:plugin:4.32-SNAPSHOT
+-org.jenkins-ci.main:jenkins-core:2.289 [provided]
+-com.github.jnr:jnr-posix:3.1.5 [provided] (managed) ← com.github.jnr:jnr-posix:3.1.5 [provided]
+-com.github.jnr:jnr-ffi:2.2.2 [provided]
+-org.ow2.asm:asm-commons:9.1 [provided]
+-org.ow2.asm:asm:9.1 [provided]
and
+-org.jenkins-ci.plugins:plugin:4.32-SNAPSHOT
+-org.jenkins-ci.main:jenkins-core:2.289 [provided]
+-com.github.jnr:jnr-posix:3.1.5 [provided] (managed) ← com.github.jnr:jnr-posix:3.1.5 [provided]
+-com.github.jnr:jnr-ffi:2.2.2 [provided]
+-org.ow2.asm:asm-tree:9.1 [provided]
+-org.ow2.asm:asm:9.1 [provided]
and
+-org.jenkins-ci.plugins:plugin:4.32-SNAPSHOT
+-org.jenkins-ci.main:jenkins-core:2.289 [provided]
+-com.github.jnr:jnr-posix:3.1.5 [provided] (managed) ← com.github.jnr:jnr-posix:3.1.5 [provided]
+-com.github.jnr:jnr-ffi:2.2.2 [provided]
+-org.ow2.asm:asm-util:9.1 [provided]
+-org.ow2.asm:asm:9.1 [provided]
In the long term, this ought to be mitigated by jenkinsci/jenkins#6014 (which
explicitly aligns ASM dependencies) and by jenkinsci/jenkins#5979 (which
removes JNR).
-->
<exclude>org.ow2.asm:asm</exclude>
</excludes>
</requireUpperBoundDeps>
</rules>
Expand Down

0 comments on commit 07811b5

Please sign in to comment.