Step 9-Update settings.xml File

Our next step will be to update the settings file for our Maven build.

  1. Next, we need to locate our settings.xml file in our .m2 local repository. Open File Explorer, go to the following path \Users\{machine-name}\.m2.

 2. Open the settings.xml file.

3. First, we need to add the access to the Pricefx internal repository. Add the following before the <profiles></profiles> area:

 

<servers>      <server>           <id>Pricefx internal repository</id>           <username>{student-name}</username>           <password>{password}</password>      </server> </servers>

NOTE: The appropriate username and password values are supplied to you by the instructor.