Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Publish a library to maven repositories

Tags:

I have a stable opensource library and was wondering how (and if) I can publish my lib to maven official repositories so people can include it in their pom.xml files and get the dependency downloaded automatically.

like image 262
Pablo Fernandez Avatar asked Apr 06 '10 22:04

Pablo Fernandez


1 Answers

The process to get your library in the central repostiory is documented in the Guide to uploading artifacts to the Central Repository. In short, the new process is to get your project hosted by one of the approved Forges that will be synced with central, the Maven folks don't rsync personal repository anymore. In your case, your best bet would be to use the Sonatype Forge (open to any OSS Project). Check the given link (and also this document).

like image 159
Pascal Thivent Avatar answered Nov 22 '22 22:11

Pascal Thivent