I have a deployment problem with maven 2 and WebDav protocol.

My context :
-------------------
I have corporate repositories (inhouse and inhouse.snapshot) with Proximity
proxy.
As Proximity seems to not support efficiently WebDav protocol, I also have a
apache frontal allowing access to my corporate repositories via WebDav
protocol.

In order to add WebDav protocol with maven 2, I followed the instructions
from this article (
http://docs.codehaus.org/display/MAVENUSER/Deploying+3rd+Party+Jars+With+WebDAV
)

**Problem :
--------------
When it try to release my project, I have this deployment error :
Error deploying artifact: Authorization failed: Access denied to:
http://myhost/inhouse/[I]projectGroupId[/I]/[I]projectArtifactId[/I]/[I]projectVersion[/I]/[I]projectArtifactId[/I]-[I]projectVersion[/I].jar

But I can access to my corporate repositories with a WebDav client like
NetDrive.
I can also create all the directories (*projectGroupId*/*projectArtifactId*/
*projectVersion*/) with this WebDav client.
Then, if I try again to deploy my project, it works well.

So, it seems that the deployment do not create the directories before
uploading the artifact.
It's the first time that I try to use wagon-webdav so I am not sure to
understand well where the problem come from.

Did you have any idea ?

Rémy

Reply via email to