mattinsler/com.lowereast.guiceymongo

Maven Repository

Opened this issue · 1 comments

While the in project support for maven is a good start, the real benefit would be had with hosting or submitting to a maven repository. This would enable users of the library to simply include a reference in their <dependencies>, such as you've done in your pom.xml.

Submitting to the central repository would be the most ideal solution. Your project meets the requirement of depending only on libraries present in the central repo. This is also the option which requires the least amount of configuration on the end-user's pom.xml.

If you do not want to do that, you can host your own repository very easily. A maven repository is nothing more than a standardized folder structure and can be hosted on any HTTP server and updated automatically by maven via FTP. The configuration is fairly straightforward and there are a lot of tutorials around the net so it should not be hard to find.

Also, please GuiceyMongo and GuiceyData as separate artifactIds if you do this.

Thanks! I've been meaning to get my act together with maven hosting, but just haven't had the chance. I'm hoping to get to it this weekend though, now that you showed me how. =-) I'd love to make a maven plugin for the generator, though I haven't had much experience with maven. If you make it, could you please post a link or I'll post the link here on the project.