You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

PREREQUISITES

Before you begin, you must have the following:

  • You must have installed the Maven repository client on your workstation. Click here to get the lastest version of maven.

  • Requested and received confirmation that a Developer Tools Team account has been created.  You can request a Developer Tools Team account 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:

${renderedContent}


1. The pom.xml <repositories> element

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

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

<project>
    ...
    <repositories>
        <repository>
            <id>PublicMitRepositoriesGroup</id>
            <name>PublicMitRepositoriesGroup</name>
            <url>http://maven.mit.edu/nexus/content/groups/PublicMitRepositoriesGroup</url>
        </repository>
    </repositories>
    ...
</project>


  • No labels