Repository

Eclipse

Eclipse Repository Browser (Must have MavenIDE installed):

Window, Show View, Other, Maven, Repository Browser

Repository

Specify additional repositories:

  • In the Settings.

  • In your pom.xml file as follows:

    <repositories>
      <repository>
        <id>maven2</id>
        <url>http://repo1.maven.org/maven2</url>
      </repository>
      <repository>
        <id>ibiblio</id>
        <url>http://www.ibiblio.org/maven2</url>
      </repository>
      <repository>
        <id>myserver</id>
        <url>http://myserver/repository</url>
      </repository>
    </repositories>
    

java.net

<repositories>
  <repository>
    <id>java.net.maven.1</id>
    <url>http://download.java.net/maven/1/</url>
    <layout>legacy</layout>
  </repository>
  <repository>
    <id>java.net.maven.2</id>
    <url>http://download.java.net/maven/2/</url>
    <layout>default</layout>
  </repository>
</repositories>