Well, that must be a permission problem, check your server logs, maybe just a wrong pwd (don't you need maven.proxy.password?), or wrong directory permissions?

And yes, I can confirm that maven.proxy.nonProxyHosts is an existing property [1] and that it is used by DependencyVerifier, even though I couldn't find it documented anywhere... ;)

Cheers,
-Lukas

[1] http://maven.apache.org/maven-1.x/apidocs/constant-values.html


[EMAIL PROTECTED] wrote:
You are right, the http is correct actually. Another guess: replace the IP name by a DNS name? But you will have to tell us more details about the problem, just saying it doesn't work doesn't leave me a lot of
clues...


Well, actually, using a DNS name is just what I really want and so what I tried 
in the first place (but as I am not sure whether or not Maven uses my Windows 
hosts file, I tried the hardcoded IP adress instead).

In my user home in my build.properties file I got:
maven.repo.local=C:/MYFOLDER/Maven1.1/repository
maven.home.local=C:/MYFOLDER/Maven1.1
maven.repo.remote=http://192.168.0.54
maven.proxy.nonProxyHosts=http://192.168.0.54
maven.proxy.host=MYPROXY_SERVER
maven.proxy.port=8080


Then I typed in:

maven tomcat:deploy

Which results in:
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1

Trying to get missing dependencies (and updated snapshots) required by MYWEBAPP:
- Attempting to download MYDEPENDENCY:jar from http://192.168.0.54
Error retrieving artifact from [http://192.168.0.54]: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://192.168.0.54//MYFOLDER/jars/MYDEPENDENCY.jar
-------------------------------------------------------------------------------

The build cannot continue because of the following unsatisfied dependency:

- MYFOLDER:MYDEPENDENCY-1.1.jar

-------------------------------------------------------------------------------
BUILD FAILED
-------------------------------------------------------------------------------

Hope this helps to help me! ;-)

What I would like to know: As it was quite hard to actually find the nonProxy property 
setting, could it be that it doesn't even exist? In other words, can you confirm that 
using Maven 1.1 the setting "maven.proxy.nonProxyHosts" actually exists and 
should be working???

Thanks,

Christine



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

Reply via email to