From 1874009ebb4d7a20a1cd92c18fb310c705a1793e Mon Sep 17 00:00:00 2001 From: Daniil Mikhaylov Date: Fri, 4 May 2018 03:16:04 +0700 Subject: [PATCH 1/3] Allow to use aws-maven with java 9 and 10 --- pom.xml | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index a8bd5f22..bef8ffed 100644 --- a/pom.xml +++ b/pom.xml @@ -32,7 +32,7 @@ com.amazonaws - aws-java-sdk + aws-java-sdk-s3 ${amazonaws.version} @@ -99,6 +99,28 @@ 1.3 test + + + + javax.xml.bind + jaxb-api + 2.3.0 + + + com.sun.xml.bind + jaxb-core + 2.3.0 + + + com.sun.xml.bind + jaxb-impl + 2.3.0 + + + javax.activation + javax.activation-api + 1.2.0 + @@ -133,7 +155,7 @@ org.jacoco jacoco-maven-plugin - 0.8.0 + 0.8.1 prepare-agent From 445ce818573edf54587c03ddfc7db8fdd11acdb5 Mon Sep 17 00:00:00 2001 From: Daniil Mikhaylov Date: Fri, 4 May 2018 03:16:57 +0700 Subject: [PATCH 2/3] Update aws-sdk version to 321 --- pom.xml | 2 +- .../java/com/github/platform/team/plugin/AmazonS3Wagon.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bef8ffed..69f6d0b1 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ Standard Maven wagon support for s3:// urls - 1.11.276 + 1.11.321 3.0.0 1.7.25 diff --git a/src/main/java/com/github/platform/team/plugin/AmazonS3Wagon.java b/src/main/java/com/github/platform/team/plugin/AmazonS3Wagon.java index 4f9e162a..e5455ee6 100644 --- a/src/main/java/com/github/platform/team/plugin/AmazonS3Wagon.java +++ b/src/main/java/com/github/platform/team/plugin/AmazonS3Wagon.java @@ -148,6 +148,7 @@ private static PutObjectRequest createDirectoryPutObjectRequest(String bucketNam private static String getBucketRegion(AWSCredentialsProvider credentialsProvider, ClientConfiguration clientConfiguration, String bucketName) { return AmazonS3Client.builder() + .withRegion("us-east-1") .withCredentials(credentialsProvider) .withClientConfiguration(clientConfiguration) .enableForceGlobalBucketAccess() From eda86b1a7814cef2a4dacb4c4f05ac9ecd096f96 Mon Sep 17 00:00:00 2001 From: Daniil Mikhaylov Date: Fri, 4 May 2018 03:21:02 +0700 Subject: [PATCH 3/3] Bump version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 69f6d0b1..15b55a3a 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ com.github.platform-team aws-maven jar - 6.0.0 + 6.1.0 Amazon Web Services S3 Maven Wagon Support Standard Maven wagon support for s3:// urls