Appendix A. Useful Public Repositories

Here is a list of public repositories. They are known to host widely used artifacts. Some repositories discriminate releases and snapshots, others offer channels of staging, nightly, branches, and so on. Most of the time, the release channel is to be favored, but owing to your project's needs, you would select one or more channels.

At last, remind repositories should be set in settings.xml rather than in the pom.xml.

Maven Central

Maven Central is the main public repository. It contains most of the popular and open sources' artifacts.

  <repository>
    <id>MavenCentral</id>
    <name>Maven Central, aka iBiblio</name>
    <url>
    http://repo1.maven.org/maven2/
    </url>
  </repository>

Get Apache Maven Dependency Management now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.