Versions Compared

Key

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

...

1. The pom.xml <repository> element

Panel
Wiki Markup

To access the M.I.T. public Maven repositories, add the following to the <repositories> element in your Maven project's pom.xml.

indent
11
\\
{indent:1}
* The PublicMitRepositoriesGroup consist of 2 repositories.&nbsp;&nbsp;The 2 repositories are the SASH 1.2 stack and the SASH 2.0 stack.\\
\\
* The PublicRepositoriesGroup is the Maven Central repository.\\
{indent}
\\
{code
}
<repositories>
    ...
    <repository>
        <id>PublicRepositoriesGroup</id>
        <name>PublicRepositoriesGroup</name>
        <url>http://maven.mit.edu/nexus/content/groups/public</url>
    </repository>
    <repository>
        <id>PublicMitRepositoriesGroup</id>
        <name>PublicMitRepositoriesGroup</name>
        <url>http://maven.mit.edu/nexus/content/groups/PublicMitRepositoriesGroup</url>
    </repository>
    ...
</repositories>
{code}