requireUpperBoundDeps issue after bom update to 1887.vda_d0ddb_c15c4

20 views
Skip to first unread message

Valentin Delaye (jonesbusy)

unread,
Mar 6, 2023, 2:51:10 PM3/6/23
to Jenkins Developers
Hi,

I would need help to resolve requireUpperBoundDeps happening since update from bom 1836.vfe602c266c05 to 1887.vda_d0ddb_c15c4.

This is the dependabot PR that cause issue (and the Maven logs)


Looks like there is some conflict between the github-branch-source, okhttp-api and github-api

I'm not sure if I need to resolve this by adding exclusions on my pom or this need fix on those API plugins

Thanks for the help!

Regards,

Basil Crow

unread,
Mar 6, 2023, 3:35:39 PM3/6/23
to jenkin...@googlegroups.com
You can work around the problem as follows:

diff --git a/pom.xml b/pom.xml
index 67c2f7d..1c6265d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,7 +51,14 @@
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.361.x</artifactId>
- <version>1836.vfe602c266c05</version>
+ <version>1887.vda_d0ddb_c15c4</version>
+ <scope>import</scope>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-bom</artifactId>
+ <version>1.8.10</version>
<scope>import</scope>
<type>pom</type>
</dependency>
@@ -62,7 +69,6 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>variant</artifactId>
- <version>59.vf075fe829ccb</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
@@ -75,6 +81,13 @@
<artifactId>github-branch-source</artifactId>
<version>1701.v00cc8184df93</version>
<optional>true</optional>
+ <exclusions>
+ <!-- TODO pending release of
https://github.com/jenkinsci/github-api-plugin/pull/153 -->
+ <exclusion>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-lang3</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
</dependencies>

Valentin Delaye (jonesbusy)

unread,
Mar 7, 2023, 12:22:28 AM3/7/23
to Jenkins Developers
Thanks!
Reply all
Reply to author
Forward
0 new messages