Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Why cant Maven connect to my s3 bucket and download a jar?

northrowtest June 28, 2018

Hi Everyone, 

I've been following the guide how to private repositories with the bitbucket pipeline here: 

https://confluence.atlassian.com/bitbucket/java-with-bitbucket-pipelines-872013773.html

but AWS is denying access to the bucket (AWS Error Code: AccessDenied, AWS Error Message: Access Denied), it works on my local machine using the same credentials and settings.xml :/

There are no policies on the bucket, the user has access, Ive tried with s3 wagon and http. 

ny ideas?

Edit: 

My repo is on an s3 bucket and in a different region.

The maven s3 wagon we where using couldn't handle the region variable so I found success by providing the url that included the region 

<repository>
<id>northrow.com</id>
<name>My repo </name>
<url>https://s3-eu-west-1.amazonaws.com/myBucket</url>
</repository>

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events