aws-maven
aws-maven copied to clipboard
Region support for eu-central-1 (Frankfurt)
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
Done here: https://github.com/Yleisradio/aws-maven
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>
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>