How to configure a Maven pom.xml to access the Nexus M.I.T. public repositories
PREREQUISITES
Panel | |||||||
---|---|---|---|---|---|---|---|
Before you begin, you must have the following: :
|
Panel | |||||||||
---|---|---|---|---|---|---|---|---|---|
These instuctions assume the following:
|
Overview
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.
|
1. The pom.xml <repository> element
Panel | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
To access the M.I.T. public Maven repositories, add the following to the <repositories> element in your Maven project's pom.xml.
The PublicRepositoriesGroup is the Maven Central repository.
|