Sunday, December 09, 2007

Maven repository on S3

Spring are hosting their development sub-projects Maven repositories on S3.
This is a great idea if you are hosting a project that's likely to have downloads here and there and don't want to pay for what you don't use - which is what you'd be doing if you hosted it on a regular hosting plan.
(On a side note - if you're working on an open source project you may just as well host it on SourceForge or Google Code for free - even if your working on a commercial closed-source project there are free solutions - more on that in a future post)

The nice thing is that Maven has its own support for S3. Maven has a subproject that's responsible for the transport of artifacts called "Wagon". It allows maven to transparently work with repositories that reside on File, HTTP, FTP and other locations.
Wagon also has an extension that allows it to work with repositories on S3 - so it makes Spring's choice even better.

Browse Spring's Java Config project on S3:
http://s3browse.com/explore/maven.springframework.org/snapshot/org/springframework/javaconfig/spring-javaconfig/

Wagon-S3 artifact for Maven:
http://mvnrepository.com/artifact/org.apache.maven.wagon/wagon-s3

1 comment:

Luca Dall'Olio said...

Thank you for your precious post, could you also please provide the informations about closed source development you are mentioning at the end of the article, mentioning "...in a future post..."? Thank you in advance ^__^