maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy_Ba...@cargill.com
Subject RE: Proxy
Date Tue, 20 Jul 2004 17:42:17 GMT
Thanks for the responses :)

I found out that we, in fact, are behind a NTLM proxy.  I tried adding
the ntlm properties, but that did fix the whole problem.  I'm getting a
'Not authorized by proxy' exception.  The firewall team indicated that
the username and password were not being supplied to the proxy.  I then
tried supplying them on the command line (i.e.
-Dmaven.proxy.username=jbarth), but it resulted in the same exception.
I'm running jdk 1.4.2_01.

What do you all think?

-----Original Message-----
From: boris.gonnot@agf.fr [mailto:boris.gonnot@agf.fr]
Sent: Tuesday, July 20, 2004 1:55 AM
To: users@maven.apache.org
Subject: RE: Proxy


Hello,

Or if you are behind a NTLM proxy (like us) you must define those
properties (you must be in jdk 1.4+ to make it works) :

maven.proxy.ntlm.host=proxy1
maven.proxy.ntlm.domain=AGF100
maven.proxy.host=proxy1
maven.proxy.port=80
maven.proxy.username=GONNOT
maven.proxy.password=*****



-----Message d'origine-----
De : Carlos Sanchez [mailto:apache@carlos.cousas.net]
Envoyé : mardi 20 juillet 2004 00:34
À : 'Maven Users List'
Objet : RE: Proxy


Hi,

That should be enough, try passing properties in
${user.home}/build.properties with -D

Try this (in a single line)

maven -Dpackage=com.mycompany.app 
-Dmaven.proxy.host=web.us.proxy.cargill.com
-Dmaven.proxy.port=4200
-Dmaven.proxy.username=jbarth
-Dmaven.proxy.password=*******
genapp

Regards

Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net
 

> -----Original Message-----
> From: Jeremy_Barth@cargill.com [mailto:Jeremy_Barth@cargill.com] 
> Sent: Monday, July 19, 2004 11:01 PM
> To: users@maven.apache.org
> Subject: Proxy
> 
> I'm attempting to run maven -Dpackage=com.mycompany.app 
> genapp, but fails on the proxy server.  I have 
> ${user.home}/build.properties defined
> with:
> ...
> maven.proxy.host = web.us.proxy.cargill.com maven.proxy.port 
> = 4200 maven.proxy.username = jbarth maven.proxy.password = 
> ******* ...
> It can't download the jelly dependency.  Is there anything 
> else I need to define to get through the proxy?  I'm running 
> on an XP box.
> 
> Thanks,
> Jeremy J. Barth
> 



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



------------------------------
Ce message est protege par les regles relatives au secret des
correspondances ; il peut en outre contenir des informations a caractere
confidentiel ou protegees par differentes regles et notamment le secret
des affaires ; il est etabli a destination exclusive de son
destinataire. Toute divulgation, utilisation, diffusion ou reproduction
(totale ou partielle) de ce message, ou des informations qu'il contient,
doit etre prealablement autorisee. 
Tout message electronique est susceptible d'alteration et son integrite
ne peut etre assuree. Les AGF declinent toute responsabilite au titre de
ce message s'il a ete modifie ou falsifie. 
Si vous n'etes pas destinataire de ce message, merci de le detruire
immediatement et d'avertir l'expediteur de l'erreur de distribution et
de la destruction du message.
This message is protected by the secrecy of correspondence rules ;
furthermore it may contain privileged or confidential information that
is protected by law, notably by the secrecy of business relations rule ;
it is intended solely for the attention of   the addressee . Any
disclosure, use, dissemination or reproduction (either whole or
partial) of this message or the information contained herein is strictly
prohibited without prior consent.
Any electronic message  is susceptible to alteration  and  its integrity
can not be assured.  AGF declines any  responsibility for  this message
in the event of  alteration  or falsification..
If you are not the intended  recipient, please destroy it immediately
and  notify the sender of the wrong delivery and the mail deletion. 
------------------------------


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



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message