SpringSource ToolSuite - changing maven repo

If you are using STS, you would have found that you cannot modify the default maven repo being used in the project preferences or STS preferences.

To change it, goto preferences -> maven -> Installations. You will find the location for settings.xml. Goto this file in Finder/Explorer and modify the to point to the correct repo you want. Restart STS and you should be good to go. 

Solution found from : http://forum.springsource.org/showthread.php?84284-How-to-modify-M2_REPO
Thanks Christian.