You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Edelson, Justin" <Ju...@mtvstaff.com> on 2009/09/14 18:16:10 UTC

webdav deployment fails with Access denied message with 2.2.1 (works with 2.0.10)

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-crowd
-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-crowd
-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(Default
LifecycleExecutor.java:719)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:556)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:535)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:387)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:348)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
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.jav
a:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
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-crowd
-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:195)
 at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:490)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
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-crowd
-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(Defaul
tArtifactDeployer.java:121)
 at
org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:165)
 ... 19 more
Caused by: org.apache.maven.wagon.TransferFailedException: Authorization
failed: Access denied to:
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
 at
org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(Defa
ultWagonManager.java:352)
 at
org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(Defaul
tWagonManager.java:227)
 at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defaul
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-crowd
-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(AbstractH
ttpClientWagon.java:360)
 at
org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractH
ttpClientWagon.java:280)
 at
org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(Defa
ultWagonManager.java:317)
 ... 22 more


RE: webdav deployment fails with Access denied message with 2.2.1 (works with 2.0.10)

Posted by Martin Gainty <mg...@hotmail.com>.
No.. tortoise supports svn+ssh:

No.. anyone implementing webdav can secure their webdav site with ssl
http://www.howtoforge.com/webdav_with_ssl_and_two_factor_authentication

scp is secure copy or copy implementing SSH
http://www.computerhope.com/unix/scp.htm

my advice is to contact the webmaster and ask what he needs for 'secure copy'

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 13:51:57 -0400
> From: Justin.Edelson@mtvstaff.com
> To: users@maven.apache.org
> 
> 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:mgainty@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.Edelson@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:mgainty@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.Edelson@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-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> > 
> 
> _________________________________________________________________
> Hotmail: Free, trusted and rich email service.
> http://clk.atdmt.com/GBL/go/171222984/direct/01/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

_________________________________________________________________
Ready for Fall shows? Use Bing to find helpful ratings and reviews on digital tv's.
http://www.bing.com/shopping/search?q=digital+tv's&form=MSHNCB&publ=WLHMTAG&crea=TEXT_MSHNCB_Vertical_Shopping_DigitalTVs_1x1

Re: webdav deployment fails with Access denied message with 2.2.1 (works with 2.0.10)

