This is a useful article on using S3 as a private maven repository:
http://jmchung.github.io/blog/2015/03/01/using-amazon-s3-as-a-private-maven-repository/
It is better to use this than try to use a git repository – git repos make inefficient mavern repos.