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

Region support for eu-central-1 (Frankfurt) #44

Open
gb-klein opened this issue Feb 7, 2016 · 3 comments
Open

Region support for eu-central-1 (Frankfurt) #44

gb-klein opened this issue Feb 7, 2016 · 3 comments

Comments

@gb-klein
Copy link

gb-klein commented Feb 7, 2016

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

@huima
Copy link

huima commented Mar 14, 2016

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

@rafalwrzeszcz
Copy link

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>

@moleksyuk
Copy link

moleksyuk commented Jan 7, 2018

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>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants