You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by st...@opitz-consulting.de on 2004/07/21 17:46:18 UTC

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org