You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Roland Huss <Ro...@consol.de> on 2006/09/06 10:53:15 UTC

Howto set a Proxy/Mirror in a profile

Hi,

if I understand profiles properly, they can be used to adapt
maven build process to various environments. However, I wonder
how I can set HTTP proxies and repository mirrors within a profile
since their definition appear outside the profiles section in settings.xml ?

Setting the proxyHost and proxyPort java properties in the profiles
doesn't help either.

For the moment I am stuck with using different settings.xml per environment
(home/work) which is really annoying ...

thanks for any help ...
-- 
                                         ...roland huss
                                              consol.de


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org