I was just going through some proxy issues.  I never had anything
'unable to find line starting with "HTTP"' problems.  Try supplying the
proxy info on the command line:

maven -Dmaven.proxy.host = myProxyHostIpAddress

I also updated to the newest jdk and added two additional properties to
build.properties because I am behind a NTLM proxy

maven.proxy.ntlm.host=proxy1
maven.proxy.ntlm.domain=DOMAIN

Good luck :)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 21, 2004 10:46 AM
To: [EMAIL PROTECTED]
Subject: Newbie question: maven and proxies - unable to find line
starting with "HTTP"


Hi,

I'm quite new to maven, so please forgive any stupid questions.

I'm trying to build a project that's based on maven (AndroMDA, see
team.andromda.org).
I'm using win xp and I'm sitting behind a firewall, so I added this to
my
%USERPROFILE%\build.properties:

maven.proxy.host = myProxyHostIpAddress
maven.proxy.port = 8080
maven.proxy.username = myUsername
maven.proxy.password = myPassword

this should enable the usage of our proxy, right?

But unfortunately I still get this error messages when I start maven for
my
project:

###snipp###
D:\Projekte\mdd\andromda\andromda-src-3.0M2-SNAPSHOT
> maven
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0

Plugin cache will be regenerated
Directory C:\java\.maven\repository does not exist. Attempting to
create.
Attempting to download dom4j-1.4-dev-8.jar.
Recoverable exception caught but MethodRetryHandler.retryMethod()
returned
false, rethrowing exception
A recoverable exception
occurred.org.apache.commons.httpclient.HttpRecoverableException: Error
in
parsing the status  line from the response: unable to find line starting
with "HTTP"
retrying (1)
Error retrieving artifact from
[http://www.ibiblio.org/maven/dom4j/jars/dom4j-1.4-dev-8.jar]:
org.apache.commons.httpclient.HttpException: Already used, but not
recycled.
WARNING: Failed to download dom4j-1.4-dev-8.jar.
Attempting to download commons-jelly-20030902.160215.jar.
Recoverable exception caught but MethodRetryHandler.retryMethod()
returned
false, rethrowing exception
A recoverable exception
occurred.org.apache.commons.httpclient.HttpRecoverableException: Error
in
parsing the status  line from the response: unable to find line starting
with "HTTP"
retrying (1)
Error retrieving artifact from
[http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-20030902.
160215.jar]:

org.apache.commons.httpclient.HttpException: Already used, but not
recycled.
WARNING: Failed to download commons-jelly-20030902.160215.jar.
...
WARNING: Failed to download xml-apis-1.0.b2.jar.
The build cannot continue because of the following unsatisfied
dependencies:

dom4j-1.4-dev-8.jar
commons-jelly-20030902.160215.jar
commons-jelly-tags-jsl-20030211.143151.jar
commons-jelly-tags-log-20030211.142821.jar
commons-jelly-tags-velocity-20030303.205659.jar
commons-jelly-tags-xml-20040613.030723.jar (try downloading from
http://jakarta.apache.org/commons/jelly/libs/xml/)
commons-logging-1.0.3.jar
velocity-1.4-dev.jar
velocity-dvsl-0.45.jar
xml-apis-1.0.b2.jar
###snapp###

Is this a problem of our proxy setting? Any help would be very welcome!

Regards
Stefan




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to