Skip to content

Commit

Permalink
Upgrade jclouds from 2.5.0 to 2.6.0 (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored Nov 28, 2024
1 parent 342fb07 commit 1907f9b
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 28 deletions.
63 changes: 36 additions & 27 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@

<properties>
<changelist>999999-SNAPSHOT</changelist>
<jenkins.version>2.443</jenkins.version>
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
<jenkins.baseline>2.452</jenkins.baseline>
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
<useBeta>true</useBeta>
<spotbugs.effort>Max</spotbugs.effort>
<spotbugs.threshold>Low</spotbugs.threshold>
Expand Down Expand Up @@ -43,6 +45,10 @@
<groupId>io.jenkins.plugins</groupId>
<artifactId>aws-global-configuration</artifactId>
</dependency>
<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>gson-api</artifactId>
</dependency>
<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>jaxb</artifactId>
Expand All @@ -65,8 +71,13 @@
<dependency>
<groupId>org.apache.jclouds.provider</groupId>
<artifactId>aws-s3</artifactId>
<version>2.5.0</version>
<version>2.6.0</version>
<exclusions>
<!-- Provided by gson-api plugin -->
<exclusion>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</exclusion>
<!-- Provided by jaxb plugin -->
<exclusion>
<groupId>com.sun.xml.bind</groupId>
Expand All @@ -82,11 +93,6 @@
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>aws-credentials</artifactId>
<exclusions>
<!-- TODO JCLOUDS-1620 -->
<exclusion>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
Expand Down Expand Up @@ -154,11 +160,6 @@
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>ssh-slaves</artifactId>
<exclusions>
<!-- TODO JCLOUDS-1620 -->
<exclusion>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
Expand Down Expand Up @@ -200,12 +201,6 @@
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>git</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
Expand Down Expand Up @@ -265,24 +260,22 @@
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.440.x</artifactId>
<artifactId>bom-${jenkins.baseline}.x</artifactId>
<version>3435.v238d66a_043fb_</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<!-- TODO remove when core has upgraded to 7.0.0 or newer -->
<dependency>
<groupId>com.google.inject.extensions</groupId>
<artifactId>guice-assistedinject</artifactId>
<version>6.0.0</version>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<plugins>
<plugin>
<groupId>org.jenkins-ci.tools</groupId>
<artifactId>maven-hpi-plugin</artifactId>
<configuration>
<!-- TODO JCLOUDS-1620 -->
<maskClasses>com.google.gson.</maskClasses>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
Expand All @@ -296,6 +289,22 @@
</requireSameVersions>
</rules>
</configuration>
<!-- TODO remove when core has upgraded to 7.0.0 or newer -->
<executions>
<execution>
<id>display-info</id>
<configuration>
<rules>
<requireUpperBoundDeps>
<excludes combine.children="append">
<exclude>com.google.inject:guice</exclude>
<exclude>com.google.inject.extensions:guice-assistedinject</exclude>
</excludes>
</requireUpperBoundDeps>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public boolean blobExists(String container, String key) {
}

@Override
public Iterable<String> getBlobKeysInsideContainer(String container, String prefix) throws IOException {
public Iterable<String> getBlobKeysInsideContainer(String container, String prefix, String delimiter) throws IOException {
GetBlobKeysInsideContainerHandler handler = getBlobKeysInsideContainerHandlers.remove(container);
if (handler != null) {
handler.run();
Expand Down

0 comments on commit 1907f9b

Please sign in to comment.