PREREQUISITES

Before you begin, you must have:

* Installed the Maven repository client on your workstation, or you can [download the latest version of Maven|http://maven.apache.org/download.html] now.\\
\\
* Requested and received confirmation that a Developer Tools Team account has been created.  You can [request a Developer Tools Team account|https://src-prod.mit.edu/devtoolsSupport/dvTeamAccountRequest.jsp] at any time.\\


These instuctions assume the following:

* The name of the Maven Repository server is maven.mit.edu.\\


Overview

The M.I.T. public repositories can be accessed by using either http or https.

For instructions on how the configure Maven for https, refer to:

* [Maven, https and Java keystores with Mac OS X|Maven, https and Java keystores with Mac OS X],\\
\\
* [Maven, https and Java keystores with Windows|Maven, https and Java keystores with Windows], or\\
\\
* [Maven, https and Java keystores|Maven, https and Java keystores]\\


1. The pom.xml <repository> element

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

* 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.\\


<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>