You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "JACOB, ERIC" <er...@bell.ca> on 2004/07/12 15:58:14 UTC

Using Proxy

Hi,

 

How can I setup Maven so it could download some jars from www.ibiblio.org
<http://www.ibiblio.org/>  using a proxy and some jars from a server that
doesn't need a proxy to be reached?

 

For example, if I set maven.proxy.host and maven.proxy.port in
build.properties, Maven can download jars from ibiblio, but can't from our
internal server. If a remove these properties, Maven cannot download files
from ibiblio, but can from our server.

 

Any ideas?

 

Thanks,

 

Eric

 


RE: Using Proxy

Posted by "JACOB, ERIC" <er...@bell.ca>.
Thanks,

Exactly what I was looking for!

Eric

-----Original Message-----
From: Eric Giguere [mailto:eric.giguere@videotron.ca] 
Sent: Monday, July 12, 2004 10:03 AM
To: Maven Users List
Subject: Re: Using Proxy

Hello

Yep, use this: http://docs.codehaus.org/display/MAVEN/MAVEN-PROXY
It will play the role of  internal remote repository for maven. If it is 
asked for a jar not found locally, it'll try to download it 
automatically from another external repository.

Eric.

JACOB, ERIC wrote:

>Hi,
>
> 
>
>How can I setup Maven so it could download some jars from www.ibiblio.org
><http://www.ibiblio.org/>  using a proxy and some jars from a server that
>doesn't need a proxy to be reached?
>
> 
>
>For example, if I set maven.proxy.host and maven.proxy.port in
>build.properties, Maven can download jars from ibiblio, but can't from our
>internal server. If a remove these properties, Maven cannot download files
>from ibiblio, but can from our server.
>
> 
>
>Any ideas?
>
> 
>
>Thanks,
>
> 
>
>Eric
>
> 
>
>
>  
>


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




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


Re: Using Proxy

Posted by Eric Giguere <er...@videotron.ca>.
Hello

Yep, use this: http://docs.codehaus.org/display/MAVEN/MAVEN-PROXY
It will play the role of  internal remote repository for maven. If it is 
asked for a jar not found locally, it'll try to download it 
automatically from another external repository.

Eric.

JACOB, ERIC wrote:

>Hi,
>
> 
>
>How can I setup Maven so it could download some jars from www.ibiblio.org
><http://www.ibiblio.org/>  using a proxy and some jars from a server that
>doesn't need a proxy to be reached?
>
> 
>
>For example, if I set maven.proxy.host and maven.proxy.port in
>build.properties, Maven can download jars from ibiblio, but can't from our
>internal server. If a remove these properties, Maven cannot download files
>from ibiblio, but can from our server.
>
> 
>
>Any ideas?
>
> 
>
>Thanks,
>
> 
>
>Eric
>
> 
>
>
>  
>


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