I'm not sure if you got this resolved but I'm told this is a server side rule to prevent the bad checksums from 2.2.0 getting into the repository. It may need to be reviewed - in any case you should contact Atlassian about it as Maven is working with other WebDAV hosts..

- Brett

On 15/09/2009, at 4:21 AM, Edelson, Justin wrote:

distributionManagement/repository/url and distributionManagement/ snapshotRepository/url both start with "dav:", which I think is necessary.

Pom is here: 
https://svn.atlassian.com/svn/public/contrib/crowd/mock-crowd-server/trunk/pom.xml

Justin


-----Original Message-----
From: Kalle Korhonen [mailto:[email protected]]
Sent: Monday, September 14, 2009 2:14 PM
To: Maven Users List
Subject: Re: webdav deployment fails with Access denied message with 2.2.1 (works with 2.0.10)

Not clear to me if you are using that dav: try it if you aren't. I had a similar issue - but not sure if it's exactly the same - after upgrading to a newer Maven (newer than 2.0.x), I had to specify dav:
for deployments to succeed again.

Kalle

On Mon, Sep 14, 2009 at 10:51 AM, Edelson, Justin <[email protected] > wrote:
Martin-
This doesn't make any sense to me. SCP and WebDAV should have nothing to do with each other. In any case, there is an id in the distributionManagement section and a corresponding entry in settings.xml. If not, the deploy wouldn't have worked with 2.0.10.

Oh, an Tortoise is a SVN client, not an SSH client.

Justin

-----Original Message-----
From: Martin Gainty [mailto:[email protected]]
Sent: Monday, September 14, 2009 1:33 PM
To: [email protected]
Subject: RE: webdav deployment fails with Access denied message with
2.2.1 (works with 2.0.10)


if you're deploying to https server you'll need scp authentication
credentials <distributionManagement>
   <site>
     <id>atlassian</id>

<url>https://maven.atlassian.com/contrib-snapshot/com/mtvnet/crowd/ moc k-crowd-server/1.0.0-alpha-3-SNAPSHOT/mock-crowd-server-1.0.0- alpha-3-
20090914.161335-1.pom</url>
   </site>
 </distributionManagement>

did you look at implementing wagon-ssh?
   <dependency>
     <groupId>maven</groupId>
     <artifactId>wagon-ssh</artifactId>
     <version>0.9-SNAPSHOT</version>
     <type>jar</type>
     <scope>compile</scope>
   </dependency>

http://mvnrepository.com/artifact/org.apache.maven.wagon/wagon-ssh- ext
ernal note caveat: requires "pre-installed ssh client"

here is one ssh client worth considering
http://tortoisesvn.net/downloads

Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de
confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




Subject: RE: webdav deployment fails with Access denied message with
2.2.1 (works with 2.0.10)
Date: Mon, 14 Sep 2009 12:55:51 -0400
From: [email protected]
To: [email protected]

The pom is what's trying to be deployed:

Uploading:
https://maven.atlassian.com/contrib-snapshot/com/mtvnet/crowd/mock- cr
o
wd-server/1.0.0-alpha-3-SNAPSHOT/mock-crowd-server-1.0.0- alpha-3-2009
0
914.161335-1.pom

It's being installed in my local repository, the deploy is what's failing.

Justin

-----Original Message-----
From: Martin Gainty [mailto:[email protected]]
Sent: Monday, September 14, 2009 12:42 PM
To: [email protected]
Subject: RE: webdav deployment fails with Access denied message with
2.2.1 (works with 2.0.10)


appears that the pom is absent

did you try downloading from google
http://code.google.com/p/mock-as3/source/checkout
and installing to localRepository
?
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de
confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




Subject: webdav deployment fails with Access denied message with
2.2.1 (works with 2.0.10)
Date: Mon, 14 Sep 2009 12:16:10 -0400
From: [email protected]
To: [email protected]

