aws-maven icon indicating copy to clipboard operation
aws-maven copied to clipboard

Region support for eu-central-1 (Frankfurt)

Open gb-klein opened this issue 8 years ago • 3 comments

This S3 wagon provider currently fails if - like in our case - the S3 bucket is in eu-central-1 region (frankfurt). I can see that the Region class is incomplete. Please add support for this region.

Thx, Gunther Klein

gb-klein avatar Feb 07 '16 22:02 gb-klein

Done here: https://github.com/Yleisradio/aws-maven

huima avatar Mar 14 '16 11:03 huima

You can also use Zalando's replacement - it's available in Maven Central repository, which for me is a big plus:

<dependency>
    <groupId>org.zalando.org.springframework.build</groupId>
    <artifactId>aws-maven</artifactId>
    <version>5.0.0.RELEASE-zal-2</version>
</dependency>

rafalwrzeszcz avatar Apr 25 '17 14:04 rafalwrzeszcz

Hi @rafalwrzeszcz I've tried this plugin from zalando, but getting exceptions:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project myproject: Failed to retrieve remote metadata ua.asprelis:myproject:1.2.9.SNAPSHOT/maven-metadata.xml: Could not transfer metadata ua.asprelis:myproject:1.2.9.SNAPSHOT/maven-metadata.xml from/to s3-my-snapshot-repo (s3://my-maven-repo-fr/snapshots): Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: 5760F8923BFFDB59) -> [Help 1]

I can't find any source or documentation of this plugin in open source. Is it still working?

Updated: Access Denied occurs because Zalando fork seems like does not support reading credentials from ~/.mvn/settingx.xml. For me it works only with system properties mvn deploy mvn clean deploy -Daws.accessKeyId=abd.... -Daws.secretKey=cde...

Updated2: Try our fork. It supports all available regions.

<dependency>
    <groupId>com.github.platform-team</groupId>
    <artifactId>aws-maven</artifactId>
    <version>6.0.0</version>
</dependency>

moleksyuk avatar Jan 07 '18 21:01 moleksyuk