I\'m trying to use Amazon S3 to host my Maven artifacts. I\'ve added the following to my pom.xml:
I have created a sample project of how to use S3 bucket as maven repository.
https://github.com/wbinglee/maven-s3-repo
From your configuration, I don't see obvious problem. You can compare your project configuration with above sample project. If you cannot find the problem, you may need to share your full pom.xml.
Other option of using S3 as maven repository is directly using http
schema and configure S3 bucket as static web hosting. It's also included in above sample project with required configuration in README.
Then you can configure your maven repository configuration like below:
maven.xxx.com-release
AWS S3 Release Repository
http://maven.xxx.com.s3-website-ap-southeast-2.amazonaws.com/release
maven.xxx.com-snapshot
AWS S3 Snapshot Repository
http://maven.xxx.com.s3-website-ap-southeast-2.amazonaws.com/snapshot
true
Hope that helps.