Skip to content
This repository has been archived by the owner on Apr 30, 2019. It is now read-only.

Update aws sdk and DefaultAWSCredentialsProviderChain #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<description>Standard Maven wagon support for s3:// urls</description>

<properties>
<amazonaws.version>1.7.1</amazonaws.version>
<amazonaws.version>1.11.384</amazonaws.version>
<junit.version>4.11</junit.version>
<logback.version>1.1.1</logback.version>
<mockito.version>1.9.5</mockito.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package org.springframework.build.aws.maven;

import com.amazonaws.auth.AWSCredentialsProviderChain;
import com.amazonaws.auth.DefaultAWSCredentialsProviderChain;
import com.amazonaws.auth.EnvironmentVariableCredentialsProvider;
import com.amazonaws.auth.InstanceProfileCredentialsProvider;
import com.amazonaws.auth.SystemPropertiesCredentialsProvider;
Expand All @@ -25,7 +26,8 @@
final class AuthenticationInfoAWSCredentialsProviderChain extends AWSCredentialsProviderChain {

AuthenticationInfoAWSCredentialsProviderChain(AuthenticationInfo authenticationInfo) {
super(new EnvironmentVariableCredentialsProvider(),
super(new DefaultAWSCredentialsProviderChain(),
new EnvironmentVariableCredentialsProvider(),
new SystemPropertiesCredentialsProvider(),
new InstanceProfileCredentialsProvider(),
new AuthenticationInfoAWSCredentialsProvider(authenticationInfo));
Expand Down