...
5. Go to Eclipse > Settings... > Maven > User Settings. Under "User Settings:" field, add the path to your settings.xml file into the field (e.g. /Users/user/.m2/settings.xml) and then click "Apply and Close".
6. If you have yet to establish a profile id, right-click on the project and navigate to Maven > Select Maven Profiles. Select the profile id that you just input into the <id> field and click "OK".
If you have any issues adding the settings.xml file, it is probably due to XML syntax errors. To fix, use an online XML formatter to fix errors.
...