From a26c7f4c0e28a384eb8a8996da59147072bed42d Mon Sep 17 00:00:00 2001 From: "xu.chen2" Date: Wed, 7 Feb 2018 14:26:41 +0800 Subject: [PATCH 1/2] update aws sdk to 1.11.270, add aws credentails provider EC2ContainerCredentaildsProvider --- pom.xml | 4 ++-- .../maven/wagon/auth/MavenAwsCredentialsProviderChain.java | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 1e12a70..5ea0880 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ org.kuali.maven.wagons maven-s3-wagon - 1.2.2-SNAPSHOT + 1.2.3-SNAPSHOT Maven S3 Wagon 2010 @@ -37,7 +37,7 @@ git 1.5 1.7.5 - 1.6.4 + 1.11.270 3.2.5.RELEASE 1.0.1 4.11 diff --git a/src/main/java/org/kuali/maven/wagon/auth/MavenAwsCredentialsProviderChain.java b/src/main/java/org/kuali/maven/wagon/auth/MavenAwsCredentialsProviderChain.java index 023013a..b313438 100644 --- a/src/main/java/org/kuali/maven/wagon/auth/MavenAwsCredentialsProviderChain.java +++ b/src/main/java/org/kuali/maven/wagon/auth/MavenAwsCredentialsProviderChain.java @@ -25,6 +25,7 @@ import com.amazonaws.auth.EnvironmentVariableCredentialsProvider; import com.amazonaws.auth.InstanceProfileCredentialsProvider; import com.amazonaws.auth.SystemPropertiesCredentialsProvider; +import com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper; import com.google.common.base.Optional; /** @@ -52,7 +53,9 @@ private static AWSCredentialsProvider[] getProviders(Optional Date: Wed, 7 Feb 2018 14:34:56 +0800 Subject: [PATCH 2/2] update aws sdk to 1.11.250, add aws credentails provider EC2ContainerCredentaildsProvider --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5ea0880..f3e9598 100644 --- a/pom.xml +++ b/pom.xml @@ -37,7 +37,7 @@ git 1.5 1.7.5 - 1.11.270 + 1.11.250 3.2.5.RELEASE 1.0.1 4.11