Before you begin, you must have done the following:
|
These instuctions assume the following:
|
Configuring a Maven project to access a private repository requires setting up a name/password pair in the settings.xml file and associating the name/password with a specific repository which is defined in the project's pom.xml. Items 1 and 2 below give the syntax of the entries for both the settings.xml and pom.xml files. It is important to note the following:
|
The private 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. Using https is highly recommended when using private repositories. |
|
|