Question

I'd like to add my project to public maven repository so that it can be used by community. It doesn't have to be maven central - just any kind of public and free repository for open source code.

How do I do that (in easiest way)?

Was it helpful?

Solution

Probably 3 ways to do this:

  1. If you have a web server you can simply drop the jar and pom into a directory, eg: yourserver.com/mavenRepo/com/yourcompany/v1.0/yourjar.jar This is the 'quick and dirty' way, but then the public can add yourserver.com/mavenRepo as a repository.
  2. Have an out-facing instance of Nexus or Artifactory
  3. Make the project more official through one of the common open source projects, described in the 'Approved Repository Hosting' and the 'Other Projects' sections of this page.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top