Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

1. The pom.xml <repositories> element

Panel
Wiki Markup

To access a remote maven repository, add a <repositories> element to the Maven project's pom.xml.

For
\\
\\
For example, to use the Public M.I.T. Maven Repositories via *http*, add the following to Maven project pom.xml.

Code Block
\\
\\
{code}
<project>
    ...
    <repositories>
        <repository>
            <id>PublicMitRepositoriesGroup</id>
            <name>PublicMitRepositoriesGroup</name>
            <url>http://maven.mit.edu/nexus/content/groups/PublicMitRepositoriesGroup</url>
        </repository>
    </repositories>
    ...
</project>
{code}
\\