I am using Spring STS (sts-springsourcetoolsuite) for development, in my company it is not allowed to download jars from internet/public repositories. In my pom.xml I have not specified public repositories like http://repo1.maven.org/maven2 however it automatically refers to this public repo.
I am not able to understand how to avoid downloading jars from unspecified repositories?
I assume you have internal maven repository in your company and are only allowed to use that one? Based on Exclude central repository thread all you have to do is name your internal repository
centralinsettings.xml.