> (https://maven.apache.org/xsd/settings-1.0.0.xsd) has the same problem. Also > I don't see > how to assign an id to a proxy and how I'd pass it at the command line. The > Documentation > is either wrong here or missing some information.
There is very clearly an <id> element in the <proxy> node. The default id value is "default." I have no idea how it is used though. As for how to enable/disable/select which proxy to use from the command line, I have no idea. I've never needed to do that (yet). I would suggest instead using multiple settings.xml files and creating a mvn-work.bat/.sh (which uses -f settings-work.xml) and mvn-home.bat/.sh (using -f settings-home.xml) etc. Alternatively you can feel free to dig into the (open) source code and modify it to suit your needs, then contribute the changes back via JIRA. Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
