Did you try add yet another proxy element for "https" protocol?

/Anders

On Tue, Jun 7, 2011 at 13:07, Klug, Johannes <[email protected]>wrote:

> Dear list,
>
>
>
> I currently have my proxy set up in settings.xml like so:
>
>
>
> <settings>
>
>  <proxies>
>
>   <proxy>
>
>      <active>true</active>
>
>      <protocol>http</protocol>
>
>     <host>proxy </host>
>
>      <port>80</port>
>
>    </proxy>
>
> </settings>
>
>
>
> This does work for HTTP repositories, but unfortunately it does not work
> for HTTPs ones, such as Sonatype OSS.
>
>
>
> I can work around this by specifying the relevant Java system
> properties, like so:
>
> mvn install -Dhttps.proxyHost=proxy -Dhttps.proxyPort=80
>
>
>
> I'd rather have it all in my settings.xml.
>
> Do you have an idea how to do this?
>
>
>
> Kind regards,
>
> Johannes
>
>
>
>
>
> Think green - keep it on the screen.
>
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you.
>
>

Reply via email to