Skip to content

Commit

Permalink
Upgrade Guava from 11.0.1 to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
basil committed Oct 17, 2021
1 parent b32c750 commit 85a8198
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 16 deletions.
2 changes: 0 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ updates:
# will require source code changes to replace javax.mail with jakarta.mail
# and some handling for plugins that depend on javax.mail being provided by Jenkins core.
- dependency-name: "com.sun.mail:jakarta.mail"
# needs updates in a number of plugins, see https://github.com/jenkinsci/jenkins/pull/5059 and https://github.com/jenkinsci/bom/pull/392
- dependency-name: "com.google.guava:*"
# this is a banned dependency, we have a hack in our pom to prevent anyone else pulling it in
- dependency-name: "javax.servlet.servlet-api"
# needs a jakarta upgrade project, imports changed
Expand Down
2 changes: 1 addition & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ THE SOFTWARE.
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>11.0.1</version>
<version>31.0.1-jre</version>
</dependency>
<dependency>
<groupId>com.google.inject</groupId>
Expand Down
18 changes: 11 additions & 7 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,6 @@ THE SOFTWARE.
<groupId>aopalliance</groupId>
<artifactId>aopalliance</artifactId>
</exclusion>
<exclusion> <!-- TODO it seems to want Guava 16; apparently it manages to run against 11 -->
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>

Expand Down Expand Up @@ -538,9 +534,17 @@ THE SOFTWARE.
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<exclusions>
<exclusion> <!-- pick up from SpotBugs Annotations -->
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<exclusion>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.j2objc</groupId>
<artifactId>j2objc-annotations</artifactId>
</exclusion>
<exclusion>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
</exclusion>
</exclusions>
</dependency>
Expand Down
6 changes: 0 additions & 6 deletions test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,6 @@ THE SOFTWARE.
<artifactId>antisamy-markup-formatter</artifactId>
<version>2.3</version>
<scope>test</scope>
<exclusions>
<exclusion> <!-- TODO it seems to want Guava 27.1; apparently it manages to run against 11.0.1 -->
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
Expand Down

0 comments on commit 85a8198

Please sign in to comment.