maven repository on DigitalOcean spaces - any luck?
Gradle 2.4 introduced S3 support: http://ryanharter.com/blog/2015/06/18/hosting-a-private-maven-repo-on-amazon-s3/ , https://vtorosyan.github.io/gradle-s3-private-repo/
DigitalOcean Spaces says it support s3 protocol.
But, looks like it is not drop-in replacement: after re-pointing s3 mvn repo url to DO spaces URL it is not working.
I created folder “if-mvn”, created key and secret, and trying to publish artefact to s3://if-mvn.nyc3.digitaloceanspaces.com/maven2
Execution failed for task ’:myApp:publishFatJarPublicationToMyRepository’.
Failed to publish publication ‘fatJar’ to repository 'My’
Could not get resource 's3://if-mvn.nyc3.digitaloceanspaces.com/maven2/com/my/app/0.0.1.BUILD-SNAPSHOT/maven-metadata.xml’.
The AWS Access Key Id you provided does not exist in our records. (Service: Amazon S3; Status Code: 403; Error Code: InvalidAccessKeyId; Request ID: FB0B6D0F712B59E4)
Unfortunately, DigitalOcean support were unable to explain (Ticket #711785) what’s exactly wrong with Request ID: FB0B6D0F712B59E4
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×