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:mgai...@hotmail.com] 
Sent: Monday, September 14, 2009 1:33 PM
To: users@maven.apache.org
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/mock-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-external
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: justin.edel...@mtvstaff.com
> To: users@maven.apache.org
> 
> The pom is what's trying to be deployed:
> 
> Uploading: 
> https://maven.atlassian.com/contrib-snapshot/com/mtvnet/crowd/mock-cro
> wd-server/1.0.0-alpha-3-SNAPSHOT/mock-crowd-server-1.0.0-alpha-3-20090
> 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:mgai...@hotmail.com]
> Sent: Monday, September 14, 2009 12:42 PM
> To: users@maven.apache.org
> 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: justin.edel...@mtvstaff.com
> > To: users@maven.apache.org
> > 
> > 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(Def
> > au
> > lt
> > LifecycleExecutor.java:719)
> >  at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithL
> > if
> > ec
> > ycle(DefaultLifecycleExecutor.java:556)
> >  at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defa
> > ul
> > tL
> > ifecycleExecutor.java:535)
> >  at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHa
> > nd
> > le
> > Failures(DefaultLifecycleExecutor.java:387)
> >  at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegme
> > nt
> > s(
> > DefaultLifecycleExecutor.java:348)
> >  at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultL
> > 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(NativeMethodAccessorImpl
> > .j
> > av
> > a:39)
> >  at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> > 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:430
> > )  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:19
> > 5)
> >  at
> > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlug
> > in
> > Ma
> > nager.java:490)
> >  at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Def
> > 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(De
> > fa
> > ul
> > tArtifactDeployer.java:121)
> >  at
> > org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:16
> > 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(De
> > fa
> > ul
> > tWagonManager.java:227)
> >  at
> > org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(De
> > 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(Abstr
> > ac
> > tH
> > ttpClientWagon.java:360)
> >  at
> > org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(Abstr
> > 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: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to