Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel

The M.I.T. public repositories can be accessed by using either http or https. If you want to use https, then you must enable Maven for SSL operations. Click here for instructions on how to use SSL with Maven.

1. The pom.xml <repository> element

Panel

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

  • The PublicMitRepositoriesGroup consist of 2 repositories.  The 2 repositories are the SASH 1.2 stack and the SASH 2.0 stack.
  • The PublicRepositoriesGroup is the Maven Central repository.
Code Block
<repository>
    <id>PublicRepositoriesGroup</id>
    <name>PublicRepositoriesGroup</name>
    <url>${<url>https://maven.server}mit.edu/nexus/content/groups/public</url>
</repository>
<repository>
    <id>PublicMitRepositoriesGroup</id>
    <name>PublicMitRepositoriesGroup</name>
     <url>${maven.server}<url>https://maven.mit.edu/nexus/content/groups/PublicMitRepositoriesGroup</url>
</repository>