Is there something special I need to do to get WebDAV artifact
deployment working with 2.2.1? When trying to do a deploy, I get
the error below. In looking at the release notes for 2.1.x and
2.2.x, there's discussion of using different wagons for HTTP (httpclient vs.
lightweight), but my understanding has been that WebDAV has a
separate wagon which is used if the repository url starts with
"dav:". I went back to 2.0.10 and the deploy worked (so I was able
to get through a release), but would still like to address the problem.

Thanks,
Justin

[ERROR] BUILD ERROR
[INFO]
-------------------------------------------------------------------
-
--
-- [INFO] Error deploying artifact: Authorization failed: Access denied to:
https://maven.atlassian.com/contrib-snapshot/com/mtvnet/crowd/mock-
c
ro
wd
-server/1.0.0-alpha-3-SNAPSHOT/mock-crowd-server-1.0.0- alpha-3-20090914.
161335-1.pom

[INFO]
-------------------------------------------------------------------
-
--
--
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error
deploying
artifact: Authorization failed: Access denied to:
https://maven.atlassian.com/contrib-snapshot/com/mtvnet/crowd/mock-
c
ro
wd
-server/1.0.0-alpha-3-SNAPSHOT/mock-crowd-server-1.0.0- alpha-3-20090914.
161335-1.pom
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(De
f
au
lt
LifecycleExecutor.java:719)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWith
L
if
ec
ycle(DefaultLifecycleExecutor.java:556)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Def
a
ul
tL
ifecycleExecutor.java:535)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndH
a
nd
le
Failures(DefaultLifecycleExecutor.java:387)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegm
e
nt
s(
DefaultLifecycleExecutor.java:348)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(Default
L
if
ec
ycleExecutor.java:180)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
 at
org.apache.maven.cli.compat.CompatibleMain.main (CompatibleMain.java:
60
)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
l
.j
av
a:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
e
ss
or
Impl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
 at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:43
0
)  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error
deploying artifact: Authorization failed: Access denied to:
https://maven.atlassian.com/contrib-snapshot/com/mtvnet/crowd/mock-
c
ro
wd
-server/1.0.0-alpha-3-SNAPSHOT/mock-crowd-server-1.0.0- alpha-3-20090914.
161335-1.pom
 at
org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:1
9
5)
 at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlu
g
in
Ma
nager.java:490)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(De
f
au
lt
LifecycleExecutor.java:694)
 ... 17 more
Caused by:
org.apache.maven.artifact.deployer.ArtifactDeploymentException:
Error deploying artifact: Authorization failed: Access denied to:
https://maven.atlassian.com/contrib-snapshot/com/mtvnet/crowd/mock-
c
ro
wd
-server/1.0.0-alpha-3-SNAPSHOT/mock-crowd-server-1.0.0- alpha-3-20090914.
161335-1.pom
 at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(D
e
fa
ul
tArtifactDeployer.java:121)
 at
org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:1
6
5)
 ... 19 more
Caused by: org.apache.maven.wagon.TransferFailedException:
Authorization
failed: Access denied to:
https://maven.atlassian.com/contrib-snapshot/com/mtvnet/crowd/mock-
c
ro
wd
-server/1.0.0-alpha-3-SNAPSHOT/mock-crowd-server-1.0.0- alpha-3-20090914.
161335-1.pom
 at
org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile
(
De
fa
ultWagonManager.java:352)
 at
org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(D
e
fa
ul
tWagonManager.java:227)
 at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(D
e
fa
ul
tArtifactDeployer.java:107)
 ... 20 more
Caused by: org.apache.maven.wagon.authorization.AuthorizationException:
Access denied to:
https://maven.atlassian.com/contrib-snapshot/com/mtvnet/crowd/mock-
c
ro
wd
-server/1.0.0-alpha-3-SNAPSHOT/mock-crowd-server-1.0.0- alpha-3-20090914.
161335-1.pom
 at
org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(Abst
r
ac
tH
ttpClientWagon.java:360)
 at
org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(Abst
r
ac
tH
ttpClientWagon.java:280)
 at
org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile
(
De
fa
ultWagonManager.java:317)
 ... 22 more


_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


_________________________________________________________________
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/171222984/direct/01/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to