Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 18 additions & 24 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>3.20</version>
<version>3.24</version>
<relativePath />
</parent>
<groupId>io.jenkins.plugins</groupId>
Expand All @@ -16,10 +16,9 @@
<properties>
<revision>1.2</revision>
<changelist>-SNAPSHOT</changelist>
<jclouds.version>2.1.1</jclouds.version>
<jclouds.version>2.1.1</jclouds.version> <!-- synchronize with that of artifact-manager-jclouds -->
<jenkins.version>2.121.3</jenkins.version>
<java.level>8</java.level>
<workflow-api-plugin.version>2.29</workflow-api-plugin.version>
<git-plugin.version>4.0.0-rc2883.3399537b3d44</git-plugin.version> <!-- TODO https://github.com/jenkinsci/git-plugin/pull/616 -->
<workflow-multibranch-plugin.version>2.20</workflow-multibranch-plugin.version>
<useBeta>true</useBeta>
Expand All @@ -44,6 +43,11 @@
</scm>

<dependencies>
<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>artifact-manager-jclouds</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>aws-global-configuration</artifactId>
Expand All @@ -59,11 +63,6 @@
<artifactId>aws-credentials</artifactId>
<version>1.23</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>apache-httpcomponents-client-4-api</artifactId>
<version>4.5.5-3.0</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
Expand All @@ -84,12 +83,7 @@
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-api</artifactId>
<version>${workflow-api-plugin.version}</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-api</artifactId>
<version>${workflow-api-plugin.version}</version>
<version>2.29</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
Expand Down Expand Up @@ -141,12 +135,6 @@
<version>2.9</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.kohsuke.metainf-services</groupId>
<artifactId>metainf-services</artifactId>
<version>1.7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.findify</groupId>
<artifactId>s3mock_2.12</artifactId>
Expand All @@ -161,6 +149,10 @@
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-s3</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
Expand Down Expand Up @@ -232,13 +224,13 @@
<artifactId>jenkins-core</artifactId>
<version>${jenkins-core.version}</version>
<exclusions>
<exclusion> <!-- JENKINS-50520: pick up 18 from jclouds, which needs at least TypeToken (12+) -->
<exclusion> <!-- also in artifact-manager-jclouds -->
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency> <!-- JENKINS-50520: picked up from jclouds; to match the Guice version in core -->
<dependency> <!-- ditto -->
<groupId>com.google.inject.extensions</groupId>
<artifactId>guice-assistedinject</artifactId>
<version>4.0</version>
Expand Down Expand Up @@ -290,11 +282,13 @@
<groupId>org.jenkins-ci.tools</groupId>
<artifactId>maven-hpi-plugin</artifactId>
<configuration>
<!-- JENKINS-50520: since we need a custom version of Guava -->
<!--
TODO without this we get: java.lang.LinkageError: loader constraint violation: when resolving method "org.jclouds.ContextBuilder.credentialsSupplier(Lcom/google/common/base/Supplier;)Lorg/jclouds/ContextBuilder;" the class loader (instance of hudson/ClassicPluginStrategy$AntClassLoader2) of the current class, io/jenkins/plugins/artifact_manager_jclouds/s3/S3BlobStore, and the class loader (instance of hudson/ClassicPluginStrategy$AntClassLoader2) for the method's defining class, org/jclouds/ContextBuilder, have different Class objects for the type com/google/common/base/Supplier used in the signature
but with this we get java.lang.NoClassDefFoundError: com/google/common/base/Supplier, NoClassDefFoundError:com/google/common/collect/ImmutableSet, etc.
-->
<maskClasses>com.google.common.</maskClasses>
</configuration>
</plugin>

</plugins>
</build>

Expand Down

This file was deleted.

This file was deleted.

Loading