Search code examples
javamavenopen-sourcesharingdependency-management

Open source code sharing and dependency management Java for the rest of us


I am new to Java and I come from Ruby and I have a question about how can we easily share code we develop so anyone can use them. So far I have been using Maven to resolve dependencies but all of them were developed by large organizations such as the Apache Foundation and in the home page of the project I can not see how to add a library of mine to their repositories.

In Ruby we generally use RubyGems (rubygems.org) to publish open source code. Anyone can do it. Is there an equivalent to Java? How is the submission process? Can anyone participate? Can it be integrated with Maven?

I do not want to merely share JARs. Unless that is the only way.

I think these questions are fundamental for anyone trying to really learn the language and understand its ecosystem.

I appreciate any help.


Solution

  • If you want to host an opensource project, look at:

    If you want to release a project to Maven, you can use the Sonatype OSS Maven Repository, see their Usage Guide.