Posted by Brett Porter <br...@apache.org>.
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:kalle.o.korhonen@gmail.com]
> 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 <Justin.Edelson@mtvstaff.com 
> > 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:mgainty@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/ 
>> 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: Justin.Edelson@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- 
>>> 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:mgainty@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.Edelson@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(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: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>
>> _________________________________________________________________
>> Hotmail: Free, trusted and rich email service.
>> http://clk.atdmt.com/GBL/go/171222984/direct/01/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


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


RE: webdav deployment fails with Access denied message with 2.2.1 (works with 2.0.10)

Posted by "Edelson, Justin" <Ju...@mtvstaff.com>.
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:kalle.o.korhonen@gmail.com] 
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 <Ju...@mtvstaff.com> 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:mgainty@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/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: Justin.Edelson@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-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:mgainty@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.Edelson@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(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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
> _________________________________________________________________
> Hotmail: Free, trusted and rich email service.
> http://clk.atdmt.com/GBL/go/171222984/direct/01/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


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


Re: webdav deployment fails with Access denied message with 2.2.1 (works with 2.0.10)

Posted by Kalle Korhonen <ka...@gmail.com>.
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
<Ju...@mtvstaff.com> 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:mgainty@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.Edelson@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:mgainty@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.Edelson@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-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
> _________________________________________________________________
> Hotmail: Free, trusted and rich email service.
> http://clk.atdmt.com/GBL/go/171222984/direct/01/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


RE: webdav deployment fails with Access denied message with 2.2.1 (works with 2.0.10)

Posted by "Edelson, Justin" <Ju...@mtvstaff.com>.
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:mgainty@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.Edelson@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:mgainty@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.Edelson@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-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

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

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


RE: webdav deployment fails with Access denied message with 2.2.1 (works with 2.0.10)

Posted by Martin Gainty <mg...@hotmail.com>.
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.Edelson@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-crowd-server/1.0.0-alpha-3-SNAPSHOT/mock-crowd-server-1.0.0-alpha-3-20090914.161335-1.pom
> 
> It's being installed in my local repository, the deploy is what's failing.
> 
> Justin 
> 
> -----Original Message-----
> From: Martin Gainty [mailto:mgainty@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.Edelson@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-cro
> > 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-cro
> > 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(Defau
> > lt
> > LifecycleExecutor.java:719)
> >  at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLif
> > ec
> > ycle(DefaultLifecycleExecutor.java:556)
> >  at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defaul
> > tL
> > ifecycleExecutor.java:535)
> >  at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand
> > le
> > Failures(DefaultLifecycleExecutor.java:387)
> >  at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment
> > s(
> > DefaultLifecycleExecutor.java:348)
> >  at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLif
> > 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(DelegatingMethodAccess
> > 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-cro
> > 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:195)
> >  at
> > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugin
> > Ma
> > nager.java:490)
> >  at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defau
> > 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-cro
> > 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(Defa
> > ul
> > tArtifactDeployer.java:121)
> >  at
> > org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:165)
> >  ... 19 more
> > Caused by: org.apache.maven.wagon.TransferFailedException: 
> > Authorization
> > failed: Access denied to:
> > 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-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(Defa
> > ul
> > tWagonManager.java:227)
> >  at
> > org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defa
> > 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-cro
> > 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(Abstrac
> > tH
> > ttpClientWagon.java:360)
> >  at
> > org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(Abstrac
> > 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-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

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

RE: webdav deployment fails with Access denied message with 2.2.1 (works with 2.0.10)

Posted by "Edelson, Justin" <Ju...@mtvstaff.com>.
The pom is what's trying to be deployed:

Uploading: 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

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

Justin 

-----Original Message-----
From: Martin Gainty [mailto:mgainty@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.Edelson@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-cro
> 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-cro
> 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(Defau
> lt
> LifecycleExecutor.java:719)
>  at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLif
> ec
> ycle(DefaultLifecycleExecutor.java:556)
>  at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defaul
> tL
> ifecycleExecutor.java:535)
>  at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand
> le
> Failures(DefaultLifecycleExecutor.java:387)
>  at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment
> s(
> DefaultLifecycleExecutor.java:348)
>  at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLif
> 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(DelegatingMethodAccess
> 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-cro
> 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:195)
>  at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugin
> Ma
> nager.java:490)
>  at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defau
> 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-cro
> 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(Defa
> ul
> tArtifactDeployer.java:121)
>  at
> org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:165)
>  ... 19 more
> Caused by: org.apache.maven.wagon.TransferFailedException: 
> Authorization
> failed: Access denied to:
> 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-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(Defa
> ul
> tWagonManager.java:227)
>  at
> org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defa
> 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-cro
> 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(Abstrac
> tH
> ttpClientWagon.java:360)
>  at
> org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(Abstrac
> 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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: webdav deployment fails with Access denied message with 2.2.1 (works with 2.0.10)

Posted by Martin Gainty <mg...@hotmail.com>.
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.Edelson@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-crowd
> -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-crowd
> -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(Default
> LifecycleExecutor.java:719)
>  at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
> ycle(DefaultLifecycleExecutor.java:556)
>  at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
> ifecycleExecutor.java:535)
>  at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
> Failures(DefaultLifecycleExecutor.java:387)
>  at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:348)
>  at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
> 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.jav
> a:39)
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> 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-crowd
> -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:195)
>  at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
> nager.java:490)
>  at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> 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-crowd
> -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(Defaul
> tArtifactDeployer.java:121)
>  at
> org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:165)
>  ... 19 more
> Caused by: org.apache.maven.wagon.TransferFailedException: Authorization
> failed: Access denied to:
> 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
>  at
> org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(Defa
> ultWagonManager.java:352)
>  at
> org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(Defaul
> tWagonManager.java:227)
>  at
> org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defaul
> 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-crowd
> -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(AbstractH
> ttpClientWagon.java:360)
>  at
> org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractH
> ttpClientWagon.java:280)
>  at
> org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(Defa
> ultWagonManager.java:317)
>  ... 22 more
> 

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