Ignoring why I would want to do this -- there are valid reasons in my case -- which I don't want to get into.
Is there a way to configure Maven Proxy settings (specifically add a Proxy for dependencies) at the app level (i.e. committed in SCM as part of my Java application , in say something like my pom.xml) ... instead of the more traditional global settings.xml location.
In my case, I would somehow want to include the following settings.xml changes as part of my Java application source code without requiring any changes to global / user level settings.
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<host>someotherhost.com</host>
<port>8080</port>
<nonProxyHosts></nonProxyHosts>
</proxy>