<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>wagon-users@maven.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/"/>
<id>http://mail-archives.apache.org/mod_mbox/maven-wagon-users/</id>
<updated>2009-12-10T07:29:46Z</updated>
<entry>
<title>maven pom.xml deployment...</title>
<author><name>JIA Pei &lt;jp4work@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200911.mbox/%3c218a26f00911171524k32628fefg1ccb43d464ee39a0@mail.gmail.com%3e"/>
<id>urn:uuid:%3c218a26f00911171524k32628fefg1ccb43d464ee39a0@mail-gmail-com%3e</id>
<updated>2009-11-17T23:24:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi, all:

I'm using jahmm open source downloaded form
http://jahmm.googlecode.com/svn/repo/be/ac/ulg/montefiore/run/jahmm/jahmm/0.6.2/

As you can see, this is a maven version .

However, when I port this jahmm project into my Eclipse 3.5.1+maven 2.2.1
(I'm using m2Eclipse http://m2eclipse.sonatype.org/ )

pom.xml always indicate the following error message:

"
*POM 'org.jvnet.wagon-svn:wagon-svn' not found in repository: Unable to
download the artifact from any repository

  org.jvnet.wagon-svn:wagon-svn:pom:1.8

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)
 for project org.jvnet.wagon-svn:wagon-svn*
"

I'm wondering how to revise it to make the pom.xml compilable without those
"red crosses" error messages?

Best Regards
JIA

-- 
Welcome to Vision Open
http://www.visionopen.com


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: What's happened to wagon's sshExecutable setting?</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200909.mbox/%3cBEEF2098-0B9C-4429-81D2-A7C4DE16CD40@apache.org%3e"/>
<id>urn:uuid:%3cBEEF2098-0B9C-4429-81D2-A7C4DE16CD40@apache-org%3e</id>
<updated>2009-09-10T15:18:38Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
It used to be on the site, but it seems the page is gone now...

On 11/09/2009, at 12:18 AM, Daniel Serodio wrote:

&gt;
&gt; Great! Thanks for the tip. Is this documented somewhere I couldn't  
&gt; find?
&gt;
&gt; Regards,
&gt; Daniel Serodio
&gt;
&gt; brettporter wrote:
&gt;&gt;
&gt;&gt; You need to use scpexe:// for the URL instead of scp://
&gt;&gt;
&gt;&gt; - Brett
&gt;&gt;
&gt;&gt; On 10/09/2009, at 6:09 AM, Daniel Serodio wrote:
&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; I'm on Windows XP, and I'm trying to make Maven deployment use my
&gt;&gt;&gt; private key
&gt;&gt;&gt; which is stored in PuTTY's Pageant ssh agent.
&gt;&gt;&gt;
&gt;&gt;&gt; I found an old recipe on the net that says I should use the  
&gt;&gt;&gt; following
&gt;&gt;&gt; settings.xml:
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;server&gt;
&gt;&gt;&gt;   &lt;id&gt;my-repo&lt;/id&gt;
&gt;&gt;&gt;   &lt;configuration&gt;
&gt;&gt;&gt;       &lt;sshExecutable&gt;c:/Progra~1/PuTTY/plink.exe&lt;/sshExecutable&gt;
&gt;&gt;&gt;       &lt;scpExecutable&gt;c:/Progra~1/PuTTY/pscp.exe&lt;/scpExecutable&gt;
&gt;&gt;&gt;   &lt;/configuration&gt;
&gt;&gt;&gt; &lt;/server&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; But when I try this, I get the following error:
&gt;&gt;&gt;
&gt;&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt;&gt; [INFO]
&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt; [INFO] Error retrieving previous build number for artifact
&gt;&gt;&gt; 'br.pucsp.apt:ereinion:jar': repository metadata for: 'snapshot
&gt;&gt;&gt; br.pucsp.apt:ereinion:2.0.0-SNAPSHOT'
&gt;&gt;&gt; could not be retrieved from repository: vulcano-repo due to an
&gt;&gt;&gt; error: While
&gt;&gt;&gt; configuring wagon for 'vulcano-repo': Unable to apply wagon
&gt;&gt;&gt; configuration.
&gt;&gt;&gt;
&gt;&gt;&gt; Cannot find setter nor field in
&gt;&gt;&gt; org.apache.maven.wagon.providers.ssh.jsch.ScpWagon for  
&gt;&gt;&gt; 'sshExecutable'
&gt;&gt;
&gt;
&gt; -- 
&gt; View this message in context: http://www.nabble.com/What%27s-happened-to-wagon%27s-sshExecutable-setting--tp25372367p25384179.html
&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: What's happened to wagon's sshExecutable setting?</title>
<author><name>Daniel Serodio &lt;nabble.dserodio@neverbox.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200909.mbox/%3c25384179.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c25384179-post@talk-nabble-com%3e</id>
<updated>2009-09-10T14:18:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Great! Thanks for the tip. Is this documented somewhere I couldn't find?

Regards,
Daniel Serodio

brettporter wrote:
&gt; 
&gt; You need to use scpexe:// for the URL instead of scp://
&gt; 
&gt; - Brett
&gt; 
&gt; On 10/09/2009, at 6:09 AM, Daniel Serodio wrote:
&gt; 
&gt;&gt;
&gt;&gt; I'm on Windows XP, and I'm trying to make Maven deployment use my  
&gt;&gt; private key
&gt;&gt; which is stored in PuTTY's Pageant ssh agent.
&gt;&gt;
&gt;&gt; I found an old recipe on the net that says I should use the following
&gt;&gt; settings.xml:
&gt;&gt;
&gt;&gt; &lt;server&gt;
&gt;&gt;    &lt;id&gt;my-repo&lt;/id&gt;
&gt;&gt;    &lt;configuration&gt;
&gt;&gt;        &lt;sshExecutable&gt;c:/Progra~1/PuTTY/plink.exe&lt;/sshExecutable&gt;
&gt;&gt;        &lt;scpExecutable&gt;c:/Progra~1/PuTTY/pscp.exe&lt;/scpExecutable&gt;
&gt;&gt;    &lt;/configuration&gt;
&gt;&gt; &lt;/server&gt;
&gt;&gt;
&gt;&gt; But when I try this, I get the following error:
&gt;&gt;
&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt; [INFO]
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [INFO] Error retrieving previous build number for artifact
&gt;&gt; 'br.pucsp.apt:ereinion:jar': repository metadata for: 'snapshot
&gt;&gt; br.pucsp.apt:ereinion:2.0.0-SNAPSHOT'
&gt;&gt; could not be retrieved from repository: vulcano-repo due to an  
&gt;&gt; error: While
&gt;&gt; configuring wagon for 'vulcano-repo': Unable to apply wagon  
&gt;&gt; configuration.
&gt;&gt;
&gt;&gt; Cannot find setter nor field in
&gt;&gt; org.apache.maven.wagon.providers.ssh.jsch.ScpWagon for 'sshExecutable'
&gt; 

-- 
View this message in context: http://www.nabble.com/What%27s-happened-to-wagon%27s-sshExecutable-setting--tp25372367p25384179.html
Sent from the Wagon - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: What's happened to wagon's sshExecutable setting?</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200909.mbox/%3c6606412E-92F9-4D5C-92E9-DC221F3E47B4@apache.org%3e"/>
<id>urn:uuid:%3c6606412E-92F9-4D5C-92E9-DC221F3E47B4@apache-org%3e</id>
<updated>2009-09-10T03:43:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
You need to use scpexe:// for the URL instead of scp://

- Brett

On 10/09/2009, at 6:09 AM, Daniel Serodio wrote:

&gt;
&gt; I'm on Windows XP, and I'm trying to make Maven deployment use my  
&gt; private key
&gt; which is stored in PuTTY's Pageant ssh agent.
&gt;
&gt; I found an old recipe on the net that says I should use the following
&gt; settings.xml:
&gt;
&gt; &lt;server&gt;
&gt;    &lt;id&gt;my-repo&lt;/id&gt;
&gt;    &lt;configuration&gt;
&gt;        &lt;sshExecutable&gt;c:/Progra~1/PuTTY/plink.exe&lt;/sshExecutable&gt;
&gt;        &lt;scpExecutable&gt;c:/Progra~1/PuTTY/pscp.exe&lt;/scpExecutable&gt;
&gt;    &lt;/configuration&gt;
&gt; &lt;/server&gt;
&gt;
&gt; But when I try this, I get the following error:
&gt;
&gt; [ERROR] BUILD ERROR
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [INFO] Error retrieving previous build number for artifact
&gt; 'br.pucsp.apt:ereinion:jar': repository metadata for: 'snapshot
&gt; br.pucsp.apt:ereinion:2.0.0-SNAPSHOT'
&gt; could not be retrieved from repository: vulcano-repo due to an  
&gt; error: While
&gt; configuring wagon for 'vulcano-repo': Unable to apply wagon  
&gt; configuration.
&gt;
&gt; Cannot find setter nor field in
&gt; org.apache.maven.wagon.providers.ssh.jsch.ScpWagon for 'sshExecutable'
&gt; -- 
&gt; View this message in context: http://www.nabble.com/What%27s-happened-to-wagon%27s-sshExecutable-setting--tp25372367p25372367.html
&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;


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



</pre>
</div>
</content>
</entry>
<entry>
<title>What's happened to wagon's sshExecutable setting?</title>
<author><name>Daniel Serodio &lt;nabble.dserodio@neverbox.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200909.mbox/%3c25372367.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c25372367-post@talk-nabble-com%3e</id>
<updated>2009-09-09T20:09:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

I'm on Windows XP, and I'm trying to make Maven deployment use my private key
which is stored in PuTTY's Pageant ssh agent.

I found an old recipe on the net that says I should use the following
settings.xml:

&lt;server&gt;
    &lt;id&gt;my-repo&lt;/id&gt;
    &lt;configuration&gt;
        &lt;sshExecutable&gt;c:/Progra~1/PuTTY/plink.exe&lt;/sshExecutable&gt;
        &lt;scpExecutable&gt;c:/Progra~1/PuTTY/pscp.exe&lt;/scpExecutable&gt;
    &lt;/configuration&gt;
&lt;/server&gt;

But when I try this, I get the following error:

[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error retrieving previous build number for artifact
'br.pucsp.apt:ereinion:jar': repository metadata for: 'snapshot
br.pucsp.apt:ereinion:2.0.0-SNAPSHOT'
 could not be retrieved from repository: vulcano-repo due to an error: While
configuring wagon for 'vulcano-repo': Unable to apply wagon configuration.

Cannot find setter nor field in
org.apache.maven.wagon.providers.ssh.jsch.ScpWagon for 'sshExecutable'
-- 
View this message in context: http://www.nabble.com/What%27s-happened-to-wagon%27s-sshExecutable-setting--tp25372367p25372367.html
Sent from the Wagon - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: wagon-scm: 409 when trying to deploy</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200909.mbox/%3c4FFAE297-F89D-47C2-9BDD-82046116B83C@apache.org%3e"/>
<id>urn:uuid:%3c4FFAE297-F89D-47C2-9BDD-82046116B83C@apache-org%3e</id>
<updated>2009-09-05T02:22:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Try using v 1.0 of the SCM libraries in the extensions to match the  
Wagon.

- Brett

On 05/09/2009, at 1:12 AM, droidin.net wrote:

&gt;
&gt; Thanks Brett,
&gt;
&gt; I  changed deploy URL to:
&gt;        &lt;snapshotRepository&gt;
&gt;            &lt;uniqueVersion&gt;false&lt;/uniqueVersion&gt;
&gt;            &lt;id&gt;engtools_snapshots&lt;/id&gt;
&gt;            &lt;name&gt;EngTools Maven Repository&lt;/name&gt;
&gt;
&gt; &lt;url&gt;scm:svn:http://continuum.td.foo.com/svn_repos/maven/snapshots&lt;/ 
&gt; url&gt;
&gt;        &lt;/snapshotRepository&gt;
&gt;
&gt; and now I get buncj of linkage errors (I cleared everything  
&gt; including local
&gt; maven repo)
&gt;
&gt; [INFO] [install:install {execution: default-install}]
&gt; [INFO] Installing C:\foo\sources\PTE\pte-web\target\pte-web-1.0- 
&gt; SNAPSHOT.jar
&gt; to C:\Documents an
&gt; d
&gt; Settings\boo\.m2\repository\foo\engtools\pte\pte-web\1.0-SNAPSHOT 
&gt; \pte-web-1.0-SNAPSHOT.j
&gt; ar
&gt; [INFO] [deploy:deploy {execution: default-deploy}]
&gt; [INFO] Retrieving previous build number from engtools_snapshots
&gt; [FATAL ERROR] org.apache.maven.plugin.deploy.DeployMojo#execute()  
&gt; caused a
&gt; linkage error (java.lang.
&gt; AbstractMethodError) and may be out-of-date. Check the realms:
&gt; [FATAL ERROR] Plugin realm =
&gt; app0.child-container[org.apache.maven.plugins:maven-deploy-plugin:2.4]
&gt; urls[0] = file:/C:/Documents and
&gt; Settings/boo/.m2/repository/org/apache/maven/plugins/maven-dep
&gt; loy-plugin/2.4/maven-deploy-plugin-2.4.jar
&gt; urls[1] = file:/C:/Documents and
&gt; Settings/boo/.m2/repository/org/codehaus/plexus/plexus-utils/1
&gt; .1/plexus-utils-1.1.jar
&gt; [FATAL ERROR] Container realm = plexus.core
&gt; urls[0] = file:/C:/java/apache-maven-2.2.0/bin/../lib/maven-2.2.0- 
&gt; uber.jar
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [ERROR] FATAL ERROR
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [INFO]
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .scm 
&gt; .command 
&gt; .checkout.AbstractCheckOutCommand.executeCheckOutCommand(Lorg/apa
&gt; che/maven/scm/provider/ScmProviderRepository;Lorg/apache/maven/scm/ 
&gt; ScmFileSet;Lorg/apache/maven/scm/
&gt; ScmVersion;)Lorg/apache/maven/scm/command/checkout/CheckOutScmResult;
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [INFO] Trace
&gt; java.lang.AbstractMethodError:
&gt; org.apache.maven.scm.command.checkout.AbstractCheckOutCommand.execute
&gt; CheckOutCommand(Lorg/apache/maven/scm/provider/ 
&gt; ScmProviderRepository;Lorg/apache/maven/scm/ScmFileSe
&gt; t;Lorg/apache/maven/scm/ScmVersion;)Lorg/apache/maven/scm/command/ 
&gt; checkout/CheckOutScmResult;
&gt;        at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .scm 
&gt; .command.checkout.AbstractCheckOutCommand.executeCommand(AbstractChec
&gt; kOutCommand.java:49)
&gt;        at
&gt; org 
&gt; .apache 
&gt; .maven.scm.command.AbstractCommand.execute(AbstractCommand.java:58)
&gt;        at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .scm 
&gt; .provider.svn.AbstractSvnScmProvider.executeCommand(AbstractSvnScmPro
&gt; vider.java:354)
&gt;
&gt; brettporter wrote:
&gt;&gt;
&gt;&gt; You are trying to deploy directly to the SVN repository which won't
&gt;&gt; work unless it as auto_version turned on (and then you will get lots
&gt;&gt; of revisions).
&gt;&gt;
&gt;&gt; You probably need to change the URL to scm:svn:http:// instead of  
&gt;&gt; just
&gt;&gt; http://
&gt;&gt;
&gt;&gt; - Brett
&gt;&gt;
&gt;&gt; On 26/08/2009, at 8:20 AM, droidin.net wrote:
&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; When running "mvn deploy" I end up with error below (sorry for the
&gt;&gt;&gt; long
&gt;&gt;&gt; stacktrace). Just to mention - I had the same 409 error when using
&gt;&gt;&gt; wagon-svn
&gt;&gt;&gt; from http://is.gd/2yton. Any suggestions?
&gt;&gt;&gt;
&gt;&gt;&gt; I have Pom with the following settings for wagon-scm
&gt;&gt;&gt;
&gt;&gt;&gt;   &lt;build&gt;
&gt;&gt;&gt;       &lt;extensions&gt;
&gt;&gt;&gt;           &lt;extension&gt;
&gt;&gt;&gt;               &lt;groupId&gt;org.apache.maven.wagon&lt;/groupId&gt;
&gt;&gt;&gt;               &lt;artifactId&gt;wagon-scm&lt;/artifactId&gt;
&gt;&gt;&gt;               &lt;version&gt;1.0-beta-6&lt;/version&gt;
&gt;&gt;&gt;           &lt;/extension&gt;
&gt;&gt;&gt;           &lt;extension&gt;
&gt;&gt;&gt;               &lt;groupId&gt;org.apache.maven.scm&lt;/groupId&gt;
&gt;&gt;&gt;               &lt;artifactId&gt;maven-scm-manager-plexus&lt;/artifactId&gt;
&gt;&gt;&gt;               &lt;version&gt;1.3-SNAPSHOT&lt;/version&gt;
&gt;&gt;&gt;           &lt;/extension&gt;
&gt;&gt;&gt;           &lt;extension&gt;
&gt;&gt;&gt;               &lt;groupId&gt;org.apache.maven.scm&lt;/groupId&gt;
&gt;&gt;&gt;               &lt;artifactId&gt;maven-scm-provider-svnexe&lt;/artifactId&gt;
&gt;&gt;&gt;               &lt;version&gt;1.3-SNAPSHOT&lt;/version&gt;
&gt;&gt;&gt;           &lt;/extension&gt;
&gt;&gt;&gt;       &lt;/extensions&gt;
&gt;&gt;&gt;   &lt;/build&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; My settings.xml for the server I'm trying to deploy to
&gt;&gt;&gt;
&gt;&gt;&gt;   &lt;server&gt;
&gt;&gt;&gt;     &lt;id&gt;engtools_snapshot&lt;/id&gt;
&gt;&gt;&gt;     &lt;username&gt;rs1860xx&lt;/username&gt;
&gt;&gt;&gt;     &lt;password&gt;mystrongpassword&lt;/password&gt;
&gt;&gt;&gt;     &lt;filePermissions&gt;664&lt;/filePermissions&gt;
&gt;&gt;&gt;     &lt;directoryPermissions&gt;775&lt;/directoryPermissions&gt;
&gt;&gt;&gt;   &lt;/server&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; And the error:
&gt;&gt;&gt;
&gt;&gt;&gt; [DEBUG] Failed to transfer file:
&gt;&gt;&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar
&gt;&gt;&gt; .
&gt;&gt;&gt; Return code is: 409
&gt;&gt;&gt; org.apache.maven.wagon.TransferFailedException: Failed to transfer
&gt;&gt;&gt; file:
&gt;&gt;&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar
&gt;&gt;&gt; .
&gt;&gt;&gt; Return code is: 409
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .wagon
&gt;&gt;&gt; .shared
&gt;&gt;&gt; .http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:368)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .wagon
&gt;&gt;&gt; .shared
&gt;&gt;&gt; .http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:280)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .artifact
&gt;&gt;&gt; .manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:
&gt;&gt;&gt; 262)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .artifact
&gt;&gt;&gt; .manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java: 
&gt;&gt;&gt; 172)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .artifact
&gt;&gt;&gt; .deployer
&gt;&gt;&gt; .DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java: 
&gt;&gt;&gt; 173)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
&gt;&gt;&gt; 483)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt;&gt; .executeGoals(DefaultLifecycleExecutor.java:
&gt;&gt;&gt; 678)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt; .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt; .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:
&gt;&gt;&gt; 519)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt; .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt; .executeTaskSegments(DefaultLifecycleExecutor.java:332)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt; .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
&gt;&gt;&gt; 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
&gt;&gt;&gt; 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
&gt;&gt;&gt; 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:
&gt;&gt;&gt; 41)
&gt;&gt;&gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; sun
&gt;&gt;&gt; .reflect
&gt;&gt;&gt; .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; sun
&gt;&gt;&gt; .reflect
&gt;&gt;&gt; .DelegatingMethodAccessorImpl
&gt;&gt;&gt; .invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt;&gt; 	at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt;&gt; 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:
&gt;&gt;&gt; 315)
&gt;&gt;&gt; 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt;&gt;&gt; 	at  
&gt;&gt;&gt; org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:
&gt;&gt;&gt; 430)
&gt;&gt;&gt; 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
&gt;&gt;&gt; [INFO]
&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt;&gt; [INFO]
&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt; [INFO] Error deploying artifact: Failed to transfer file:
&gt;&gt;&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar
&gt;&gt;&gt; .
&gt;&gt;&gt; Return code is: 409
&gt;&gt;&gt;
&gt;&gt;&gt; [INFO]
&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt; [DEBUG] Trace
&gt;&gt;&gt; org.apache.maven.lifecycle.LifecycleExecutionException: Error
&gt;&gt;&gt; deploying
&gt;&gt;&gt; artifact: Failed to transfer file:
&gt;&gt;&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar
&gt;&gt;&gt; .
&gt;&gt;&gt; Return code is: 409
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt;&gt; .executeGoals(DefaultLifecycleExecutor.java:
&gt;&gt;&gt; 703)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt; .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt; .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:
&gt;&gt;&gt; 519)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt; .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt; .executeTaskSegments(DefaultLifecycleExecutor.java:332)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt; .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
&gt;&gt;&gt; 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
&gt;&gt;&gt; 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
&gt;&gt;&gt; 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:
&gt;&gt;&gt; 41)
&gt;&gt;&gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; sun
&gt;&gt;&gt; .reflect
&gt;&gt;&gt; .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; sun
&gt;&gt;&gt; .reflect
&gt;&gt;&gt; .DelegatingMethodAccessorImpl
&gt;&gt;&gt; .invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt;&gt; 	at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt;&gt; 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:
&gt;&gt;&gt; 315)
&gt;&gt;&gt; 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt;&gt;&gt; 	at  
&gt;&gt;&gt; org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:
&gt;&gt;&gt; 430)
&gt;&gt;&gt; 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
&gt;&gt;&gt; Caused by: org.apache.maven.plugin.MojoExecutionException: Error
&gt;&gt;&gt; deploying
&gt;&gt;&gt; artifact: Failed to transfer file:
&gt;&gt;&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar
&gt;&gt;&gt; .
&gt;&gt;&gt; Return code is: 409
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java: 
&gt;&gt;&gt; 195)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
&gt;&gt;&gt; 483)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt;&gt; .executeGoals(DefaultLifecycleExecutor.java:
&gt;&gt;&gt; 678)
&gt;&gt;&gt; 	... 17 more
&gt;&gt;&gt; Caused by:
&gt;&gt;&gt; org.apache.maven.artifact.deployer.ArtifactDeploymentException:
&gt;&gt;&gt; Error deploying artifact: Failed to transfer file:
&gt;&gt;&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar
&gt;&gt;&gt; .
&gt;&gt;&gt; Return code is: 409
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .artifact
&gt;&gt;&gt; .deployer
&gt;&gt;&gt; .DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:121)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java: 
&gt;&gt;&gt; 173)
&gt;&gt;&gt; 	... 19 more
&gt;&gt;&gt; Caused by: org.apache.maven.wagon.TransferFailedException: Failed to
&gt;&gt;&gt; transfer file:
&gt;&gt;&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar
&gt;&gt;&gt; .
&gt;&gt;&gt; Return code is: 409
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .wagon
&gt;&gt;&gt; .shared
&gt;&gt;&gt; .http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:368)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .wagon
&gt;&gt;&gt; .shared
&gt;&gt;&gt; .http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:280)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .artifact
&gt;&gt;&gt; .manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:
&gt;&gt;&gt; 262)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .artifact
&gt;&gt;&gt; .manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java: 
&gt;&gt;&gt; 172)
&gt;&gt;&gt; 	at
&gt;&gt;&gt; org
&gt;&gt;&gt; .apache
&gt;&gt;&gt; .maven
&gt;&gt;&gt; .artifact
&gt;&gt;&gt; .deployer
&gt;&gt;&gt; .DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107)
&gt;&gt;&gt; 	... 20 more
&gt;&gt;&gt; -- 
&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt; http://www.nabble.com/wagon-scm%3A-409-when-trying-to-deploy-tp25143236p25143236.html
&gt;&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;
&gt; -- 
&gt; View this message in context: http://www.nabble.com/wagon-scm%3A-409-when-trying-to-deploy-tp25143236p25296238.html
&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: wagon-scm: 409 when trying to deploy</title>
<author><name>&quot;droidin.net&quot; &lt;droid@droidin.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200909.mbox/%3c25296238.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c25296238-post@talk-nabble-com%3e</id>
<updated>2009-09-04T15:12:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Thanks Brett,

I  changed deploy URL to:
        &lt;snapshotRepository&gt;
            &lt;uniqueVersion&gt;false&lt;/uniqueVersion&gt;
            &lt;id&gt;engtools_snapshots&lt;/id&gt;
            &lt;name&gt;EngTools Maven Repository&lt;/name&gt;
           
&lt;url&gt;scm:svn:http://continuum.td.foo.com/svn_repos/maven/snapshots&lt;/url&gt;
        &lt;/snapshotRepository&gt;

and now I get buncj of linkage errors (I cleared everything including local
maven repo)

[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\foo\sources\PTE\pte-web\target\pte-web-1.0-SNAPSHOT.jar
to C:\Documents an
d
Settings\boo\.m2\repository\foo\engtools\pte\pte-web\1.0-SNAPSHOT\pte-web-1.0-SNAPSHOT.j
ar
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] Retrieving previous build number from engtools_snapshots
[FATAL ERROR] org.apache.maven.plugin.deploy.DeployMojo#execute() caused a
linkage error (java.lang.
AbstractMethodError) and may be out-of-date. Check the realms:
[FATAL ERROR] Plugin realm =
app0.child-container[org.apache.maven.plugins:maven-deploy-plugin:2.4]
urls[0] = file:/C:/Documents and
Settings/boo/.m2/repository/org/apache/maven/plugins/maven-dep
loy-plugin/2.4/maven-deploy-plugin-2.4.jar
urls[1] = file:/C:/Documents and
Settings/boo/.m2/repository/org/codehaus/plexus/plexus-utils/1
.1/plexus-utils-1.1.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/C:/java/apache-maven-2.2.0/bin/../lib/maven-2.2.0-uber.jar
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO]
org.apache.maven.scm.command.checkout.AbstractCheckOutCommand.executeCheckOutCommand(Lorg/apa
che/maven/scm/provider/ScmProviderRepository;Lorg/apache/maven/scm/ScmFileSet;Lorg/apache/maven/scm/
ScmVersion;)Lorg/apache/maven/scm/command/checkout/CheckOutScmResult;
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.AbstractMethodError:
org.apache.maven.scm.command.checkout.AbstractCheckOutCommand.execute
CheckOutCommand(Lorg/apache/maven/scm/provider/ScmProviderRepository;Lorg/apache/maven/scm/ScmFileSe
t;Lorg/apache/maven/scm/ScmVersion;)Lorg/apache/maven/scm/command/checkout/CheckOutScmResult;
        at
org.apache.maven.scm.command.checkout.AbstractCheckOutCommand.executeCommand(AbstractChec
kOutCommand.java:49)
        at
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:58)
        at
org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.executeCommand(AbstractSvnScmPro
vider.java:354)

brettporter wrote:
&gt; 
&gt; You are trying to deploy directly to the SVN repository which won't  
&gt; work unless it as auto_version turned on (and then you will get lots  
&gt; of revisions).
&gt; 
&gt; You probably need to change the URL to scm:svn:http:// instead of just  
&gt; http://
&gt; 
&gt; - Brett
&gt; 
&gt; On 26/08/2009, at 8:20 AM, droidin.net wrote:
&gt; 
&gt;&gt;
&gt;&gt; When running "mvn deploy" I end up with error below (sorry for the  
&gt;&gt; long
&gt;&gt; stacktrace). Just to mention - I had the same 409 error when using  
&gt;&gt; wagon-svn
&gt;&gt; from http://is.gd/2yton. Any suggestions?
&gt;&gt;
&gt;&gt; I have Pom with the following settings for wagon-scm
&gt;&gt;
&gt;&gt;    &lt;build&gt;
&gt;&gt;        &lt;extensions&gt;
&gt;&gt;            &lt;extension&gt;
&gt;&gt;                &lt;groupId&gt;org.apache.maven.wagon&lt;/groupId&gt;
&gt;&gt;                &lt;artifactId&gt;wagon-scm&lt;/artifactId&gt;
&gt;&gt;                &lt;version&gt;1.0-beta-6&lt;/version&gt;
&gt;&gt;            &lt;/extension&gt;
&gt;&gt;            &lt;extension&gt;
&gt;&gt;                &lt;groupId&gt;org.apache.maven.scm&lt;/groupId&gt;
&gt;&gt;                &lt;artifactId&gt;maven-scm-manager-plexus&lt;/artifactId&gt;
&gt;&gt;                &lt;version&gt;1.3-SNAPSHOT&lt;/version&gt;
&gt;&gt;            &lt;/extension&gt;
&gt;&gt;            &lt;extension&gt;
&gt;&gt;                &lt;groupId&gt;org.apache.maven.scm&lt;/groupId&gt;
&gt;&gt;                &lt;artifactId&gt;maven-scm-provider-svnexe&lt;/artifactId&gt;
&gt;&gt;                &lt;version&gt;1.3-SNAPSHOT&lt;/version&gt;
&gt;&gt;            &lt;/extension&gt;
&gt;&gt;        &lt;/extensions&gt;
&gt;&gt;    &lt;/build&gt;
&gt;&gt;
&gt;&gt; My settings.xml for the server I'm trying to deploy to
&gt;&gt;
&gt;&gt;    &lt;server&gt;
&gt;&gt;      &lt;id&gt;engtools_snapshot&lt;/id&gt;
&gt;&gt;      &lt;username&gt;rs1860xx&lt;/username&gt;
&gt;&gt;      &lt;password&gt;mystrongpassword&lt;/password&gt;
&gt;&gt;      &lt;filePermissions&gt;664&lt;/filePermissions&gt;
&gt;&gt;      &lt;directoryPermissions&gt;775&lt;/directoryPermissions&gt;
&gt;&gt;    &lt;/server&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; And the error:
&gt;&gt;
&gt;&gt; [DEBUG] Failed to transfer file:
&gt;&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar

&gt;&gt; .
&gt;&gt; Return code is: 409
&gt;&gt; org.apache.maven.wagon.TransferFailedException: Failed to transfer  
&gt;&gt; file:
&gt;&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar

&gt;&gt; .
&gt;&gt; Return code is: 409
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .wagon 
&gt;&gt; .shared 
&gt;&gt; .http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:368)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .wagon 
&gt;&gt; .shared 
&gt;&gt; .http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:280)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .artifact 
&gt;&gt; .manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java: 
&gt;&gt; 262)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .artifact 
&gt;&gt; .manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:172)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .artifact 
&gt;&gt; .deployer 
&gt;&gt; .DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107)
&gt;&gt; 	at  
&gt;&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java: 
&gt;&gt; 483)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .lifecycle 
&gt;&gt; .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 
&gt;&gt; 678)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .lifecycle 
&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt; .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .lifecycle 
&gt;&gt; .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: 
&gt;&gt; 519)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .lifecycle 
&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt; .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .lifecycle 
&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt; .executeTaskSegments(DefaultLifecycleExecutor.java:332)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .lifecycle 
&gt;&gt; .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
&gt;&gt; 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
&gt;&gt; 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
&gt;&gt; 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
&gt;&gt; 	at  
&gt;&gt; org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java: 
&gt;&gt; 41)
&gt;&gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;&gt; 	at
&gt;&gt; sun 
&gt;&gt; .reflect 
&gt;&gt; .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;&gt; 	at
&gt;&gt; sun 
&gt;&gt; .reflect 
&gt;&gt; .DelegatingMethodAccessorImpl 
&gt;&gt; .invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt; 	at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt; 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java: 
&gt;&gt; 315)
&gt;&gt; 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt;&gt; 	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: 
&gt;&gt; 430)
&gt;&gt; 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
&gt;&gt; [INFO]
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt; [INFO]
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [INFO] Error deploying artifact: Failed to transfer file:
&gt;&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar

&gt;&gt; .
&gt;&gt; Return code is: 409
&gt;&gt;
&gt;&gt; [INFO]
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [DEBUG] Trace
&gt;&gt; org.apache.maven.lifecycle.LifecycleExecutionException: Error  
&gt;&gt; deploying
&gt;&gt; artifact: Failed to transfer file:
&gt;&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar

&gt;&gt; .
&gt;&gt; Return code is: 409
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .lifecycle 
&gt;&gt; .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 
&gt;&gt; 703)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .lifecycle 
&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt; .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .lifecycle 
&gt;&gt; .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: 
&gt;&gt; 519)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .lifecycle 
&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt; .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .lifecycle 
&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt; .executeTaskSegments(DefaultLifecycleExecutor.java:332)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .lifecycle 
&gt;&gt; .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
&gt;&gt; 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
&gt;&gt; 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
&gt;&gt; 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
&gt;&gt; 	at  
&gt;&gt; org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java: 
&gt;&gt; 41)
&gt;&gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;&gt; 	at
&gt;&gt; sun 
&gt;&gt; .reflect 
&gt;&gt; .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;&gt; 	at
&gt;&gt; sun 
&gt;&gt; .reflect 
&gt;&gt; .DelegatingMethodAccessorImpl 
&gt;&gt; .invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt; 	at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt; 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java: 
&gt;&gt; 315)
&gt;&gt; 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt;&gt; 	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: 
&gt;&gt; 430)
&gt;&gt; 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
&gt;&gt; Caused by: org.apache.maven.plugin.MojoExecutionException: Error  
&gt;&gt; deploying
&gt;&gt; artifact: Failed to transfer file:
&gt;&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar

&gt;&gt; .
&gt;&gt; Return code is: 409
&gt;&gt; 	at  
&gt;&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java: 
&gt;&gt; 483)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .lifecycle 
&gt;&gt; .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 
&gt;&gt; 678)
&gt;&gt; 	... 17 more
&gt;&gt; Caused by:  
&gt;&gt; org.apache.maven.artifact.deployer.ArtifactDeploymentException:
&gt;&gt; Error deploying artifact: Failed to transfer file:
&gt;&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar

&gt;&gt; .
&gt;&gt; Return code is: 409
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .artifact 
&gt;&gt; .deployer 
&gt;&gt; .DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:121)
&gt;&gt; 	at  
&gt;&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173)
&gt;&gt; 	... 19 more
&gt;&gt; Caused by: org.apache.maven.wagon.TransferFailedException: Failed to
&gt;&gt; transfer file:
&gt;&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar

&gt;&gt; .
&gt;&gt; Return code is: 409
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .wagon 
&gt;&gt; .shared 
&gt;&gt; .http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:368)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .wagon 
&gt;&gt; .shared 
&gt;&gt; .http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:280)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .artifact 
&gt;&gt; .manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java: 
&gt;&gt; 262)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .artifact 
&gt;&gt; .manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:172)
&gt;&gt; 	at
&gt;&gt; org 
&gt;&gt; .apache 
&gt;&gt; .maven 
&gt;&gt; .artifact 
&gt;&gt; .deployer 
&gt;&gt; .DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107)
&gt;&gt; 	... 20 more
&gt;&gt; -- 
&gt;&gt; View this message in context:
&gt;&gt; http://www.nabble.com/wagon-scm%3A-409-when-trying-to-deploy-tp25143236p25143236.html
&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;
&gt; 
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt; 
&gt; 
&gt; 

-- 
View this message in context: http://www.nabble.com/wagon-scm%3A-409-when-trying-to-deploy-tp25143236p25296238.html
Sent from the Wagon - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: wagon-scm: 409 when trying to deploy</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200909.mbox/%3cDB309BC0-177B-44DF-A783-CB3E8E434EBB@apache.org%3e"/>
<id>urn:uuid:%3cDB309BC0-177B-44DF-A783-CB3E8E434EBB@apache-org%3e</id>
<updated>2009-09-04T05:26:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
You are trying to deploy directly to the SVN repository which won't  
work unless it as auto_version turned on (and then you will get lots  
of revisions).

You probably need to change the URL to scm:svn:http:// instead of just  
http://

- Brett

On 26/08/2009, at 8:20 AM, droidin.net wrote:

&gt;
&gt; When running "mvn deploy" I end up with error below (sorry for the  
&gt; long
&gt; stacktrace). Just to mention - I had the same 409 error when using  
&gt; wagon-svn
&gt; from http://is.gd/2yton. Any suggestions?
&gt;
&gt; I have Pom with the following settings for wagon-scm
&gt;
&gt;    &lt;build&gt;
&gt;        &lt;extensions&gt;
&gt;            &lt;extension&gt;
&gt;                &lt;groupId&gt;org.apache.maven.wagon&lt;/groupId&gt;
&gt;                &lt;artifactId&gt;wagon-scm&lt;/artifactId&gt;
&gt;                &lt;version&gt;1.0-beta-6&lt;/version&gt;
&gt;            &lt;/extension&gt;
&gt;            &lt;extension&gt;
&gt;                &lt;groupId&gt;org.apache.maven.scm&lt;/groupId&gt;
&gt;                &lt;artifactId&gt;maven-scm-manager-plexus&lt;/artifactId&gt;
&gt;                &lt;version&gt;1.3-SNAPSHOT&lt;/version&gt;
&gt;            &lt;/extension&gt;
&gt;            &lt;extension&gt;
&gt;                &lt;groupId&gt;org.apache.maven.scm&lt;/groupId&gt;
&gt;                &lt;artifactId&gt;maven-scm-provider-svnexe&lt;/artifactId&gt;
&gt;                &lt;version&gt;1.3-SNAPSHOT&lt;/version&gt;
&gt;            &lt;/extension&gt;
&gt;        &lt;/extensions&gt;
&gt;    &lt;/build&gt;
&gt;
&gt; My settings.xml for the server I'm trying to deploy to
&gt;
&gt;    &lt;server&gt;
&gt;      &lt;id&gt;engtools_snapshot&lt;/id&gt;
&gt;      &lt;username&gt;rs1860xx&lt;/username&gt;
&gt;      &lt;password&gt;mystrongpassword&lt;/password&gt;
&gt;      &lt;filePermissions&gt;664&lt;/filePermissions&gt;
&gt;      &lt;directoryPermissions&gt;775&lt;/directoryPermissions&gt;
&gt;    &lt;/server&gt;
&gt;
&gt;
&gt; And the error:
&gt;
&gt; [DEBUG] Failed to transfer file:
&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar

&gt; .
&gt; Return code is: 409
&gt; org.apache.maven.wagon.TransferFailedException: Failed to transfer  
&gt; file:
&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar

&gt; .
&gt; Return code is: 409
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .wagon 
&gt; .shared 
&gt; .http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:368)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .wagon 
&gt; .shared 
&gt; .http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:280)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .artifact 
&gt; .manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java: 
&gt; 262)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .artifact 
&gt; .manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:172)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .artifact 
&gt; .deployer 
&gt; .DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107)
&gt; 	at  
&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java: 
&gt; 483)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .lifecycle 
&gt; .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 
&gt; 678)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .lifecycle 
&gt; .DefaultLifecycleExecutor 
&gt; .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .lifecycle 
&gt; .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: 
&gt; 519)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .lifecycle 
&gt; .DefaultLifecycleExecutor 
&gt; .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .lifecycle 
&gt; .DefaultLifecycleExecutor 
&gt; .executeTaskSegments(DefaultLifecycleExecutor.java:332)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .lifecycle 
&gt; .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
&gt; 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
&gt; 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
&gt; 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
&gt; 	at  
&gt; org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java: 
&gt; 41)
&gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt; 	at
&gt; sun 
&gt; .reflect 
&gt; .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt; 	at
&gt; sun 
&gt; .reflect 
&gt; .DelegatingMethodAccessorImpl 
&gt; .invoke(DelegatingMethodAccessorImpl.java:25)
&gt; 	at java.lang.reflect.Method.invoke(Method.java:597)
&gt; 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java: 
&gt; 315)
&gt; 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt; 	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: 
&gt; 430)
&gt; 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [ERROR] BUILD ERROR
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [INFO] Error deploying artifact: Failed to transfer file:
&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar

&gt; .
&gt; Return code is: 409
&gt;
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [DEBUG] Trace
&gt; org.apache.maven.lifecycle.LifecycleExecutionException: Error  
&gt; deploying
&gt; artifact: Failed to transfer file:
&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar

&gt; .
&gt; Return code is: 409
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .lifecycle 
&gt; .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 
&gt; 703)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .lifecycle 
&gt; .DefaultLifecycleExecutor 
&gt; .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .lifecycle 
&gt; .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: 
&gt; 519)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .lifecycle 
&gt; .DefaultLifecycleExecutor 
&gt; .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .lifecycle 
&gt; .DefaultLifecycleExecutor 
&gt; .executeTaskSegments(DefaultLifecycleExecutor.java:332)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .lifecycle 
&gt; .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
&gt; 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
&gt; 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
&gt; 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
&gt; 	at  
&gt; org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java: 
&gt; 41)
&gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt; 	at
&gt; sun 
&gt; .reflect 
&gt; .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt; 	at
&gt; sun 
&gt; .reflect 
&gt; .DelegatingMethodAccessorImpl 
&gt; .invoke(DelegatingMethodAccessorImpl.java:25)
&gt; 	at java.lang.reflect.Method.invoke(Method.java:597)
&gt; 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java: 
&gt; 315)
&gt; 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt; 	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: 
&gt; 430)
&gt; 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
&gt; Caused by: org.apache.maven.plugin.MojoExecutionException: Error  
&gt; deploying
&gt; artifact: Failed to transfer file:
&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar

&gt; .
&gt; Return code is: 409
&gt; 	at  
&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java: 
&gt; 483)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .lifecycle 
&gt; .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 
&gt; 678)
&gt; 	... 17 more
&gt; Caused by:  
&gt; org.apache.maven.artifact.deployer.ArtifactDeploymentException:
&gt; Error deploying artifact: Failed to transfer file:
&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar

&gt; .
&gt; Return code is: 409
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .artifact 
&gt; .deployer 
&gt; .DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:121)
&gt; 	at  
&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173)
&gt; 	... 19 more
&gt; Caused by: org.apache.maven.wagon.TransferFailedException: Failed to
&gt; transfer file:
&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar

&gt; .
&gt; Return code is: 409
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .wagon 
&gt; .shared 
&gt; .http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:368)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .wagon 
&gt; .shared 
&gt; .http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:280)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .artifact 
&gt; .manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java: 
&gt; 262)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .artifact 
&gt; .manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:172)
&gt; 	at
&gt; org 
&gt; .apache 
&gt; .maven 
&gt; .artifact 
&gt; .deployer 
&gt; .DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107)
&gt; 	... 20 more
&gt; -- 
&gt; View this message in context: http://www.nabble.com/wagon-scm%3A-409-when-trying-to-deploy-tp25143236p25143236.html
&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: wagon-scm: 409 when trying to deploy</title>
<author><name>&quot;droidin.net&quot; &lt;droid@droidin.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200908.mbox/%3c25177991.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c25177991-post@talk-nabble-com%3e</id>
<updated>2009-08-27T19:00:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Anybody, please? Any ideas?


droidin.net wrote:
&gt; 
&gt; When running "mvn deploy" I end up with error below (sorry for the long
&gt; stacktrace). Just to mention - I had the same 409 error when using
&gt; wagon-svn from http://is.gd/2yton. Any suggestions? 
&gt; 
&gt; I have Pom with the following settings for wagon-scm
&gt; 
&gt;     &lt;build&gt;
&gt;         &lt;extensions&gt;
&gt;             &lt;extension&gt;
&gt;                 &lt;groupId&gt;org.apache.maven.wagon&lt;/groupId&gt;
&gt;                 &lt;artifactId&gt;wagon-scm&lt;/artifactId&gt;
&gt;                 &lt;version&gt;1.0-beta-6&lt;/version&gt;
&gt;             &lt;/extension&gt;
&gt;             &lt;extension&gt;
&gt;                 &lt;groupId&gt;org.apache.maven.scm&lt;/groupId&gt;
&gt;                 &lt;artifactId&gt;maven-scm-manager-plexus&lt;/artifactId&gt;
&gt;                 &lt;version&gt;1.3-SNAPSHOT&lt;/version&gt;
&gt;             &lt;/extension&gt;
&gt;             &lt;extension&gt;
&gt;                 &lt;groupId&gt;org.apache.maven.scm&lt;/groupId&gt;
&gt;                 &lt;artifactId&gt;maven-scm-provider-svnexe&lt;/artifactId&gt;
&gt;                 &lt;version&gt;1.3-SNAPSHOT&lt;/version&gt;
&gt;             &lt;/extension&gt;
&gt;         &lt;/extensions&gt;
&gt;     &lt;/build&gt;
&gt; 
&gt; My settings.xml for the server I'm trying to deploy to
&gt; 
&gt;     &lt;server&gt;
&gt;       &lt;id&gt;engtools_snapshot&lt;/id&gt;
&gt;       &lt;username&gt;rs1860xx&lt;/username&gt;
&gt;       &lt;password&gt;mystrongpassword&lt;/password&gt;
&gt;       &lt;filePermissions&gt;664&lt;/filePermissions&gt;
&gt;       &lt;directoryPermissions&gt;775&lt;/directoryPermissions&gt;
&gt;     &lt;/server&gt;
&gt; 
&gt; 
&gt; And the error:
&gt; 
&gt; [DEBUG] Failed to transfer file:
&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar.
&gt; Return code is: 409
&gt; org.apache.maven.wagon.TransferFailedException: Failed to transfer file:
&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar.
&gt; Return code is: 409
&gt; 	at
&gt; org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:368)
&gt; 	at
&gt; org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:280)
&gt; 	at
&gt; org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:262)
&gt; 	at
&gt; org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:172)
&gt; 	at
&gt; org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107)
&gt; 	at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173)
&gt; 	at
&gt; org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
&gt; 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
&gt; 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
&gt; 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
&gt; 	at
&gt; org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
&gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt; 	at
&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt; 	at
&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt; 	at java.lang.reflect.Method.invoke(Method.java:597)
&gt; 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
&gt; 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt; 	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
&gt; 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [ERROR] BUILD ERROR
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [INFO] Error deploying artifact: Failed to transfer file:
&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar.
&gt; Return code is: 409
&gt; 
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [DEBUG] Trace
&gt; org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying
&gt; artifact: Failed to transfer file:
&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar.
&gt; Return code is: 409
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
&gt; 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
&gt; 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
&gt; 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
&gt; 	at
&gt; org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
&gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt; 	at
&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt; 	at
&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt; 	at java.lang.reflect.Method.invoke(Method.java:597)
&gt; 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
&gt; 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt; 	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
&gt; 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
&gt; Caused by: org.apache.maven.plugin.MojoExecutionException: Error deploying
&gt; artifact: Failed to transfer file:
&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar.
&gt; Return code is: 409
&gt; 	at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195)
&gt; 	at
&gt; org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
&gt; 	... 17 more
&gt; Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException:
&gt; Error deploying artifact: Failed to transfer file:
&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar.
&gt; Return code is: 409
&gt; 	at
&gt; org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:121)
&gt; 	at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173)
&gt; 	... 19 more
&gt; Caused by: org.apache.maven.wagon.TransferFailedException: Failed to
&gt; transfer file:
&gt; http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar.
&gt; Return code is: 409
&gt; 	at
&gt; org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:368)
&gt; 	at
&gt; org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:280)
&gt; 	at
&gt; org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:262)
&gt; 	at
&gt; org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:172)
&gt; 	at
&gt; org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107)
&gt; 	... 20 more
&gt; 

-- 
View this message in context: http://www.nabble.com/wagon-scm%3A-409-when-trying-to-deploy-tp25143236p25177991.html
Sent from the Wagon - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>wagon-scm: 409 when trying to deploy</title>
<author><name>&quot;droidin.net&quot; &lt;droid@droidin.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200908.mbox/%3c25143236.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c25143236-post@talk-nabble-com%3e</id>
<updated>2009-08-25T22:20:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

When running "mvn deploy" I end up with error below (sorry for the long
stacktrace). Just to mention - I had the same 409 error when using wagon-svn
from http://is.gd/2yton. Any suggestions? 

I have Pom with the following settings for wagon-scm

    &lt;build&gt;
        &lt;extensions&gt;
            &lt;extension&gt;
                &lt;groupId&gt;org.apache.maven.wagon&lt;/groupId&gt;
                &lt;artifactId&gt;wagon-scm&lt;/artifactId&gt;
                &lt;version&gt;1.0-beta-6&lt;/version&gt;
            &lt;/extension&gt;
            &lt;extension&gt;
                &lt;groupId&gt;org.apache.maven.scm&lt;/groupId&gt;
                &lt;artifactId&gt;maven-scm-manager-plexus&lt;/artifactId&gt;
                &lt;version&gt;1.3-SNAPSHOT&lt;/version&gt;
            &lt;/extension&gt;
            &lt;extension&gt;
                &lt;groupId&gt;org.apache.maven.scm&lt;/groupId&gt;
                &lt;artifactId&gt;maven-scm-provider-svnexe&lt;/artifactId&gt;
                &lt;version&gt;1.3-SNAPSHOT&lt;/version&gt;
            &lt;/extension&gt;
        &lt;/extensions&gt;
    &lt;/build&gt;

My settings.xml for the server I'm trying to deploy to

    &lt;server&gt;
      &lt;id&gt;engtools_snapshot&lt;/id&gt;
      &lt;username&gt;rs1860xx&lt;/username&gt;
      &lt;password&gt;mystrongpassword&lt;/password&gt;
      &lt;filePermissions&gt;664&lt;/filePermissions&gt;
      &lt;directoryPermissions&gt;775&lt;/directoryPermissions&gt;
    &lt;/server&gt;


And the error:

[DEBUG] Failed to transfer file:
http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar.
Return code is: 409
org.apache.maven.wagon.TransferFailedException: Failed to transfer file:
http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar.
Return code is: 409
	at
org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:368)
	at
org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:280)
	at
org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:262)
	at
org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:172)
	at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107)
	at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173)
	at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	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)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error deploying artifact: Failed to transfer file:
http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar.
Return code is: 409

[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying
artifact: Failed to transfer file:
http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar.
Return code is: 409
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	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: Failed to transfer file:
http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar.
Return code is: 409
	at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195)
	at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
	... 17 more
Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException:
Error deploying artifact: Failed to transfer file:
http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar.
Return code is: 409
	at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:121)
	at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173)
	... 19 more
Caused by: org.apache.maven.wagon.TransferFailedException: Failed to
transfer file:
http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar.
Return code is: 409
	at
org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:368)
	at
org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:280)
	at
org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:262)
	at
org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:172)
	at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107)
	... 20 more
-- 
View this message in context: http://www.nabble.com/wagon-scm%3A-409-when-trying-to-deploy-tp25143236p25143236.html
Sent from the Wagon - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Disable host key checking in wagon-ssh provider</title>
<author><name>Claudio Di Vita &lt;c.divita@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200906.mbox/%3c24206541.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c24206541-post@talk-nabble-com%3e</id>
<updated>2009-06-25T16:23:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

I need to disable host key checking for wagon-ssh provider....how I can
disable it ??

I notice that the provider get the value (ask, yes or no) from method
AbstractKnownHostsProvider# getHostKeyChecking(), but I cannot understand
how to set this property.

Thank you for the help,

Claudio


-----
.........not everything that counts can be counted
-- 
View this message in context: http://www.nabble.com/Disable-host-key-checking-in-wagon-ssh-provider-tp24206541p24206541.html
Sent from the Wagon - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: LigthweightHttpWagon resets system proxy properties</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200905.mbox/%3c305251EA-7683-426C-B8D6-2B70C56F762F@apache.org%3e"/>
<id>urn:uuid:%3c305251EA-7683-426C-B8D6-2B70C56F762F@apache-org%3e</id>
<updated>2009-05-16T01:48:37Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
They should be set on connection and unset on disconnection to try and  
minimise problems when reused.

At what point is it being used without being set?

On 15/05/2009, at 11:25 PM, &lt;henrik.sorensen@balcab.ch&gt; &lt;henrik.sorensen@balcab.ch

 &gt; wrote:

&gt; Hi There,
&gt;
&gt; Using Maven 2.1, I found that some fishy is going on in  
&gt; LightweightHttpWagon.java.
&gt;
&gt; I carefully traced the setting and resetting of the http.proxy  
&gt; system properties from within the method openConnection. To my  
&gt; surprise the system properties were set to empty, so a resulting  
&gt; request for data failed.
&gt;
&gt; Has somebody else expirienced similar effects ?
&gt;
&gt; thanks for your help
&gt; Henrik Sorensen
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;


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



</pre>
</div>
</content>
</entry>
<entry>
<title>LigthweightHttpWagon resets system proxy properties</title>
<author><name>&lt;henrik.sorensen@balcab.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200905.mbox/%3c21106882.1242393922579.JavaMail.root@viefep15%3e"/>
<id>urn:uuid:%3c21106882-1242393922579-JavaMail-root@viefep15%3e</id>
<updated>2009-05-15T13:25:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi There,

Using Maven 2.1, I found that some fishy is going on in LightweightHttpWagon.java.

I carefully traced the setting and resetting of the http.proxy system properties from within
the method openConnection. To my surprise the system properties were set to empty, so a resulting
request for data failed.

Has somebody else expirienced similar effects ?

thanks for your help
Henrik Sorensen


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Using Wagon SSH or SSH external with HOST BASED authenticaton?</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3c409807A3-B6B2-4D49-9560-62236CBD1C63@apache.org%3e"/>
<id>urn:uuid:%3c409807A3-B6B2-4D49-9560-62236CBD1C63@apache-org%3e</id>
<updated>2009-04-15T20:09:50Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
It should only be using an identity file based on a &lt;privateKey&gt; entry  
in one of your settings.xml files - you might check that also.

On 16/04/2009, at 12:06 AM, CharlieCollins wrote:

&gt;
&gt;
&gt; I don't have that identity file, no. My command line usage does not  
&gt; use that
&gt; identity file. I am using host based authentication.  My client has
&gt; ~/.ssh/config with correct HostBasedAuthentication entries, and the  
&gt; server
&gt; has HostBasedAuthentication yes, etc.
&gt;
&gt; If the scpexe command is passing switches to try to pass that file,  
&gt; that
&gt; would be the problem. The identity file is not there, and doesn't  
&gt; need to be
&gt; there, for host based authentication.
&gt;
&gt; I will download the source and attempt to get the plugin to reveal  
&gt; the exact
&gt; scpexe command it is using.  That will help me diagnose.
&gt;
&gt; Maven version is 2.1.0 (have tried with 2.0.9 and 2.1.0).
&gt;
&gt;
&gt; brettporter wrote:
&gt;&gt;
&gt;&gt; At the surface it seems a permission issue with id_rsa, does you're
&gt;&gt; command line usage point to the same identity file as you've
&gt;&gt; configured in the settings for that server?
&gt;&gt;
&gt;&gt; What version of Maven is this? Maven 2.1.0 should be better at  
&gt;&gt; logging
&gt;&gt; the command in debug mode, for example.
&gt;&gt;
&gt;&gt; - Brett
&gt;&gt;
&gt;&gt; On 15/04/2009, at 9:36 PM, CharlieCollins wrote:
&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Yes, scpexe also had problems.  From my original note:
&gt;&gt;&gt;
&gt;&gt;&gt; "SCPEXE failure:
&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
&gt;&gt;&gt; [DEBUG]   (f) artifact = com.axiomainc:axioma-model:jar:0.5-SNAPSHOT
&gt;&gt;&gt; [DEBUG]   (f) attachedArtifacts = []
&gt;&gt;&gt; [DEBUG]   (f) deploymentRepository = [axioma-maven2snap] -&gt;
&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap
&gt;&gt;&gt; [DEBUG]   (s) localRepository = [local] -&gt;
&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt; [DEBUG]   (f) packaging = jar
&gt;&gt;&gt; [DEBUG]   (f) pomFile =
&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/trunk/
&gt;&gt;&gt; pom.xml
&gt;&gt;&gt; [DEBUG]   (f) updateReleaseInfo = false
&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt;&gt; Uploading:
&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap/com/axiomainc/axioma-model/
&gt;&gt;&gt; 0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar
&gt;&gt;&gt; [INFO]
&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt;&gt; [INFO]
&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt; [INFO] Error deploying artifact: Exit code: 1 - Warning: Identity  
&gt;&gt;&gt; file
&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt;&gt; scp:
&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/
&gt;&gt;&gt; axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt; Permission denied "
&gt;&gt;&gt;
&gt;&gt;&gt; If I could tell what command exactly it was trying to perform I
&gt;&gt;&gt; might be
&gt;&gt;&gt; able to troubleshoot it further, but I haven't yet gotten to the
&gt;&gt;&gt; point of
&gt;&gt;&gt; downloading the code and poking around myself.
&gt;&gt;&gt; Scp and SSH from the command line, outside of Maven (as the same
&gt;&gt;&gt; user), work
&gt;&gt;&gt; fine.
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; brettporter wrote:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; however ssh-external should support anything the command line does,
&gt;&gt;&gt;&gt; so
&gt;&gt;&gt;&gt; switching scp:// to scpexe:// should work. Based on your subject it
&gt;&gt;&gt;&gt; seems like you might have tried that - did it have problems?
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; On 15/04/2009, at 4:41 AM, CharlieCollins wrote:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Thanks for the info, will do.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Dan Tran wrote:
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; ah, wagon-ssh does not support your host base authentication.
&gt;&gt;&gt;&gt;&gt;&gt; File a
&gt;&gt;&gt;&gt;&gt;&gt; JIRA and may be come up with a patch.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; -D
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; On Tue, Apr 14, 2009 at 10:55 AM, CharlieCollins
&gt;&gt;&gt;&gt;&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I don't think that's correct at all. I AM the "cruise" user 

&gt;&gt;&gt;&gt;&gt;&gt;&gt; (yes,
&gt;&gt;&gt;&gt;&gt;&gt;&gt; when
&gt;&gt;&gt;&gt;&gt;&gt;&gt; running Maven I am also running as the cruise user). Also, as
&gt;&gt;&gt;&gt;&gt;&gt;&gt; stated,
&gt;&gt;&gt;&gt;&gt;&gt;&gt; there
&gt;&gt;&gt;&gt;&gt;&gt;&gt; is a /home/cruise/.ssh directory.  It doesn't contain an  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; "id_rsa"
&gt;&gt;&gt;&gt;&gt;&gt;&gt; file,
&gt;&gt;&gt;&gt;&gt;&gt;&gt; no,
&gt;&gt;&gt;&gt;&gt;&gt;&gt; but it doesn't need to for host based auth. I can run "ssh  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; helios"
&gt;&gt;&gt;&gt;&gt;&gt;&gt; (helios
&gt;&gt;&gt;&gt;&gt;&gt;&gt; being the remote machine I need to get into) OUTSIDE OF MAVEN
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; just
&gt;&gt;&gt;&gt;&gt;&gt;&gt; fine
&gt;&gt;&gt;&gt;&gt;&gt;&gt; as
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the cruise user (as also previously stated).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Once again, is host based authentication SUPPOSED to work,
&gt;&gt;&gt;&gt;&gt;&gt;&gt; regardless of
&gt;&gt;&gt;&gt;&gt;&gt;&gt; my
&gt;&gt;&gt;&gt;&gt;&gt;&gt; setup?
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Maybe I need to set some configuration options, but the lack
of
&gt;&gt;&gt;&gt;&gt;&gt;&gt; documentation for what those might be hinders that a bit (at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; least I
&gt;&gt;&gt;&gt;&gt;&gt;&gt; can't
&gt;&gt;&gt;&gt;&gt;&gt;&gt; find docs - pointers appreciated).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Dan Tran wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp thinks you are 'cruise' user which you dont have access
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; it's
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; home/.ssh directory
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; -D
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Tue, Apr 14, 2009 at 9:43 AM, CharlieCollins
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I have tried with 2.0.9 and 2.1.0, neither seems to work.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I can't find any examples or docs about host based auth
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; either.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Is host
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; based auth supposed to work/supported?
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Dan Tran wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; maven-2.1.0 has the latest wagon, see if it works
for you.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; -D
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Wed, Apr 1, 2009 at 8:16 AM, Charlie Collins
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I am not able to transfer files over SCP from
a user/machine
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; setup
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; that is using host based authentication (note
I am not  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; talking
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; about
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; the host authentication can't be verified yes/no
known_hosts
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; issue,
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; that's different - I am using host based authentication
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; itself, not
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; password, not certificate).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Is host based auth supposed to work?  Looks like
Jsch  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; supports
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; it
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; from
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; the examples, but do any of the Wagon providers
support it?
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; From the client machine where Maven is running,
to the  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; server
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; where I
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; want to transfer files, using the same user account
Maven is
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; running
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; as, works fine (outside of Maven):
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise@reddog:/home/ccollins$ whoami
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise@reddog:/home/ccollins$ ssh helios
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Last login: Wed Apr  1 10:10:02 2009 from  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; reddog.axiomainc.com
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise@helios:~$
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Inside of Maven, using the Deploy Plugin (which
depends on
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Wagon), I
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; get failures using either "scp" or "scpexe" in
my
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; distributionManagement section (which as I understand
it
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; switches
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; between ssh and ssh external Wagon providers).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; POM has distributionManagement set, I have tried
with an
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; without
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; settings.xml server sections (beyond user/pass
most of the
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; "configuration" elements for the providers appear
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; undocumented, or at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; least I couldn't find it, so I am not sure if
there is a
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; config that
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; might help).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; POM snippet (changed back and forth from scp
to scpexe for
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; various
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; attempts):
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;distributionManagement&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      &lt;repository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;          &lt;uniqueVersion&gt;false&lt;/uniqueVersion&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;          &lt;id&gt;axioma-maven2&lt;/id&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;          &lt;name&gt;Axioma Maven 2 Repository&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;          &lt;url&gt;scp://helios/intranet/maven2/repo&lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      &lt;/repository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      &lt;snapshotRepository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;          &lt;uniqueVersion&gt;true&lt;/uniqueVersion&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;          &lt;id&gt;axioma-maven2snap&lt;/id&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;          &lt;name&gt;Axioma Maven 2 Snapshot
Repository&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;          &lt;url&gt;scp://helios/intranet/maven2/reposnap&lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      &lt;/snapshotRepository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;  &lt;/distributionManagement&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SCP failure:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy'
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; --&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) artifact = com.axiomainc:axioma-model:jar:0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) attachedArtifacts = []
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) deploymentRepository = [axioma-maven2snap]
-&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp://helios/intranet/maven2/reposnap
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (s) localRepository = [local] -&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) packaging = jar
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) pomFile =
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; trunk/pom.xml
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) updateReleaseInfo = false
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Retrieving previous build number from
axioma- 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; maven2snap
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; The authenticity of host 'helios' can't be established.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; RSA key fingerprint is
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 60:af:21:b2:c7:47:b2:92:60:56:2b:27:45:a3:e8:1d.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Are you sure you want to continue connecting?
(yes/no): yes
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (And NOTE, the user account DOES have ~/.ssh/known_hosts,
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; but it
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; shouldn't even be trying to use that, ~/.ssh/config
also
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; exists and
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; lays out the host based authentication which
works perfectly
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; with no
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; prompts outside of maven.)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SCPEXE failure:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy'
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; --&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) artifact = com.axiomainc:axioma-model:jar:0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) attachedArtifacts = []
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) deploymentRepository = [axioma-maven2snap]
-&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (s) localRepository = [local] -&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) packaging = jar
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) pomFile =
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; trunk/pom.xml
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) updateReleaseInfo = false
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Retrieving previous build number from
axioma- 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; maven2snap
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Uploading:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap/com/axiomainc/

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; axioma-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Error deploying artifact: Exit code: 1
- Warning:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Identity
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; file
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such
file or
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Trace
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.LifecycleExecutionException:
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Error
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity
file
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such
file or
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoals(DefaultLifecycleExecutor.java:583)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoal(DefaultLifecycleExecutor.java:478)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 330)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeTaskSegments(DefaultLifecycleExecutor.java:291)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .execute(DefaultLifecycleExecutor.java:142)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 336)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at org.apache.maven.cli.MavenCli.main(MavenCli.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 287)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Method)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; sun
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .reflect
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .NativeMethodAccessorImpl
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .invoke(NativeMethodAccessorImpl.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 39)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; sun
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .reflect
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DelegatingMethodAccessorImpl
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 315)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .codehaus 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .classworlds.Launcher.mainWithExitCode(Launcher.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 430)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.codehaus.classworlds.Launcher.main(Launcher.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 375)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Caused by: org.apache.maven.plugin.MojoExecutionException:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Error
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity
file
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such
file or
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 174)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .plugin
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultPluginManager.executeMojo(DefaultPluginManager.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 451)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoals(DefaultLifecycleExecutor.java:558)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      ... 16 more
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Caused by:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache.maven.artifact.deployer.ArtifactDeploymentException:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Error deploying artifact: Exit code: 1 - Warning:
Identity
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; file
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such
file or
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .deployer
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultArtifactDeployer 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .deploy(DefaultArtifactDeployer.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 94)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 162)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      ... 18 more
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Caused by: org.apache.maven.wagon.TransferFailedException:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Exit code:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 1 - Warning: Identity file /home/cruise/.ssh/id_rsa
not
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; accessible:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; No
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; such file or directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .wagon
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .providers
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .ssh
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .external
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .ScpExternalWagon.executeScpCommand(ScpExternalWagon.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 236)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .wagon
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .providers
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .ssh.external.ScpExternalWagon.put(ScpExternalWagon.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 295)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .manager
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 244)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .manager
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultWagonManager.putArtifact(DefaultWagonManager.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 160)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .deployer
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultArtifactDeployer 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .deploy(DefaultArtifactDeployer.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 80)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;      ... 19 more
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Total time: 26 seconds
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Finished at: Wed Apr 01 10:47:28 EDT 2009
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Final Memory: 22M/81M
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Any ideas, help, etc.  I have fought with this
for half a  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; day
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; now and
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; can't come up with anything.  I can get other
means of  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; auth to
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; work
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (after jumping through some hoops and getting
much deeper  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; into
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; this
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; than I ever wanted to be), password, cert, but
they aren't
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; supported
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; where I work so those won't be allowed.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23043194.html
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sent from the Wagon - Users mailing list archive at 

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Nabble.com.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users- 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt;&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23044542.html
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users- 
&gt;&gt;&gt;&gt;&gt;&gt; help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; -- 
&gt;&gt;&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt;&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23045511.html
&gt;&gt;&gt;&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; -- 
&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23057239.html
&gt;&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;
&gt; -- 
&gt; View this message in context: http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23059685.html
&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Using Wagon SSH or SSH external with HOST BASED authenticaton?</title>
<author><name>CharlieCollins &lt;charlie.collins@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3c23059685.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c23059685-post@talk-nabble-com%3e</id>
<updated>2009-04-15T14:06:24Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>


I don't have that identity file, no. My command line usage does not use that
identity file. I am using host based authentication.  My client has
~/.ssh/config with correct HostBasedAuthentication entries, and the server
has HostBasedAuthentication yes, etc. 

If the scpexe command is passing switches to try to pass that file, that
would be the problem. The identity file is not there, and doesn't need to be
there, for host based authentication. 

I will download the source and attempt to get the plugin to reveal the exact
scpexe command it is using.  That will help me diagnose. 

Maven version is 2.1.0 (have tried with 2.0.9 and 2.1.0).   


brettporter wrote:
&gt; 
&gt; At the surface it seems a permission issue with id_rsa, does you're  
&gt; command line usage point to the same identity file as you've  
&gt; configured in the settings for that server?
&gt; 
&gt; What version of Maven is this? Maven 2.1.0 should be better at logging  
&gt; the command in debug mode, for example.
&gt; 
&gt; - Brett
&gt; 
&gt; On 15/04/2009, at 9:36 PM, CharlieCollins wrote:
&gt; 
&gt;&gt;
&gt;&gt; Yes, scpexe also had problems.  From my original note:
&gt;&gt;
&gt;&gt; "SCPEXE failure:
&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
&gt;&gt; [DEBUG]   (f) artifact = com.axiomainc:axioma-model:jar:0.5-SNAPSHOT
&gt;&gt; [DEBUG]   (f) attachedArtifacts = []
&gt;&gt; [DEBUG]   (f) deploymentRepository = [axioma-maven2snap] -&gt;
&gt;&gt; scpexe://helios/intranet/maven2/reposnap
&gt;&gt; [DEBUG]   (s) localRepository = [local] -&gt;
&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt; [DEBUG]   (f) packaging = jar
&gt;&gt; [DEBUG]   (f) pomFile =
&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/trunk/ 
&gt;&gt; pom.xml
&gt;&gt; [DEBUG]   (f) updateReleaseInfo = false
&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt; altDeploymentRepository = null
&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt; Uploading:
&gt;&gt; scpexe://helios/intranet/maven2/reposnap/com/axiomainc/axioma-model/ 
&gt;&gt; 0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar
&gt;&gt; [INFO]
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt; [INFO]
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [INFO] Error deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt; scp:
&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/ 
&gt;&gt; axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt; Permission denied "
&gt;&gt;
&gt;&gt; If I could tell what command exactly it was trying to perform I  
&gt;&gt; might be
&gt;&gt; able to troubleshoot it further, but I haven't yet gotten to the  
&gt;&gt; point of
&gt;&gt; downloading the code and poking around myself.
&gt;&gt; Scp and SSH from the command line, outside of Maven (as the same  
&gt;&gt; user), work
&gt;&gt; fine.
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; brettporter wrote:
&gt;&gt;&gt;
&gt;&gt;&gt; however ssh-external should support anything the command line does,  
&gt;&gt;&gt; so
&gt;&gt;&gt; switching scp:// to scpexe:// should work. Based on your subject it
&gt;&gt;&gt; seems like you might have tried that - did it have problems?
&gt;&gt;&gt;
&gt;&gt;&gt; On 15/04/2009, at 4:41 AM, CharlieCollins wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Thanks for the info, will do.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Dan Tran wrote:
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; ah, wagon-ssh does not support your host base authentication.   
&gt;&gt;&gt;&gt;&gt; File a
&gt;&gt;&gt;&gt;&gt; JIRA and may be come up with a patch.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; -D
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; On Tue, Apr 14, 2009 at 10:55 AM, CharlieCollins
&gt;&gt;&gt;&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; I don't think that's correct at all. I AM the "cruise" user (yes,
&gt;&gt;&gt;&gt;&gt;&gt; when
&gt;&gt;&gt;&gt;&gt;&gt; running Maven I am also running as the cruise user). Also, as
&gt;&gt;&gt;&gt;&gt;&gt; stated,
&gt;&gt;&gt;&gt;&gt;&gt; there
&gt;&gt;&gt;&gt;&gt;&gt; is a /home/cruise/.ssh directory.  It doesn't contain an "id_rsa"
&gt;&gt;&gt;&gt;&gt;&gt; file,
&gt;&gt;&gt;&gt;&gt;&gt; no,
&gt;&gt;&gt;&gt;&gt;&gt; but it doesn't need to for host based auth. I can run "ssh helios"
&gt;&gt;&gt;&gt;&gt;&gt; (helios
&gt;&gt;&gt;&gt;&gt;&gt; being the remote machine I need to get into) OUTSIDE OF MAVEN just
&gt;&gt;&gt;&gt;&gt;&gt; fine
&gt;&gt;&gt;&gt;&gt;&gt; as
&gt;&gt;&gt;&gt;&gt;&gt; the cruise user (as also previously stated).
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Once again, is host based authentication SUPPOSED to work,
&gt;&gt;&gt;&gt;&gt;&gt; regardless of
&gt;&gt;&gt;&gt;&gt;&gt; my
&gt;&gt;&gt;&gt;&gt;&gt; setup?
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Maybe I need to set some configuration options, but the lack of
&gt;&gt;&gt;&gt;&gt;&gt; documentation for what those might be hinders that a bit (at  
&gt;&gt;&gt;&gt;&gt;&gt; least I
&gt;&gt;&gt;&gt;&gt;&gt; can't
&gt;&gt;&gt;&gt;&gt;&gt; find docs - pointers appreciated).
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Dan Tran wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp thinks you are 'cruise' user which you dont have access it's
&gt;&gt;&gt;&gt;&gt;&gt;&gt; home/.ssh directory
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; -D
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Tue, Apr 14, 2009 at 9:43 AM, CharlieCollins
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I have tried with 2.0.9 and 2.1.0, neither seems to work.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I can't find any examples or docs about host based auth either.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Is host
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; based auth supposed to work/supported?
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Dan Tran wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; maven-2.1.0 has the latest wagon, see if it works for
you.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; -D
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Wed, Apr 1, 2009 at 8:16 AM, Charlie Collins
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I am not able to transfer files over SCP from a user/machine
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; setup
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; that is using host based authentication (note I am
not talking
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; about
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; the host authentication can't be verified yes/no
known_hosts
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; issue,
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; that's different - I am using host based authentication
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; itself, not
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; password, not certificate).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Is host based auth supposed to work?  Looks like
Jsch supports
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; it
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; from
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; the examples, but do any of the Wagon providers support
it?
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; From the client machine where Maven is running, to
the server
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; where I
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; want to transfer files, using the same user account
Maven is
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; running
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; as, works fine (outside of Maven):
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise@reddog:/home/ccollins$ whoami
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise@reddog:/home/ccollins$ ssh helios
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Last login: Wed Apr  1 10:10:02 2009 from reddog.axiomainc.com
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise@helios:~$
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Inside of Maven, using the Deploy Plugin (which depends
on
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Wagon), I
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; get failures using either "scp" or "scpexe" in my
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; distributionManagement section (which as I understand
it
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; switches
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; between ssh and ssh external Wagon providers).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; POM has distributionManagement set, I have tried
with an  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; without
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; settings.xml server sections (beyond user/pass most
of the
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; "configuration" elements for the providers appear
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; undocumented, or at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; least I couldn't find it, so I am not sure if there
is a
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; config that
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; might help).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; POM snippet (changed back and forth from scp to scpexe
for
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; various
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; attempts):
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;distributionManagement&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       &lt;repository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;uniqueVersion&gt;false&lt;/uniqueVersion&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;id&gt;axioma-maven2&lt;/id&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;name&gt;Axioma Maven 2 Repository&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;url&gt;scp://helios/intranet/maven2/repo&lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       &lt;/repository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       &lt;snapshotRepository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;uniqueVersion&gt;true&lt;/uniqueVersion&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;id&gt;axioma-maven2snap&lt;/id&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;name&gt;Axioma Maven 2 Snapshot Repository&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;url&gt;scp://helios/intranet/maven2/reposnap&lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       &lt;/snapshotRepository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   &lt;/distributionManagement&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SCP failure:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy'
--&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) artifact = com.axiomainc:axioma-model:jar:0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) attachedArtifacts = []
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) deploymentRepository = [axioma-maven2snap]
-&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp://helios/intranet/maven2/reposnap
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (s) localRepository = [local] -&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) packaging = jar
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) pomFile =
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; trunk/pom.xml
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) updateReleaseInfo = false
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; The authenticity of host 'helios' can't be established.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; RSA key fingerprint is
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 60:af:21:b2:c7:47:b2:92:60:56:2b:27:45:a3:e8:1d.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Are you sure you want to continue connecting? (yes/no):
yes
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (And NOTE, the user account DOES have ~/.ssh/known_hosts,
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; but it
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; shouldn't even be trying to use that, ~/.ssh/config
also
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; exists and
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; lays out the host based authentication which works
perfectly
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; with no
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; prompts outside of maven.)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SCPEXE failure:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy'
--&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) artifact = com.axiomainc:axioma-model:jar:0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) attachedArtifacts = []
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) deploymentRepository = [axioma-maven2snap]
-&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (s) localRepository = [local] -&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) packaging = jar
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) pomFile =
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; trunk/pom.xml
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) updateReleaseInfo = false
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Uploading:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap/com/axiomainc/axioma-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Error deploying artifact: Exit code: 1 - Warning:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Identity
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; file
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such
file or
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Trace
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.LifecycleExecutionException:
Error
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity
file
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such
file or
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoals(DefaultLifecycleExecutor.java:583)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoal(DefaultLifecycleExecutor.java:478)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 330)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeTaskSegments(DefaultLifecycleExecutor.java:291)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .execute(DefaultLifecycleExecutor.java:142)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Method)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; sun
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .reflect
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .NativeMethodAccessorImpl 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .invoke(NativeMethodAccessorImpl.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 39)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; sun
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .reflect
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DelegatingMethodAccessorImpl
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 315)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 430)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at org.codehaus.classworlds.Launcher.main(Launcher.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 375)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Caused by: org.apache.maven.plugin.MojoExecutionException:
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Error
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity
file
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such
file or
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 174)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .plugin
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultPluginManager.executeMojo(DefaultPluginManager.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 451)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoals(DefaultLifecycleExecutor.java:558)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       ... 16 more
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Caused by:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache.maven.artifact.deployer.ArtifactDeploymentException:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Error deploying artifact: Exit code: 1 - Warning:
Identity  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; file
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such
file or
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .deployer
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 94)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 162)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       ... 18 more
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Caused by: org.apache.maven.wagon.TransferFailedException:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Exit code:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 1 - Warning: Identity file /home/cruise/.ssh/id_rsa
not
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; accessible:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; No
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; such file or directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .wagon
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .providers
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .ssh
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .external
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .ScpExternalWagon.executeScpCommand(ScpExternalWagon.java:236)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .wagon
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .providers
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .ssh.external.ScpExternalWagon.put(ScpExternalWagon.java:295)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .manager
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 244)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .manager
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultWagonManager.putArtifact(DefaultWagonManager.java:160)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .deployer
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 80)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       ... 19 more
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Total time: 26 seconds
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Finished at: Wed Apr 01 10:47:28 EDT 2009
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Final Memory: 22M/81M
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Any ideas, help, etc.  I have fought with this for
half a day
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; now and
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; can't come up with anything.  I can get other means
of auth to
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; work
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (after jumping through some hoops and getting much
deeper into
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; this
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; than I ever wanted to be), password, cert, but they
aren't
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; supported
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; where I work so those won't be allowed.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users- 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23043194.html
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users- 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt;&gt;&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23044542.html
&gt;&gt;&gt;&gt;&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; -- 
&gt;&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23045511.html
&gt;&gt;&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; -- 
&gt;&gt; View this message in context:
&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23057239.html
&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;
&gt; 
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt; 
&gt; 
&gt; 

-- 
View this message in context: http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23059685.html
Sent from the Wagon - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Using Wagon SSH or SSH external with HOST BASED authenticaton?</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3c7A7C9112-FA32-4DC6-867F-9C61A639FF7D@apache.org%3e"/>
<id>urn:uuid:%3c7A7C9112-FA32-4DC6-867F-9C61A639FF7D@apache-org%3e</id>
<updated>2009-04-15T11:57:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
At the surface it seems a permission issue with id_rsa, does you're  
command line usage point to the same identity file as you've  
configured in the settings for that server?

What version of Maven is this? Maven 2.1.0 should be better at logging  
the command in debug mode, for example.

- Brett

On 15/04/2009, at 9:36 PM, CharlieCollins wrote:

&gt;
&gt; Yes, scpexe also had problems.  From my original note:
&gt;
&gt; "SCPEXE failure:
&gt; [DEBUG] Configuring mojo
&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
&gt; [DEBUG]   (f) artifact = com.axiomainc:axioma-model:jar:0.5-SNAPSHOT
&gt; [DEBUG]   (f) attachedArtifacts = []
&gt; [DEBUG]   (f) deploymentRepository = [axioma-maven2snap] -&gt;
&gt; scpexe://helios/intranet/maven2/reposnap
&gt; [DEBUG]   (s) localRepository = [local] -&gt;
&gt; file:///home/cruise/.m2/repository
&gt; [DEBUG]   (f) packaging = jar
&gt; [DEBUG]   (f) pomFile =
&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/trunk/ 
&gt; pom.xml
&gt; [DEBUG]   (f) updateReleaseInfo = false
&gt; [DEBUG] -- end configuration --
&gt; [INFO] [deploy:deploy]
&gt; altDeploymentRepository = null
&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt; Uploading:
&gt; scpexe://helios/intranet/maven2/reposnap/com/axiomainc/axioma-model/ 
&gt; 0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [ERROR] BUILD ERROR
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [INFO] Error deploying artifact: Exit code: 1 - Warning: Identity file
&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt; scp:
&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/ 
&gt; axioma-model-0.5-20090401.144722-2.jar:
&gt; Permission denied "
&gt;
&gt; If I could tell what command exactly it was trying to perform I  
&gt; might be
&gt; able to troubleshoot it further, but I haven't yet gotten to the  
&gt; point of
&gt; downloading the code and poking around myself.
&gt; Scp and SSH from the command line, outside of Maven (as the same  
&gt; user), work
&gt; fine.
&gt;
&gt;
&gt;
&gt; brettporter wrote:
&gt;&gt;
&gt;&gt; however ssh-external should support anything the command line does,  
&gt;&gt; so
&gt;&gt; switching scp:// to scpexe:// should work. Based on your subject it
&gt;&gt; seems like you might have tried that - did it have problems?
&gt;&gt;
&gt;&gt; On 15/04/2009, at 4:41 AM, CharlieCollins wrote:
&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Thanks for the info, will do.
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Dan Tran wrote:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; ah, wagon-ssh does not support your host base authentication.   
&gt;&gt;&gt;&gt; File a
&gt;&gt;&gt;&gt; JIRA and may be come up with a patch.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; -D
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; On Tue, Apr 14, 2009 at 10:55 AM, CharlieCollins
&gt;&gt;&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; I don't think that's correct at all. I AM the "cruise" user (yes,
&gt;&gt;&gt;&gt;&gt; when
&gt;&gt;&gt;&gt;&gt; running Maven I am also running as the cruise user). Also, as
&gt;&gt;&gt;&gt;&gt; stated,
&gt;&gt;&gt;&gt;&gt; there
&gt;&gt;&gt;&gt;&gt; is a /home/cruise/.ssh directory.  It doesn't contain an "id_rsa"
&gt;&gt;&gt;&gt;&gt; file,
&gt;&gt;&gt;&gt;&gt; no,
&gt;&gt;&gt;&gt;&gt; but it doesn't need to for host based auth. I can run "ssh helios"
&gt;&gt;&gt;&gt;&gt; (helios
&gt;&gt;&gt;&gt;&gt; being the remote machine I need to get into) OUTSIDE OF MAVEN just
&gt;&gt;&gt;&gt;&gt; fine
&gt;&gt;&gt;&gt;&gt; as
&gt;&gt;&gt;&gt;&gt; the cruise user (as also previously stated).
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Once again, is host based authentication SUPPOSED to work,
&gt;&gt;&gt;&gt;&gt; regardless of
&gt;&gt;&gt;&gt;&gt; my
&gt;&gt;&gt;&gt;&gt; setup?
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Maybe I need to set some configuration options, but the lack of
&gt;&gt;&gt;&gt;&gt; documentation for what those might be hinders that a bit (at  
&gt;&gt;&gt;&gt;&gt; least I
&gt;&gt;&gt;&gt;&gt; can't
&gt;&gt;&gt;&gt;&gt; find docs - pointers appreciated).
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Dan Tran wrote:
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; scp thinks you are 'cruise' user which you dont have access it's
&gt;&gt;&gt;&gt;&gt;&gt; home/.ssh directory
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; -D
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; On Tue, Apr 14, 2009 at 9:43 AM, CharlieCollins
&gt;&gt;&gt;&gt;&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I have tried with 2.0.9 and 2.1.0, neither seems to work.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I can't find any examples or docs about host based auth either.
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Is host
&gt;&gt;&gt;&gt;&gt;&gt;&gt; based auth supposed to work/supported?
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Dan Tran wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; maven-2.1.0 has the latest wagon, see if it works for you.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; -D
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Wed, Apr 1, 2009 at 8:16 AM, Charlie Collins
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I am not able to transfer files over SCP from a user/machine
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; setup
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; that is using host based authentication (note I am not
talking
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; about
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; the host authentication can't be verified yes/no known_hosts
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; issue,
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; that's different - I am using host based authentication
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; itself, not
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; password, not certificate).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Is host based auth supposed to work?  Looks like Jsch
supports
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; it
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; from
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; the examples, but do any of the Wagon providers support
it?
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; From the client machine where Maven is running, to the
server
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; where I
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; want to transfer files, using the same user account Maven
is
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; running
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; as, works fine (outside of Maven):
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise@reddog:/home/ccollins$ whoami
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise@reddog:/home/ccollins$ ssh helios
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Last login: Wed Apr  1 10:10:02 2009 from reddog.axiomainc.com
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise@helios:~$
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Inside of Maven, using the Deploy Plugin (which depends
on
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Wagon), I
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; get failures using either "scp" or "scpexe" in my
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; distributionManagement section (which as I understand
it
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; switches
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; between ssh and ssh external Wagon providers).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; POM has distributionManagement set, I have tried with
an  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; without
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; settings.xml server sections (beyond user/pass most of
the
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; "configuration" elements for the providers appear
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; undocumented, or at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; least I couldn't find it, so I am not sure if there is
a
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; config that
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; might help).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; POM snippet (changed back and forth from scp to scpexe
for
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; various
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; attempts):
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;distributionManagement&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       &lt;repository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;uniqueVersion&gt;false&lt;/uniqueVersion&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;id&gt;axioma-maven2&lt;/id&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;name&gt;Axioma Maven 2 Repository&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;url&gt;scp://helios/intranet/maven2/repo&lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       &lt;/repository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       &lt;snapshotRepository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;uniqueVersion&gt;true&lt;/uniqueVersion&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;id&gt;axioma-maven2snap&lt;/id&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;name&gt;Axioma Maven 2 Snapshot Repository&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;url&gt;scp://helios/intranet/maven2/reposnap&lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       &lt;/snapshotRepository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   &lt;/distributionManagement&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SCP failure:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy'
--&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) artifact = com.axiomainc:axioma-model:jar:0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) attachedArtifacts = []
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) deploymentRepository = [axioma-maven2snap]
-&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp://helios/intranet/maven2/reposnap
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (s) localRepository = [local] -&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) packaging = jar
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) pomFile =
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; trunk/pom.xml
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) updateReleaseInfo = false
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; The authenticity of host 'helios' can't be established.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; RSA key fingerprint is
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 60:af:21:b2:c7:47:b2:92:60:56:2b:27:45:a3:e8:1d.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Are you sure you want to continue connecting? (yes/no):
yes
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (And NOTE, the user account DOES have ~/.ssh/known_hosts,
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; but it
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; shouldn't even be trying to use that, ~/.ssh/config also
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; exists and
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; lays out the host based authentication which works perfectly
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; with no
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; prompts outside of maven.)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SCPEXE failure:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy'
--&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) artifact = com.axiomainc:axioma-model:jar:0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) attachedArtifacts = []
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) deploymentRepository = [axioma-maven2snap]
-&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (s) localRepository = [local] -&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) packaging = jar
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) pomFile =
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; trunk/pom.xml
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) updateReleaseInfo = false
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Uploading:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap/com/axiomainc/axioma-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Error deploying artifact: Exit code: 1 - Warning:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Identity
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; file
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file
or
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Trace
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.LifecycleExecutionException:
Error
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity
file
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file
or
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoals(DefaultLifecycleExecutor.java:583)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoal(DefaultLifecycleExecutor.java:478)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 330)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeTaskSegments(DefaultLifecycleExecutor.java:291)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .execute(DefaultLifecycleExecutor.java:142)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Method)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; sun
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .reflect
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .NativeMethodAccessorImpl 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .invoke(NativeMethodAccessorImpl.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 39)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; sun
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .reflect
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DelegatingMethodAccessorImpl
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 315)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 430)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at org.codehaus.classworlds.Launcher.main(Launcher.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 375)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Caused by: org.apache.maven.plugin.MojoExecutionException:
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Error
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity
file
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file
or
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 174)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .plugin
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultPluginManager.executeMojo(DefaultPluginManager.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 451)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoals(DefaultLifecycleExecutor.java:558)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       ... 16 more
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Caused by:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache.maven.artifact.deployer.ArtifactDeploymentException:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Error deploying artifact: Exit code: 1 - Warning: Identity
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; file
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file
or
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .deployer
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 94)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 162)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       ... 18 more
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Caused by: org.apache.maven.wagon.TransferFailedException:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Exit code:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 1 - Warning: Identity file /home/cruise/.ssh/id_rsa not
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; accessible:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; No
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; such file or directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .wagon
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .providers
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .ssh
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .external
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .ScpExternalWagon.executeScpCommand(ScpExternalWagon.java:236)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .wagon
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .providers
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .ssh.external.ScpExternalWagon.put(ScpExternalWagon.java:295)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .manager
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 244)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .manager
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultWagonManager.putArtifact(DefaultWagonManager.java:160)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .deployer
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 80)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;       ... 19 more
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Total time: 26 seconds
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Finished at: Wed Apr 01 10:47:28 EDT 2009
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Final Memory: 22M/81M
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Any ideas, help, etc.  I have fought with this for half
a day
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; now and
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; can't come up with anything.  I can get other means of
auth to
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; work
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (after jumping through some hoops and getting much deeper
into
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; this
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; than I ever wanted to be), password, cert, but they aren't
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; supported
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; where I work so those won't be allowed.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users- 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt;&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23043194.html
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users- 
&gt;&gt;&gt;&gt;&gt;&gt; help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt;&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23044542.html
&gt;&gt;&gt;&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; -- 
&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23045511.html
&gt;&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;
&gt; -- 
&gt; View this message in context: http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23057239.html
&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Using Wagon SSH or SSH external with HOST BASED authenticaton?</title>
<author><name>CharlieCollins &lt;charlie.collins@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3c23057239.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c23057239-post@talk-nabble-com%3e</id>
<updated>2009-04-15T11:36:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Yes, scpexe also had problems.  From my original note:

"SCPEXE failure:
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
[DEBUG]   (f) artifact = com.axiomainc:axioma-model:jar:0.5-SNAPSHOT
[DEBUG]   (f) attachedArtifacts = []
[DEBUG]   (f) deploymentRepository = [axioma-maven2snap] -&gt;
scpexe://helios/intranet/maven2/reposnap
[DEBUG]   (s) localRepository = [local] -&gt;
file:///home/cruise/.m2/repository
[DEBUG]   (f) packaging = jar
[DEBUG]   (f) pomFile =
/opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/trunk/pom.xml
[DEBUG]   (f) updateReleaseInfo = false
[DEBUG] -- end configuration --
[INFO] [deploy:deploy]
altDeploymentRepository = null
[INFO] Retrieving previous build number from axioma-maven2snap
Uploading:
scpexe://helios/intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error deploying artifact: Exit code: 1 - Warning: Identity file
/home/cruise/.ssh/id_rsa not accessible: No such file or directory.
scp:
/intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
Permission denied "

If I could tell what command exactly it was trying to perform I might be
able to troubleshoot it further, but I haven't yet gotten to the point of
downloading the code and poking around myself.
Scp and SSH from the command line, outside of Maven (as the same user), work
fine. 



brettporter wrote:
&gt; 
&gt; however ssh-external should support anything the command line does, so  
&gt; switching scp:// to scpexe:// should work. Based on your subject it  
&gt; seems like you might have tried that - did it have problems?
&gt; 
&gt; On 15/04/2009, at 4:41 AM, CharlieCollins wrote:
&gt; 
&gt;&gt;
&gt;&gt;
&gt;&gt; Thanks for the info, will do.
&gt;&gt;
&gt;&gt;
&gt;&gt; Dan Tran wrote:
&gt;&gt;&gt;
&gt;&gt;&gt; ah, wagon-ssh does not support your host base authentication.  File a
&gt;&gt;&gt; JIRA and may be come up with a patch.
&gt;&gt;&gt;
&gt;&gt;&gt; -D
&gt;&gt;&gt;
&gt;&gt;&gt; On Tue, Apr 14, 2009 at 10:55 AM, CharlieCollins
&gt;&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I don't think that's correct at all. I AM the "cruise" user (yes,  
&gt;&gt;&gt;&gt; when
&gt;&gt;&gt;&gt; running Maven I am also running as the cruise user). Also, as  
&gt;&gt;&gt;&gt; stated,
&gt;&gt;&gt;&gt; there
&gt;&gt;&gt;&gt; is a /home/cruise/.ssh directory.  It doesn't contain an "id_rsa"  
&gt;&gt;&gt;&gt; file,
&gt;&gt;&gt;&gt; no,
&gt;&gt;&gt;&gt; but it doesn't need to for host based auth. I can run "ssh helios"
&gt;&gt;&gt;&gt; (helios
&gt;&gt;&gt;&gt; being the remote machine I need to get into) OUTSIDE OF MAVEN just  
&gt;&gt;&gt;&gt; fine
&gt;&gt;&gt;&gt; as
&gt;&gt;&gt;&gt; the cruise user (as also previously stated).
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Once again, is host based authentication SUPPOSED to work,  
&gt;&gt;&gt;&gt; regardless of
&gt;&gt;&gt;&gt; my
&gt;&gt;&gt;&gt; setup?
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Maybe I need to set some configuration options, but the lack of
&gt;&gt;&gt;&gt; documentation for what those might be hinders that a bit (at least I
&gt;&gt;&gt;&gt; can't
&gt;&gt;&gt;&gt; find docs - pointers appreciated).
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Dan Tran wrote:
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; scp thinks you are 'cruise' user which you dont have access it's
&gt;&gt;&gt;&gt;&gt; home/.ssh directory
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; -D
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; On Tue, Apr 14, 2009 at 9:43 AM, CharlieCollins
&gt;&gt;&gt;&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; I have tried with 2.0.9 and 2.1.0, neither seems to work.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; I can't find any examples or docs about host based auth either. 

&gt;&gt;&gt;&gt;&gt;&gt; Is host
&gt;&gt;&gt;&gt;&gt;&gt; based auth supposed to work/supported?
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Dan Tran wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; maven-2.1.0 has the latest wagon, see if it works for you.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; -D
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Wed, Apr 1, 2009 at 8:16 AM, Charlie Collins
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I am not able to transfer files over SCP from a user/machine
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; setup
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; that is using host based authentication (note I am not talking
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; about
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; the host authentication can't be verified yes/no known_hosts
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; issue,
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; that's different - I am using host based authentication 

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; itself, not
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; password, not certificate).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Is host based auth supposed to work?  Looks like Jsch supports
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; it
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; from
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; the examples, but do any of the Wagon providers support it?
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; From the client machine where Maven is running, to the server
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; where I
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; want to transfer files, using the same user account Maven
is  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; running
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; as, works fine (outside of Maven):
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise@reddog:/home/ccollins$ whoami
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise@reddog:/home/ccollins$ ssh helios
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Last login: Wed Apr  1 10:10:02 2009 from reddog.axiomainc.com
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise@helios:~$
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Inside of Maven, using the Deploy Plugin (which depends on
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Wagon), I
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; get failures using either "scp" or "scpexe" in my
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; distributionManagement section (which as I understand it
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; switches
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; between ssh and ssh external Wagon providers).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; POM has distributionManagement set, I have tried with an
without
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; settings.xml server sections (beyond user/pass most of the
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; "configuration" elements for the providers appear  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; undocumented, or at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; least I couldn't find it, so I am not sure if there is a
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; config that
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; might help).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; POM snippet (changed back and forth from scp to scpexe for
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; various
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; attempts):
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;  &lt;distributionManagement&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;repository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;uniqueVersion&gt;false&lt;/uniqueVersion&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;id&gt;axioma-maven2&lt;/id&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;name&gt;Axioma Maven 2 Repository&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;url&gt;scp://helios/intranet/maven2/repo&lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;/repository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;snapshotRepository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;uniqueVersion&gt;true&lt;/uniqueVersion&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;id&gt;axioma-maven2snap&lt;/id&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;name&gt;Axioma Maven 2 Snapshot Repository&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;url&gt;scp://helios/intranet/maven2/reposnap&lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;/snapshotRepository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;    &lt;/distributionManagement&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SCP failure:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy'
--&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) artifact = com.axiomainc:axioma-model:jar:0.5-

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) attachedArtifacts = []
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) deploymentRepository = [axioma-maven2snap]
-&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp://helios/intranet/maven2/reposnap
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (s) localRepository = [local] -&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) packaging = jar
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) pomFile =
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; trunk/pom.xml
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) updateReleaseInfo = false
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; The authenticity of host 'helios' can't be established.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; RSA key fingerprint is
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 60:af:21:b2:c7:47:b2:92:60:56:2b:27:45:a3:e8:1d.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Are you sure you want to continue connecting? (yes/no): yes
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (And NOTE, the user account DOES have ~/.ssh/known_hosts,
but it
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; shouldn't even be trying to use that, ~/.ssh/config also
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; exists and
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; lays out the host based authentication which works perfectly
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; with no
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; prompts outside of maven.)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SCPEXE failure:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy'
--&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) artifact = com.axiomainc:axioma-model:jar:0.5-

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) attachedArtifacts = []
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) deploymentRepository = [axioma-maven2snap]
-&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (s) localRepository = [local] -&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) packaging = jar
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) pomFile =
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; trunk/pom.xml
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) updateReleaseInfo = false
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Uploading:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap/com/axiomainc/axioma-

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Error deploying artifact: Exit code: 1 - Warning:
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Identity
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; file
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Trace
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.LifecycleExecutionException: Error
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoals(DefaultLifecycleExecutor.java:583)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoal(DefaultLifecycleExecutor.java:478)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeTaskSegments(DefaultLifecycleExecutor.java:291)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .execute(DefaultLifecycleExecutor.java:142)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Method)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; sun 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .reflect 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 39)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; sun 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .reflect 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DelegatingMethodAccessorImpl 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 315)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 430)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at org.codehaus.classworlds.Launcher.main(Launcher.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 375)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Caused by: org.apache.maven.plugin.MojoExecutionException:
Error
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 174)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .plugin 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoals(DefaultLifecycleExecutor.java:558)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        ... 16 more
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Caused by:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.artifact.deployer.ArtifactDeploymentException:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Error deploying artifact: Exit code: 1 - Warning: Identity
file
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .deployer 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:94)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 162)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        ... 18 more
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Caused by: org.apache.maven.wagon.TransferFailedException:
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Exit code:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 1 - Warning: Identity file /home/cruise/.ssh/id_rsa not 

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; accessible:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; No
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; such file or directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .wagon 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .providers 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .ssh 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .external 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .ScpExternalWagon.executeScpCommand(ScpExternalWagon.java:236)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .wagon 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .providers 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .ssh.external.ScpExternalWagon.put(ScpExternalWagon.java:295)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .manager 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:244)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .manager 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultWagonManager.putArtifact(DefaultWagonManager.java:160)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .deployer 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        ... 19 more
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Total time: 26 seconds
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Finished at: Wed Apr 01 10:47:28 EDT 2009
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Final Memory: 22M/81M
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Any ideas, help, etc.  I have fought with this for half a
day  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; now and
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; can't come up with anything.  I can get other means of auth
to  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; work
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (after jumping through some hoops and getting much deeper
into  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; this
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; than I ever wanted to be), password, cert, but they aren't
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; supported
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; where I work so those won't be allowed.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users- 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt;&gt;&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23043194.html
&gt;&gt;&gt;&gt;&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23044542.html
&gt;&gt;&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; -- 
&gt;&gt; View this message in context:
&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23045511.html
&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;
&gt; 
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt; 
&gt; 
&gt; 

-- 
View this message in context: http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23057239.html
Sent from the Wagon - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Using Wagon SSH or SSH external with HOST BASED authenticaton?</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3cD9B2BFC3-C3F0-4AF5-865A-BB27A62A01B0@apache.org%3e"/>
<id>urn:uuid:%3cD9B2BFC3-C3F0-4AF5-865A-BB27A62A01B0@apache-org%3e</id>
<updated>2009-04-15T00:17:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
however ssh-external should support anything the command line does, so  
switching scp:// to scpexe:// should work. Based on your subject it  
seems like you might have tried that - did it have problems?

On 15/04/2009, at 4:41 AM, CharlieCollins wrote:

&gt;
&gt;
&gt; Thanks for the info, will do.
&gt;
&gt;
&gt; Dan Tran wrote:
&gt;&gt;
&gt;&gt; ah, wagon-ssh does not support your host base authentication.  File a
&gt;&gt; JIRA and may be come up with a patch.
&gt;&gt;
&gt;&gt; -D
&gt;&gt;
&gt;&gt; On Tue, Apr 14, 2009 at 10:55 AM, CharlieCollins
&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;
&gt;&gt;&gt; I don't think that's correct at all. I AM the "cruise" user (yes,  
&gt;&gt;&gt; when
&gt;&gt;&gt; running Maven I am also running as the cruise user). Also, as  
&gt;&gt;&gt; stated,
&gt;&gt;&gt; there
&gt;&gt;&gt; is a /home/cruise/.ssh directory.  It doesn't contain an "id_rsa"  
&gt;&gt;&gt; file,
&gt;&gt;&gt; no,
&gt;&gt;&gt; but it doesn't need to for host based auth. I can run "ssh helios"
&gt;&gt;&gt; (helios
&gt;&gt;&gt; being the remote machine I need to get into) OUTSIDE OF MAVEN just  
&gt;&gt;&gt; fine
&gt;&gt;&gt; as
&gt;&gt;&gt; the cruise user (as also previously stated).
&gt;&gt;&gt;
&gt;&gt;&gt; Once again, is host based authentication SUPPOSED to work,  
&gt;&gt;&gt; regardless of
&gt;&gt;&gt; my
&gt;&gt;&gt; setup?
&gt;&gt;&gt;
&gt;&gt;&gt; Maybe I need to set some configuration options, but the lack of
&gt;&gt;&gt; documentation for what those might be hinders that a bit (at least I
&gt;&gt;&gt; can't
&gt;&gt;&gt; find docs - pointers appreciated).
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Dan Tran wrote:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; scp thinks you are 'cruise' user which you dont have access it's
&gt;&gt;&gt;&gt; home/.ssh directory
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; -D
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; On Tue, Apr 14, 2009 at 9:43 AM, CharlieCollins
&gt;&gt;&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; I have tried with 2.0.9 and 2.1.0, neither seems to work.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; I can't find any examples or docs about host based auth either.  
&gt;&gt;&gt;&gt;&gt; Is host
&gt;&gt;&gt;&gt;&gt; based auth supposed to work/supported?
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Dan Tran wrote:
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; maven-2.1.0 has the latest wagon, see if it works for you.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; -D
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; On Wed, Apr 1, 2009 at 8:16 AM, Charlie Collins
&gt;&gt;&gt;&gt;&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I am not able to transfer files over SCP from a user/machine
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; setup
&gt;&gt;&gt;&gt;&gt;&gt;&gt; that is using host based authentication (note I am not talking
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; about
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the host authentication can't be verified yes/no known_hosts
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; issue,
&gt;&gt;&gt;&gt;&gt;&gt;&gt; that's different - I am using host based authentication  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; itself, not
&gt;&gt;&gt;&gt;&gt;&gt;&gt; password, not certificate).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Is host based auth supposed to work?  Looks like Jsch supports
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; it
&gt;&gt;&gt;&gt;&gt;&gt;&gt; from
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the examples, but do any of the Wagon providers support it?
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; From the client machine where Maven is running, to the server
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; where I
&gt;&gt;&gt;&gt;&gt;&gt;&gt; want to transfer files, using the same user account Maven is
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; running
&gt;&gt;&gt;&gt;&gt;&gt;&gt; as, works fine (outside of Maven):
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise@reddog:/home/ccollins$ whoami
&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise
&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise@reddog:/home/ccollins$ ssh helios
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Last login: Wed Apr  1 10:10:02 2009 from reddog.axiomainc.com
&gt;&gt;&gt;&gt;&gt;&gt;&gt; cruise@helios:~$
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Inside of Maven, using the Deploy Plugin (which depends on  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Wagon), I
&gt;&gt;&gt;&gt;&gt;&gt;&gt; get failures using either "scp" or "scpexe" in my
&gt;&gt;&gt;&gt;&gt;&gt;&gt; distributionManagement section (which as I understand it  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; switches
&gt;&gt;&gt;&gt;&gt;&gt;&gt; between ssh and ssh external Wagon providers).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; POM has distributionManagement set, I have tried with an without
&gt;&gt;&gt;&gt;&gt;&gt;&gt; settings.xml server sections (beyond user/pass most of the
&gt;&gt;&gt;&gt;&gt;&gt;&gt; "configuration" elements for the providers appear  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; undocumented, or at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; least I couldn't find it, so I am not sure if there is a  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; config that
&gt;&gt;&gt;&gt;&gt;&gt;&gt; might help).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; POM snippet (changed back and forth from scp to scpexe for  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; various
&gt;&gt;&gt;&gt;&gt;&gt;&gt; attempts):
&gt;&gt;&gt;&gt;&gt;&gt;&gt;  &lt;distributionManagement&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;repository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;uniqueVersion&gt;false&lt;/uniqueVersion&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;id&gt;axioma-maven2&lt;/id&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;name&gt;Axioma Maven 2 Repository&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;url&gt;scp://helios/intranet/maven2/repo&lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;/repository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;snapshotRepository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;uniqueVersion&gt;true&lt;/uniqueVersion&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;id&gt;axioma-maven2snap&lt;/id&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;name&gt;Axioma Maven 2 Snapshot Repository&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;url&gt;scp://helios/intranet/maven2/reposnap&lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;/snapshotRepository&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;    &lt;/distributionManagement&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; SCP failure:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt;&gt;&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) artifact = com.axiomainc:axioma-model:jar:0.5-

&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) attachedArtifacts = []
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) deploymentRepository = [axioma-maven2snap] -&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp://helios/intranet/maven2/reposnap
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (s) localRepository = [local] -&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) packaging = jar
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) pomFile =
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/ 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; trunk/pom.xml
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) updateReleaseInfo = false
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt;&gt;&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt;&gt;&gt;&gt;&gt;&gt; The authenticity of host 'helios' can't be established.
&gt;&gt;&gt;&gt;&gt;&gt;&gt; RSA key fingerprint is
&gt;&gt;&gt;&gt;&gt;&gt;&gt; 60:af:21:b2:c7:47:b2:92:60:56:2b:27:45:a3:e8:1d.
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Are you sure you want to continue connecting? (yes/no): yes
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; (And NOTE, the user account DOES have ~/.ssh/known_hosts, but
it
&gt;&gt;&gt;&gt;&gt;&gt;&gt; shouldn't even be trying to use that, ~/.ssh/config also  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; exists and
&gt;&gt;&gt;&gt;&gt;&gt;&gt; lays out the host based authentication which works perfectly
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; with no
&gt;&gt;&gt;&gt;&gt;&gt;&gt; prompts outside of maven.)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; SCPEXE failure:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt;&gt;&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) artifact = com.axiomainc:axioma-model:jar:0.5-

&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) attachedArtifacts = []
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) deploymentRepository = [axioma-maven2snap] -&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (s) localRepository = [local] -&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) packaging = jar
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) pomFile =
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/ 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; trunk/pom.xml
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG]   (f) updateReleaseInfo = false
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt;&gt;&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Uploading:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap/com/axiomainc/axioma-

&gt;&gt;&gt;&gt;&gt;&gt;&gt; model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Error deploying artifact: Exit code: 1 - Warning:  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Identity
&gt;&gt;&gt;&gt;&gt;&gt;&gt; file
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5- 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Trace
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.LifecycleExecutionException: Error
&gt;&gt;&gt;&gt;&gt;&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5- 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoals(DefaultLifecycleExecutor.java:583)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoal(DefaultLifecycleExecutor.java:478)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeTaskSegments(DefaultLifecycleExecutor.java:291)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .execute(DefaultLifecycleExecutor.java:142)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Method)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; sun 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .reflect 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt; 39)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; sun 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .reflect 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DelegatingMethodAccessorImpl 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt; 315)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt; 430)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at org.codehaus.classworlds.Launcher.main(Launcher.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt; 375)
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Caused by: org.apache.maven.plugin.MojoExecutionException: Error
&gt;&gt;&gt;&gt;&gt;&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5- 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt; 174)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .plugin 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .lifecycle 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultLifecycleExecutor 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .executeGoals(DefaultLifecycleExecutor.java:558)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        ... 16 more
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Caused by:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.artifact.deployer.ArtifactDeploymentException:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Error deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5- 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .deployer 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:94)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:

&gt;&gt;&gt;&gt;&gt;&gt;&gt; 162)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        ... 18 more
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Caused by: org.apache.maven.wagon.TransferFailedException:  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Exit code:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; 1 - Warning: Identity file /home/cruise/.ssh/id_rsa not  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; accessible:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; No
&gt;&gt;&gt;&gt;&gt;&gt;&gt; such file or directory.
&gt;&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5- 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .wagon 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .providers 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .ssh 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .external 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .ScpExternalWagon.executeScpCommand(ScpExternalWagon.java:236)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .wagon 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .providers 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .ssh.external.ScpExternalWagon.put(ScpExternalWagon.java:295)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .manager 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:244)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .manager 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultWagonManager.putArtifact(DefaultWagonManager.java:160)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        at
&gt;&gt;&gt;&gt;&gt;&gt;&gt; org 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .apache 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .maven 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .artifact 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .deployer 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;        ... 19 more
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Total time: 26 seconds
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Finished at: Wed Apr 01 10:47:28 EDT 2009
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Final Memory: 22M/81M
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Any ideas, help, etc.  I have fought with this for half a day
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; now and
&gt;&gt;&gt;&gt;&gt;&gt;&gt; can't come up with anything.  I can get other means of auth to
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; work
&gt;&gt;&gt;&gt;&gt;&gt;&gt; (after jumping through some hoops and getting much deeper into
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; this
&gt;&gt;&gt;&gt;&gt;&gt;&gt; than I ever wanted to be), password, cert, but they aren't  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; supported
&gt;&gt;&gt;&gt;&gt;&gt;&gt; where I work so those won't be allowed.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users- 
&gt;&gt;&gt;&gt;&gt;&gt; help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt;&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23043194.html
&gt;&gt;&gt;&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; --
&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23044542.html
&gt;&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;
&gt; -- 
&gt; View this message in context: http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23045511.html
&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: SSH External -o BatchMode yes</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3cC4C559CA-BFF5-4147-B30B-7FD4FEDD98A4@apache.org%3e"/>
<id>urn:uuid:%3cC4C559CA-BFF5-4147-B30B-7FD4FEDD98A4@apache-org%3e</id>
<updated>2009-04-15T00:14:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

On 14/04/2009, at 11:30 AM, Tim Riley wrote:

&gt; I have run into a situation with the wagon-ssh-external version 1.0- 
&gt; beta-5
&gt; and maven 2.1.0. Before I attempt to fix the problem myself I wanted  
&gt; to ask
&gt; here if there is another solution.
&gt;
&gt; I'm currently using Reflection Secure IT, which requires all SSH -o  
&gt; options
&gt; be placed in quotations unfortunately I cannot deviate from this  
&gt; technology.

One quick workaround might be to put an intervening script in between  
maven and the PATH that corrects the problem, something like: http://blogs.exist.com/bporter/2008/02/25/working-around-non-interactive-problems-in-leopards-subversion/

&gt; My other option and my prefered option is to
&gt; submit a patch that gets rolled into the nightly build of the wagon
&gt; provider.

This would be best - certainly submit the issue and patch to be rolled  
in. Adding the quotes is not harmful to openssh, so I'd say it's ok to  
add them for all cases.

I wouldn't recommend using a snapshot though - instead it's best if  
you release the library internally (1.0-beta-5-MYCOMPANY-1) and use  
that. This assumes you've set up your own repository and the builds  
all use it.

Adding the following will then override the Maven one:
&lt;build&gt;
   &lt;extensions&gt;
     &lt;extension&gt;
       &lt;groupId&gt;org.apache.maven.wagon&lt;/groupId&gt;
       &lt;artifactId&gt;wagon-ssh-external&lt;/artifactId&gt;
       &lt;version&gt;1.0-beta-5-MYCOMPANY-1&lt;/version&gt;
     &lt;/extension&gt;
   &lt;/extensions&gt;
&lt;/build&gt;

Once the Wagon is formally released you can replace the version with  
the new one.

Cheers,
Brett

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Using Wagon SSH or SSH external with HOST BASED authenticaton?</title>
<author><name>CharlieCollins &lt;charlie.collins@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3c23045511.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c23045511-post@talk-nabble-com%3e</id>
<updated>2009-04-14T18:41:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>


Thanks for the info, will do.


Dan Tran wrote:
&gt; 
&gt; ah, wagon-ssh does not support your host base authentication.  File a
&gt; JIRA and may be come up with a patch.
&gt; 
&gt; -D
&gt; 
&gt; On Tue, Apr 14, 2009 at 10:55 AM, CharlieCollins
&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;
&gt;&gt; I don't think that's correct at all. I AM the "cruise" user (yes, when
&gt;&gt; running Maven I am also running as the cruise user). Also, as stated,
&gt;&gt; there
&gt;&gt; is a /home/cruise/.ssh directory. Â It doesn't contain an "id_rsa" file,
&gt;&gt; no,
&gt;&gt; but it doesn't need to for host based auth. I can run "ssh helios"
&gt;&gt; (helios
&gt;&gt; being the remote machine I need to get into) OUTSIDE OF MAVEN just fine
&gt;&gt; as
&gt;&gt; the cruise user (as also previously stated).
&gt;&gt;
&gt;&gt; Once again, is host based authentication SUPPOSED to work, regardless of
&gt;&gt; my
&gt;&gt; setup?
&gt;&gt;
&gt;&gt; Maybe I need to set some configuration options, but the lack of
&gt;&gt; documentation for what those might be hinders that a bit (at least I
&gt;&gt; can't
&gt;&gt; find docs - pointers appreciated).
&gt;&gt;
&gt;&gt;
&gt;&gt; Dan Tran wrote:
&gt;&gt;&gt;
&gt;&gt;&gt; scp thinks you are 'cruise' user which you dont have access it's
&gt;&gt;&gt; home/.ssh directory
&gt;&gt;&gt;
&gt;&gt;&gt; -D
&gt;&gt;&gt;
&gt;&gt;&gt; On Tue, Apr 14, 2009 at 9:43 AM, CharlieCollins
&gt;&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I have tried with 2.0.9 and 2.1.0, neither seems to work.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I can't find any examples or docs about host based auth either. Is host
&gt;&gt;&gt;&gt; based auth supposed to work/supported?
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Dan Tran wrote:
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; maven-2.1.0 has the latest wagon, see if it works for you.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; -D
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; On Wed, Apr 1, 2009 at 8:16 AM, Charlie Collins
&gt;&gt;&gt;&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt;&gt;&gt; I am not able to transfer files over SCP from a user/machine setup
&gt;&gt;&gt;&gt;&gt;&gt; that is using host based authentication (note I am not talking about
&gt;&gt;&gt;&gt;&gt;&gt; the host authentication can't be verified yes/no known_hosts issue,
&gt;&gt;&gt;&gt;&gt;&gt; that's different - I am using host based authentication itself, not
&gt;&gt;&gt;&gt;&gt;&gt; password, not certificate).
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Is host based auth supposed to work? Â Looks like Jsch supports it
&gt;&gt;&gt;&gt;&gt;&gt; from
&gt;&gt;&gt;&gt;&gt;&gt; the examples, but do any of the Wagon providers support it?
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; From the client machine where Maven is running, to the server where
I
&gt;&gt;&gt;&gt;&gt;&gt; want to transfer files, using the same user account Maven is running
&gt;&gt;&gt;&gt;&gt;&gt; as, works fine (outside of Maven):
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; cruise@reddog:/home/ccollins$ whoami
&gt;&gt;&gt;&gt;&gt;&gt; cruise
&gt;&gt;&gt;&gt;&gt;&gt; cruise@reddog:/home/ccollins$ ssh helios
&gt;&gt;&gt;&gt;&gt;&gt; Last login: Wed Apr Â 1 10:10:02 2009 from reddog.axiomainc.com
&gt;&gt;&gt;&gt;&gt;&gt; cruise@helios:~$
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Inside of Maven, using the Deploy Plugin (which depends on Wagon),
I
&gt;&gt;&gt;&gt;&gt;&gt; get failures using either "scp" or "scpexe" in my
&gt;&gt;&gt;&gt;&gt;&gt; distributionManagement section (which as I understand it switches
&gt;&gt;&gt;&gt;&gt;&gt; between ssh and ssh external Wagon providers).
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; POM has distributionManagement set, I have tried with an without
&gt;&gt;&gt;&gt;&gt;&gt; settings.xml server sections (beyond user/pass most of the
&gt;&gt;&gt;&gt;&gt;&gt; "configuration" elements for the providers appear undocumented, or
at
&gt;&gt;&gt;&gt;&gt;&gt; least I couldn't find it, so I am not sure if there is a config that
&gt;&gt;&gt;&gt;&gt;&gt; might help).
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; POM snippet (changed back and forth from scp to scpexe for various
&gt;&gt;&gt;&gt;&gt;&gt; attempts):
&gt;&gt;&gt;&gt;&gt;&gt; Â &lt;distributionManagement&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â &lt;repository&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;uniqueVersion&gt;false&lt;/uniqueVersion&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;id&gt;axioma-maven2&lt;/id&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;name&gt;Axioma Maven 2 Repository&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;url&gt;scp://helios/intranet/maven2/repo&lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â &lt;/repository&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â &lt;snapshotRepository&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;uniqueVersion&gt;true&lt;/uniqueVersion&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;id&gt;axioma-maven2snap&lt;/id&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;name&gt;Axioma Maven 2 Snapshot Repository&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;url&gt;scp://helios/intranet/maven2/reposnap&lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â &lt;/snapshotRepository&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â &lt;/distributionManagement&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; SCP failure:
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt;&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) artifact = com.axiomainc:axioma-model:jar:0.5-SNAPSHOT
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) attachedArtifacts = []
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) deploymentRepository = [axioma-maven2snap] -&gt;
&gt;&gt;&gt;&gt;&gt;&gt; scp://helios/intranet/maven2/reposnap
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (s) localRepository = [local] -&gt;
&gt;&gt;&gt;&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) packaging = jar
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) pomFile =
&gt;&gt;&gt;&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/trunk/pom.xml
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) updateReleaseInfo = false
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt;&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt;&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt;&gt;&gt;&gt;&gt; The authenticity of host 'helios' can't be established.
&gt;&gt;&gt;&gt;&gt;&gt; RSA key fingerprint is
&gt;&gt;&gt;&gt;&gt;&gt; 60:af:21:b2:c7:47:b2:92:60:56:2b:27:45:a3:e8:1d.
&gt;&gt;&gt;&gt;&gt;&gt; Are you sure you want to continue connecting? (yes/no): yes
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; (And NOTE, the user account DOES have ~/.ssh/known_hosts, but it
&gt;&gt;&gt;&gt;&gt;&gt; shouldn't even be trying to use that, ~/.ssh/config also exists and
&gt;&gt;&gt;&gt;&gt;&gt; lays out the host based authentication which works perfectly with
no
&gt;&gt;&gt;&gt;&gt;&gt; prompts outside of maven.)
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; SCPEXE failure:
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt;&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) artifact = com.axiomainc:axioma-model:jar:0.5-SNAPSHOT
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) attachedArtifacts = []
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) deploymentRepository = [axioma-maven2snap] -&gt;
&gt;&gt;&gt;&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (s) localRepository = [local] -&gt;
&gt;&gt;&gt;&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) packaging = jar
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) pomFile =
&gt;&gt;&gt;&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/trunk/pom.xml
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) updateReleaseInfo = false
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt;&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt;&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt;&gt;&gt;&gt;&gt; Uploading:
&gt;&gt;&gt;&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar
&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Error deploying artifact: Exit code: 1 - Warning: Identity
&gt;&gt;&gt;&gt;&gt;&gt; file
&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt; [DEBUG] Trace
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.LifecycleExecutionException: Error
&gt;&gt;&gt;&gt;&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
&gt;&gt;&gt;&gt;&gt;&gt; Caused by: org.apache.maven.plugin.MojoExecutionException: Error
&gt;&gt;&gt;&gt;&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:174)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â ... 16 more
&gt;&gt;&gt;&gt;&gt;&gt; Caused by:
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.artifact.deployer.ArtifactDeploymentException:
&gt;&gt;&gt;&gt;&gt;&gt; Error deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:94)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:162)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â ... 18 more
&gt;&gt;&gt;&gt;&gt;&gt; Caused by: org.apache.maven.wagon.TransferFailedException: Exit code:
&gt;&gt;&gt;&gt;&gt;&gt; 1 - Warning: Identity file /home/cruise/.ssh/id_rsa not accessible:
&gt;&gt;&gt;&gt;&gt;&gt; No
&gt;&gt;&gt;&gt;&gt;&gt; such file or directory.
&gt;&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.wagon.providers.ssh.external.ScpExternalWagon.executeScpCommand(ScpExternalWagon.java:236)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.wagon.providers.ssh.external.ScpExternalWagon.put(ScpExternalWagon.java:295)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:244)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:160)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80)
&gt;&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â ... 19 more
&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Total time: 26 seconds
&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Finished at: Wed Apr 01 10:47:28 EDT 2009
&gt;&gt;&gt;&gt;&gt;&gt; [INFO] Final Memory: 22M/81M
&gt;&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Any ideas, help, etc. Â I have fought with this for half a day now
and
&gt;&gt;&gt;&gt;&gt;&gt; can't come up with anything. Â I can get other means of auth to work
&gt;&gt;&gt;&gt;&gt;&gt; (after jumping through some hoops and getting much deeper into this
&gt;&gt;&gt;&gt;&gt;&gt; than I ever wanted to be), password, cert, but they aren't supported
&gt;&gt;&gt;&gt;&gt;&gt; where I work so those won't be allowed.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23043194.html
&gt;&gt;&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; --
&gt;&gt; View this message in context:
&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23044542.html
&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;
&gt;&gt;
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt; 
&gt; 
&gt; 

-- 
View this message in context: http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23045511.html
Sent from the Wagon - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Using Wagon SSH or SSH external with HOST BASED authenticaton?</title>
<author><name>Dan Tran &lt;dantran@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3cc38ad92d0904141131s5541f87dn2856fcc70c270425@mail.gmail.com%3e"/>
<id>urn:uuid:%3cc38ad92d0904141131s5541f87dn2856fcc70c270425@mail-gmail-com%3e</id>
<updated>2009-04-14T18:31:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
ah, wagon-ssh does not support your host base authentication.  File a
JIRA and may be come up with a patch.

-D

On Tue, Apr 14, 2009 at 10:55 AM, CharlieCollins
&lt;charlie.collins@gmail.com&gt; wrote:
&gt;
&gt; I don't think that's correct at all. I AM the "cruise" user (yes, when
&gt; running Maven I am also running as the cruise user). Also, as stated, there
&gt; is a /home/cruise/.ssh directory. Â It doesn't contain an "id_rsa" file, no,
&gt; but it doesn't need to for host based auth. I can run "ssh helios" (helios
&gt; being the remote machine I need to get into) OUTSIDE OF MAVEN just fine as
&gt; the cruise user (as also previously stated).
&gt;
&gt; Once again, is host based authentication SUPPOSED to work, regardless of my
&gt; setup?
&gt;
&gt; Maybe I need to set some configuration options, but the lack of
&gt; documentation for what those might be hinders that a bit (at least I can't
&gt; find docs - pointers appreciated).
&gt;
&gt;
&gt; Dan Tran wrote:
&gt;&gt;
&gt;&gt; scp thinks you are 'cruise' user which you dont have access it's
&gt;&gt; home/.ssh directory
&gt;&gt;
&gt;&gt; -D
&gt;&gt;
&gt;&gt; On Tue, Apr 14, 2009 at 9:43 AM, CharlieCollins
&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;
&gt;&gt;&gt; I have tried with 2.0.9 and 2.1.0, neither seems to work.
&gt;&gt;&gt;
&gt;&gt;&gt; I can't find any examples or docs about host based auth either. Is host
&gt;&gt;&gt; based auth supposed to work/supported?
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Dan Tran wrote:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; maven-2.1.0 has the latest wagon, see if it works for you.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; -D
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; On Wed, Apr 1, 2009 at 8:16 AM, Charlie Collins
&gt;&gt;&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt;&gt; I am not able to transfer files over SCP from a user/machine setup
&gt;&gt;&gt;&gt;&gt; that is using host based authentication (note I am not talking about
&gt;&gt;&gt;&gt;&gt; the host authentication can't be verified yes/no known_hosts issue,
&gt;&gt;&gt;&gt;&gt; that's different - I am using host based authentication itself, not
&gt;&gt;&gt;&gt;&gt; password, not certificate).
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Is host based auth supposed to work? Â Looks like Jsch supports it from
&gt;&gt;&gt;&gt;&gt; the examples, but do any of the Wagon providers support it?
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; From the client machine where Maven is running, to the server where I
&gt;&gt;&gt;&gt;&gt; want to transfer files, using the same user account Maven is running
&gt;&gt;&gt;&gt;&gt; as, works fine (outside of Maven):
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; cruise@reddog:/home/ccollins$ whoami
&gt;&gt;&gt;&gt;&gt; cruise
&gt;&gt;&gt;&gt;&gt; cruise@reddog:/home/ccollins$ ssh helios
&gt;&gt;&gt;&gt;&gt; Last login: Wed Apr Â 1 10:10:02 2009 from reddog.axiomainc.com
&gt;&gt;&gt;&gt;&gt; cruise@helios:~$
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Inside of Maven, using the Deploy Plugin (which depends on Wagon), I
&gt;&gt;&gt;&gt;&gt; get failures using either "scp" or "scpexe" in my
&gt;&gt;&gt;&gt;&gt; distributionManagement section (which as I understand it switches
&gt;&gt;&gt;&gt;&gt; between ssh and ssh external Wagon providers).
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; POM has distributionManagement set, I have tried with an without
&gt;&gt;&gt;&gt;&gt; settings.xml server sections (beyond user/pass most of the
&gt;&gt;&gt;&gt;&gt; "configuration" elements for the providers appear undocumented, or at
&gt;&gt;&gt;&gt;&gt; least I couldn't find it, so I am not sure if there is a config that
&gt;&gt;&gt;&gt;&gt; might help).
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; POM snippet (changed back and forth from scp to scpexe for various
&gt;&gt;&gt;&gt;&gt; attempts):
&gt;&gt;&gt;&gt;&gt; Â &lt;distributionManagement&gt;
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â &lt;repository&gt;
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;uniqueVersion&gt;false&lt;/uniqueVersion&gt;
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;id&gt;axioma-maven2&lt;/id&gt;
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;name&gt;Axioma Maven 2 Repository&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;url&gt;scp://helios/intranet/maven2/repo&lt;/url&gt;
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â &lt;/repository&gt;
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â &lt;snapshotRepository&gt;
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;uniqueVersion&gt;true&lt;/uniqueVersion&gt;
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;id&gt;axioma-maven2snap&lt;/id&gt;
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;name&gt;Axioma Maven 2 Snapshot Repository&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;url&gt;scp://helios/intranet/maven2/reposnap&lt;/url&gt;
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â &lt;/snapshotRepository&gt;
&gt;&gt;&gt;&gt;&gt; Â  Â &lt;/distributionManagement&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; SCP failure:
&gt;&gt;&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) artifact = com.axiomainc:axioma-model:jar:0.5-SNAPSHOT
&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) attachedArtifacts = []
&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) deploymentRepository = [axioma-maven2snap] -&gt;
&gt;&gt;&gt;&gt;&gt; scp://helios/intranet/maven2/reposnap
&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (s) localRepository = [local] -&gt;
&gt;&gt;&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) packaging = jar
&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) pomFile =
&gt;&gt;&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/trunk/pom.xml
&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) updateReleaseInfo = false
&gt;&gt;&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt;&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt;&gt;&gt;&gt; The authenticity of host 'helios' can't be established.
&gt;&gt;&gt;&gt;&gt; RSA key fingerprint is 60:af:21:b2:c7:47:b2:92:60:56:2b:27:45:a3:e8:1d.
&gt;&gt;&gt;&gt;&gt; Are you sure you want to continue connecting? (yes/no): yes
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; (And NOTE, the user account DOES have ~/.ssh/known_hosts, but it
&gt;&gt;&gt;&gt;&gt; shouldn't even be trying to use that, ~/.ssh/config also exists and
&gt;&gt;&gt;&gt;&gt; lays out the host based authentication which works perfectly with no
&gt;&gt;&gt;&gt;&gt; prompts outside of maven.)
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; SCPEXE failure:
&gt;&gt;&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) artifact = com.axiomainc:axioma-model:jar:0.5-SNAPSHOT
&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) attachedArtifacts = []
&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) deploymentRepository = [axioma-maven2snap] -&gt;
&gt;&gt;&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap
&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (s) localRepository = [local] -&gt;
&gt;&gt;&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) packaging = jar
&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) pomFile =
&gt;&gt;&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/trunk/pom.xml
&gt;&gt;&gt;&gt;&gt; [DEBUG] Â  (f) updateReleaseInfo = false
&gt;&gt;&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt;&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt;&gt;&gt;&gt; Uploading:
&gt;&gt;&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar
&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt; [INFO] Error deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt; [DEBUG] Trace
&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.LifecycleExecutionException: Error
&gt;&gt;&gt;&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
&gt;&gt;&gt;&gt;&gt; Caused by: org.apache.maven.plugin.MojoExecutionException: Error
&gt;&gt;&gt;&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:174)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â ... 16 more
&gt;&gt;&gt;&gt;&gt; Caused by:
&gt;&gt;&gt;&gt;&gt; org.apache.maven.artifact.deployer.ArtifactDeploymentException:
&gt;&gt;&gt;&gt;&gt; Error deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:94)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:162)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â ... 18 more
&gt;&gt;&gt;&gt;&gt; Caused by: org.apache.maven.wagon.TransferFailedException: Exit code:
&gt;&gt;&gt;&gt;&gt; 1 - Warning: Identity file /home/cruise/.ssh/id_rsa not accessible: No
&gt;&gt;&gt;&gt;&gt; such file or directory.
&gt;&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.apache.maven.wagon.providers.ssh.external.ScpExternalWagon.executeScpCommand(ScpExternalWagon.java:236)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.apache.maven.wagon.providers.ssh.external.ScpExternalWagon.put(ScpExternalWagon.java:295)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:244)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:160)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt;&gt; org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80)
&gt;&gt;&gt;&gt;&gt; Â  Â  Â  Â ... 19 more
&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt; [INFO] Total time: 26 seconds
&gt;&gt;&gt;&gt;&gt; [INFO] Finished at: Wed Apr 01 10:47:28 EDT 2009
&gt;&gt;&gt;&gt;&gt; [INFO] Final Memory: 22M/81M
&gt;&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Any ideas, help, etc. Â I have fought with this for half a day now and
&gt;&gt;&gt;&gt;&gt; can't come up with anything. Â I can get other means of auth to work
&gt;&gt;&gt;&gt;&gt; (after jumping through some hoops and getting much deeper into this
&gt;&gt;&gt;&gt;&gt; than I ever wanted to be), password, cert, but they aren't supported
&gt;&gt;&gt;&gt;&gt; where I work so those won't be allowed.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; --
&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23043194.html
&gt;&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;
&gt; --
&gt; View this message in context: http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23044542.html
&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Using Wagon SSH or SSH external with HOST BASED authenticaton?</title>
<author><name>CharlieCollins &lt;charlie.collins@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3c23044542.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c23044542-post@talk-nabble-com%3e</id>
<updated>2009-04-14T17:55:37Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

I don't think that's correct at all. I AM the "cruise" user (yes, when
running Maven I am also running as the cruise user). Also, as stated, there
is a /home/cruise/.ssh directory.  It doesn't contain an "id_rsa" file, no,
but it doesn't need to for host based auth. I can run "ssh helios" (helios
being the remote machine I need to get into) OUTSIDE OF MAVEN just fine as
the cruise user (as also previously stated).

Once again, is host based authentication SUPPOSED to work, regardless of my
setup?

Maybe I need to set some configuration options, but the lack of
documentation for what those might be hinders that a bit (at least I can't
find docs - pointers appreciated).


Dan Tran wrote:
&gt; 
&gt; scp thinks you are 'cruise' user which you dont have access it's
&gt; home/.ssh directory
&gt; 
&gt; -D
&gt; 
&gt; On Tue, Apr 14, 2009 at 9:43 AM, CharlieCollins
&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;
&gt;&gt; I have tried with 2.0.9 and 2.1.0, neither seems to work.
&gt;&gt;
&gt;&gt; I can't find any examples or docs about host based auth either. Is host
&gt;&gt; based auth supposed to work/supported?
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; Dan Tran wrote:
&gt;&gt;&gt;
&gt;&gt;&gt; maven-2.1.0 has the latest wagon, see if it works for you.
&gt;&gt;&gt;
&gt;&gt;&gt; -D
&gt;&gt;&gt;
&gt;&gt;&gt; On Wed, Apr 1, 2009 at 8:16 AM, Charlie Collins
&gt;&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt; I am not able to transfer files over SCP from a user/machine setup
&gt;&gt;&gt;&gt; that is using host based authentication (note I am not talking about
&gt;&gt;&gt;&gt; the host authentication can't be verified yes/no known_hosts issue,
&gt;&gt;&gt;&gt; that's different - I am using host based authentication itself, not
&gt;&gt;&gt;&gt; password, not certificate).
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Is host based auth supposed to work? Â Looks like Jsch supports it from
&gt;&gt;&gt;&gt; the examples, but do any of the Wagon providers support it?
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; From the client machine where Maven is running, to the server where I
&gt;&gt;&gt;&gt; want to transfer files, using the same user account Maven is running
&gt;&gt;&gt;&gt; as, works fine (outside of Maven):
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; cruise@reddog:/home/ccollins$ whoami
&gt;&gt;&gt;&gt; cruise
&gt;&gt;&gt;&gt; cruise@reddog:/home/ccollins$ ssh helios
&gt;&gt;&gt;&gt; Last login: Wed Apr Â 1 10:10:02 2009 from reddog.axiomainc.com
&gt;&gt;&gt;&gt; cruise@helios:~$
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Inside of Maven, using the Deploy Plugin (which depends on Wagon), I
&gt;&gt;&gt;&gt; get failures using either "scp" or "scpexe" in my
&gt;&gt;&gt;&gt; distributionManagement section (which as I understand it switches
&gt;&gt;&gt;&gt; between ssh and ssh external Wagon providers).
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; POM has distributionManagement set, I have tried with an without
&gt;&gt;&gt;&gt; settings.xml server sections (beyond user/pass most of the
&gt;&gt;&gt;&gt; "configuration" elements for the providers appear undocumented, or at
&gt;&gt;&gt;&gt; least I couldn't find it, so I am not sure if there is a config that
&gt;&gt;&gt;&gt; might help).
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; POM snippet (changed back and forth from scp to scpexe for various
&gt;&gt;&gt;&gt; attempts):
&gt;&gt;&gt;&gt; Â &lt;distributionManagement&gt;
&gt;&gt;&gt;&gt; Â  Â  Â  Â &lt;repository&gt;
&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;uniqueVersion&gt;false&lt;/uniqueVersion&gt;
&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;id&gt;axioma-maven2&lt;/id&gt;
&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;name&gt;Axioma Maven 2 Repository&lt;/name&gt;
&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;url&gt;scp://helios/intranet/maven2/repo&lt;/url&gt;
&gt;&gt;&gt;&gt; Â  Â  Â  Â &lt;/repository&gt;
&gt;&gt;&gt;&gt; Â  Â  Â  Â &lt;snapshotRepository&gt;
&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;uniqueVersion&gt;true&lt;/uniqueVersion&gt;
&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;id&gt;axioma-maven2snap&lt;/id&gt;
&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;name&gt;Axioma Maven 2 Snapshot Repository&lt;/name&gt;
&gt;&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;url&gt;scp://helios/intranet/maven2/reposnap&lt;/url&gt;
&gt;&gt;&gt;&gt; Â  Â  Â  Â &lt;/snapshotRepository&gt;
&gt;&gt;&gt;&gt; Â  Â &lt;/distributionManagement&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; SCP failure:
&gt;&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
&gt;&gt;&gt;&gt; [DEBUG] Â  (f) artifact = com.axiomainc:axioma-model:jar:0.5-SNAPSHOT
&gt;&gt;&gt;&gt; [DEBUG] Â  (f) attachedArtifacts = []
&gt;&gt;&gt;&gt; [DEBUG] Â  (f) deploymentRepository = [axioma-maven2snap] -&gt;
&gt;&gt;&gt;&gt; scp://helios/intranet/maven2/reposnap
&gt;&gt;&gt;&gt; [DEBUG] Â  (s) localRepository = [local] -&gt;
&gt;&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt;&gt; [DEBUG] Â  (f) packaging = jar
&gt;&gt;&gt;&gt; [DEBUG] Â  (f) pomFile =
&gt;&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/trunk/pom.xml
&gt;&gt;&gt;&gt; [DEBUG] Â  (f) updateReleaseInfo = false
&gt;&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt;&gt;&gt; The authenticity of host 'helios' can't be established.
&gt;&gt;&gt;&gt; RSA key fingerprint is 60:af:21:b2:c7:47:b2:92:60:56:2b:27:45:a3:e8:1d.
&gt;&gt;&gt;&gt; Are you sure you want to continue connecting? (yes/no): yes
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; (And NOTE, the user account DOES have ~/.ssh/known_hosts, but it
&gt;&gt;&gt;&gt; shouldn't even be trying to use that, ~/.ssh/config also exists and
&gt;&gt;&gt;&gt; lays out the host based authentication which works perfectly with no
&gt;&gt;&gt;&gt; prompts outside of maven.)
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; SCPEXE failure:
&gt;&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
&gt;&gt;&gt;&gt; [DEBUG] Â  (f) artifact = com.axiomainc:axioma-model:jar:0.5-SNAPSHOT
&gt;&gt;&gt;&gt; [DEBUG] Â  (f) attachedArtifacts = []
&gt;&gt;&gt;&gt; [DEBUG] Â  (f) deploymentRepository = [axioma-maven2snap] -&gt;
&gt;&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap
&gt;&gt;&gt;&gt; [DEBUG] Â  (s) localRepository = [local] -&gt;
&gt;&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt;&gt; [DEBUG] Â  (f) packaging = jar
&gt;&gt;&gt;&gt; [DEBUG] Â  (f) pomFile =
&gt;&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/trunk/pom.xml
&gt;&gt;&gt;&gt; [DEBUG] Â  (f) updateReleaseInfo = false
&gt;&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt;&gt;&gt; Uploading:
&gt;&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar
&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt; [INFO] Error deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt; [DEBUG] Trace
&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.LifecycleExecutionException: Error
&gt;&gt;&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
&gt;&gt;&gt;&gt; Caused by: org.apache.maven.plugin.MojoExecutionException: Error
&gt;&gt;&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:174)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
&gt;&gt;&gt;&gt; Â  Â  Â  Â ... 16 more
&gt;&gt;&gt;&gt; Caused by:
&gt;&gt;&gt;&gt; org.apache.maven.artifact.deployer.ArtifactDeploymentException:
&gt;&gt;&gt;&gt; Error deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:94)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:162)
&gt;&gt;&gt;&gt; Â  Â  Â  Â ... 18 more
&gt;&gt;&gt;&gt; Caused by: org.apache.maven.wagon.TransferFailedException: Exit code:
&gt;&gt;&gt;&gt; 1 - Warning: Identity file /home/cruise/.ssh/id_rsa not accessible: No
&gt;&gt;&gt;&gt; such file or directory.
&gt;&gt;&gt;&gt; scp:
&gt;&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.apache.maven.wagon.providers.ssh.external.ScpExternalWagon.executeScpCommand(ScpExternalWagon.java:236)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.apache.maven.wagon.providers.ssh.external.ScpExternalWagon.put(ScpExternalWagon.java:295)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:244)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:160)
&gt;&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt;&gt; org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80)
&gt;&gt;&gt;&gt; Â  Â  Â  Â ... 19 more
&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt; [INFO] Total time: 26 seconds
&gt;&gt;&gt;&gt; [INFO] Finished at: Wed Apr 01 10:47:28 EDT 2009
&gt;&gt;&gt;&gt; [INFO] Final Memory: 22M/81M
&gt;&gt;&gt;&gt; [INFO]
&gt;&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Any ideas, help, etc. Â I have fought with this for half a day now and
&gt;&gt;&gt;&gt; can't come up with anything. Â I can get other means of auth to work
&gt;&gt;&gt;&gt; (after jumping through some hoops and getting much deeper into this
&gt;&gt;&gt;&gt; than I ever wanted to be), password, cert, but they aren't supported
&gt;&gt;&gt;&gt; where I work so those won't be allowed.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; --
&gt;&gt; View this message in context:
&gt;&gt; http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23043194.html
&gt;&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;
&gt;&gt;
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt; 
&gt; 
&gt; 

-- 
View this message in context: http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23044542.html
Sent from the Wagon - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Using Wagon SSH or SSH external with HOST BASED authenticaton?</title>
<author><name>Dan Tran &lt;dantran@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3cc38ad92d0904141007q70206ca8h4a3e46f35bf47ec0@mail.gmail.com%3e"/>
<id>urn:uuid:%3cc38ad92d0904141007q70206ca8h4a3e46f35bf47ec0@mail-gmail-com%3e</id>
<updated>2009-04-14T17:07:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
scp thinks you are 'cruise' user which you dont have access it's
home/.ssh directory

-D

On Tue, Apr 14, 2009 at 9:43 AM, CharlieCollins
&lt;charlie.collins@gmail.com&gt; wrote:
&gt;
&gt; I have tried with 2.0.9 and 2.1.0, neither seems to work.
&gt;
&gt; I can't find any examples or docs about host based auth either. Is host
&gt; based auth supposed to work/supported?
&gt;
&gt;
&gt;
&gt; Dan Tran wrote:
&gt;&gt;
&gt;&gt; maven-2.1.0 has the latest wagon, see if it works for you.
&gt;&gt;
&gt;&gt; -D
&gt;&gt;
&gt;&gt; On Wed, Apr 1, 2009 at 8:16 AM, Charlie Collins
&gt;&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt;&gt; I am not able to transfer files over SCP from a user/machine setup
&gt;&gt;&gt; that is using host based authentication (note I am not talking about
&gt;&gt;&gt; the host authentication can't be verified yes/no known_hosts issue,
&gt;&gt;&gt; that's different - I am using host based authentication itself, not
&gt;&gt;&gt; password, not certificate).
&gt;&gt;&gt;
&gt;&gt;&gt; Is host based auth supposed to work? Â Looks like Jsch supports it from
&gt;&gt;&gt; the examples, but do any of the Wagon providers support it?
&gt;&gt;&gt;
&gt;&gt;&gt; From the client machine where Maven is running, to the server where I
&gt;&gt;&gt; want to transfer files, using the same user account Maven is running
&gt;&gt;&gt; as, works fine (outside of Maven):
&gt;&gt;&gt;
&gt;&gt;&gt; cruise@reddog:/home/ccollins$ whoami
&gt;&gt;&gt; cruise
&gt;&gt;&gt; cruise@reddog:/home/ccollins$ ssh helios
&gt;&gt;&gt; Last login: Wed Apr Â 1 10:10:02 2009 from reddog.axiomainc.com
&gt;&gt;&gt; cruise@helios:~$
&gt;&gt;&gt;
&gt;&gt;&gt; Inside of Maven, using the Deploy Plugin (which depends on Wagon), I
&gt;&gt;&gt; get failures using either "scp" or "scpexe" in my
&gt;&gt;&gt; distributionManagement section (which as I understand it switches
&gt;&gt;&gt; between ssh and ssh external Wagon providers).
&gt;&gt;&gt;
&gt;&gt;&gt; POM has distributionManagement set, I have tried with an without
&gt;&gt;&gt; settings.xml server sections (beyond user/pass most of the
&gt;&gt;&gt; "configuration" elements for the providers appear undocumented, or at
&gt;&gt;&gt; least I couldn't find it, so I am not sure if there is a config that
&gt;&gt;&gt; might help).
&gt;&gt;&gt;
&gt;&gt;&gt; POM snippet (changed back and forth from scp to scpexe for various
&gt;&gt;&gt; attempts):
&gt;&gt;&gt; Â &lt;distributionManagement&gt;
&gt;&gt;&gt; Â  Â  Â  Â &lt;repository&gt;
&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;uniqueVersion&gt;false&lt;/uniqueVersion&gt;
&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;id&gt;axioma-maven2&lt;/id&gt;
&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;name&gt;Axioma Maven 2 Repository&lt;/name&gt;
&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;url&gt;scp://helios/intranet/maven2/repo&lt;/url&gt;
&gt;&gt;&gt; Â  Â  Â  Â &lt;/repository&gt;
&gt;&gt;&gt; Â  Â  Â  Â &lt;snapshotRepository&gt;
&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;uniqueVersion&gt;true&lt;/uniqueVersion&gt;
&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;id&gt;axioma-maven2snap&lt;/id&gt;
&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;name&gt;Axioma Maven 2 Snapshot Repository&lt;/name&gt;
&gt;&gt;&gt; Â  Â  Â  Â  Â  Â &lt;url&gt;scp://helios/intranet/maven2/reposnap&lt;/url&gt;
&gt;&gt;&gt; Â  Â  Â  Â &lt;/snapshotRepository&gt;
&gt;&gt;&gt; Â  Â &lt;/distributionManagement&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; SCP failure:
&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
&gt;&gt;&gt; [DEBUG] Â  (f) artifact = com.axiomainc:axioma-model:jar:0.5-SNAPSHOT
&gt;&gt;&gt; [DEBUG] Â  (f) attachedArtifacts = []
&gt;&gt;&gt; [DEBUG] Â  (f) deploymentRepository = [axioma-maven2snap] -&gt;
&gt;&gt;&gt; scp://helios/intranet/maven2/reposnap
&gt;&gt;&gt; [DEBUG] Â  (s) localRepository = [local] -&gt;
&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt; [DEBUG] Â  (f) packaging = jar
&gt;&gt;&gt; [DEBUG] Â  (f) pomFile =
&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/trunk/pom.xml
&gt;&gt;&gt; [DEBUG] Â  (f) updateReleaseInfo = false
&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt;&gt; The authenticity of host 'helios' can't be established.
&gt;&gt;&gt; RSA key fingerprint is 60:af:21:b2:c7:47:b2:92:60:56:2b:27:45:a3:e8:1d.
&gt;&gt;&gt; Are you sure you want to continue connecting? (yes/no): yes
&gt;&gt;&gt;
&gt;&gt;&gt; (And NOTE, the user account DOES have ~/.ssh/known_hosts, but it
&gt;&gt;&gt; shouldn't even be trying to use that, ~/.ssh/config also exists and
&gt;&gt;&gt; lays out the host based authentication which works perfectly with no
&gt;&gt;&gt; prompts outside of maven.)
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; SCPEXE failure:
&gt;&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
&gt;&gt;&gt; [DEBUG] Â  (f) artifact = com.axiomainc:axioma-model:jar:0.5-SNAPSHOT
&gt;&gt;&gt; [DEBUG] Â  (f) attachedArtifacts = []
&gt;&gt;&gt; [DEBUG] Â  (f) deploymentRepository = [axioma-maven2snap] -&gt;
&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap
&gt;&gt;&gt; [DEBUG] Â  (s) localRepository = [local] -&gt;
&gt;&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt;&gt; [DEBUG] Â  (f) packaging = jar
&gt;&gt;&gt; [DEBUG] Â  (f) pomFile =
&gt;&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/trunk/pom.xml
&gt;&gt;&gt; [DEBUG] Â  (f) updateReleaseInfo = false
&gt;&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt;&gt; altDeploymentRepository = null
&gt;&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt;&gt; Uploading:
&gt;&gt;&gt; scpexe://helios/intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar
&gt;&gt;&gt; [INFO]
&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt;&gt; [INFO]
&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt; [INFO] Error deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt;&gt; scp:
&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; [INFO]
&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt; [DEBUG] Trace
&gt;&gt;&gt; org.apache.maven.lifecycle.LifecycleExecutionException: Error
&gt;&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt;&gt; scp:
&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
&gt;&gt;&gt; Â  Â  Â  Â at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
&gt;&gt;&gt; Â  Â  Â  Â at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
&gt;&gt;&gt; Â  Â  Â  Â at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
&gt;&gt;&gt; Â  Â  Â  Â at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt;&gt; Â  Â  Â  Â at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
&gt;&gt;&gt; Â  Â  Â  Â at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
&gt;&gt;&gt; Â  Â  Â  Â at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
&gt;&gt;&gt; Caused by: org.apache.maven.plugin.MojoExecutionException: Error
&gt;&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt;&gt; scp:
&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:174)
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
&gt;&gt;&gt; Â  Â  Â  Â ... 16 more
&gt;&gt;&gt; Caused by:
&gt;&gt;&gt; org.apache.maven.artifact.deployer.ArtifactDeploymentException:
&gt;&gt;&gt; Error deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt;&gt; scp:
&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:94)
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:162)
&gt;&gt;&gt; Â  Â  Â  Â ... 18 more
&gt;&gt;&gt; Caused by: org.apache.maven.wagon.TransferFailedException: Exit code:
&gt;&gt;&gt; 1 - Warning: Identity file /home/cruise/.ssh/id_rsa not accessible: No
&gt;&gt;&gt; such file or directory.
&gt;&gt;&gt; scp:
&gt;&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt;&gt; Permission denied
&gt;&gt;&gt;
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; org.apache.maven.wagon.providers.ssh.external.ScpExternalWagon.executeScpCommand(ScpExternalWagon.java:236)
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; org.apache.maven.wagon.providers.ssh.external.ScpExternalWagon.put(ScpExternalWagon.java:295)
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:244)
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:160)
&gt;&gt;&gt; Â  Â  Â  Â at
&gt;&gt;&gt; org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80)
&gt;&gt;&gt; Â  Â  Â  Â ... 19 more
&gt;&gt;&gt; [INFO]
&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt; [INFO] Total time: 26 seconds
&gt;&gt;&gt; [INFO] Finished at: Wed Apr 01 10:47:28 EDT 2009
&gt;&gt;&gt; [INFO] Final Memory: 22M/81M
&gt;&gt;&gt; [INFO]
&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Any ideas, help, etc. Â I have fought with this for half a day now and
&gt;&gt;&gt; can't come up with anything. Â I can get other means of auth to work
&gt;&gt;&gt; (after jumping through some hoops and getting much deeper into this
&gt;&gt;&gt; than I ever wanted to be), password, cert, but they aren't supported
&gt;&gt;&gt; where I work so those won't be allowed.
&gt;&gt;&gt;
&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;
&gt; --
&gt; View this message in context: http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23043194.html
&gt; Sent from the Wagon - Users mailing list archive at Nabble.com.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Using Wagon SSH or SSH external with HOST BASED authenticaton?</title>
<author><name>CharlieCollins &lt;charlie.collins@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3c23043194.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c23043194-post@talk-nabble-com%3e</id>
<updated>2009-04-14T16:43:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

I have tried with 2.0.9 and 2.1.0, neither seems to work.

I can't find any examples or docs about host based auth either. Is host
based auth supposed to work/supported? 



Dan Tran wrote:
&gt; 
&gt; maven-2.1.0 has the latest wagon, see if it works for you.
&gt; 
&gt; -D
&gt; 
&gt; On Wed, Apr 1, 2009 at 8:16 AM, Charlie Collins
&gt; &lt;charlie.collins@gmail.com&gt; wrote:
&gt;&gt; I am not able to transfer files over SCP from a user/machine setup
&gt;&gt; that is using host based authentication (note I am not talking about
&gt;&gt; the host authentication can't be verified yes/no known_hosts issue,
&gt;&gt; that's different - I am using host based authentication itself, not
&gt;&gt; password, not certificate).
&gt;&gt;
&gt;&gt; Is host based auth supposed to work? Â Looks like Jsch supports it from
&gt;&gt; the examples, but do any of the Wagon providers support it?
&gt;&gt;
&gt;&gt; From the client machine where Maven is running, to the server where I
&gt;&gt; want to transfer files, using the same user account Maven is running
&gt;&gt; as, works fine (outside of Maven):
&gt;&gt;
&gt;&gt; cruise@reddog:/home/ccollins$ whoami
&gt;&gt; cruise
&gt;&gt; cruise@reddog:/home/ccollins$ ssh helios
&gt;&gt; Last login: Wed Apr Â 1 10:10:02 2009 from reddog.axiomainc.com
&gt;&gt; cruise@helios:~$
&gt;&gt;
&gt;&gt; Inside of Maven, using the Deploy Plugin (which depends on Wagon), I
&gt;&gt; get failures using either "scp" or "scpexe" in my
&gt;&gt; distributionManagement section (which as I understand it switches
&gt;&gt; between ssh and ssh external Wagon providers).
&gt;&gt;
&gt;&gt; POM has distributionManagement set, I have tried with an without
&gt;&gt; settings.xml server sections (beyond user/pass most of the
&gt;&gt; "configuration" elements for the providers appear undocumented, or at
&gt;&gt; least I couldn't find it, so I am not sure if there is a config that
&gt;&gt; might help).
&gt;&gt;
&gt;&gt; POM snippet (changed back and forth from scp to scpexe for various
&gt;&gt; attempts):
&gt;&gt; Â &lt;distributionManagement&gt;
&gt;&gt; Â  Â  Â  Â &lt;repository&gt;
&gt;&gt; Â  Â  Â  Â  Â  Â &lt;uniqueVersion&gt;false&lt;/uniqueVersion&gt;
&gt;&gt; Â  Â  Â  Â  Â  Â &lt;id&gt;axioma-maven2&lt;/id&gt;
&gt;&gt; Â  Â  Â  Â  Â  Â &lt;name&gt;Axioma Maven 2 Repository&lt;/name&gt;
&gt;&gt; Â  Â  Â  Â  Â  Â &lt;url&gt;scp://helios/intranet/maven2/repo&lt;/url&gt;
&gt;&gt; Â  Â  Â  Â &lt;/repository&gt;
&gt;&gt; Â  Â  Â  Â &lt;snapshotRepository&gt;
&gt;&gt; Â  Â  Â  Â  Â  Â &lt;uniqueVersion&gt;true&lt;/uniqueVersion&gt;
&gt;&gt; Â  Â  Â  Â  Â  Â &lt;id&gt;axioma-maven2snap&lt;/id&gt;
&gt;&gt; Â  Â  Â  Â  Â  Â &lt;name&gt;Axioma Maven 2 Snapshot Repository&lt;/name&gt;
&gt;&gt; Â  Â  Â  Â  Â  Â &lt;url&gt;scp://helios/intranet/maven2/reposnap&lt;/url&gt;
&gt;&gt; Â  Â  Â  Â &lt;/snapshotRepository&gt;
&gt;&gt; Â  Â &lt;/distributionManagement&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; SCP failure:
&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
&gt;&gt; [DEBUG] Â  (f) artifact = com.axiomainc:axioma-model:jar:0.5-SNAPSHOT
&gt;&gt; [DEBUG] Â  (f) attachedArtifacts = []
&gt;&gt; [DEBUG] Â  (f) deploymentRepository = [axioma-maven2snap] -&gt;
&gt;&gt; scp://helios/intranet/maven2/reposnap
&gt;&gt; [DEBUG] Â  (s) localRepository = [local] -&gt;
&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt; [DEBUG] Â  (f) packaging = jar
&gt;&gt; [DEBUG] Â  (f) pomFile =
&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/trunk/pom.xml
&gt;&gt; [DEBUG] Â  (f) updateReleaseInfo = false
&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt; altDeploymentRepository = null
&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt; The authenticity of host 'helios' can't be established.
&gt;&gt; RSA key fingerprint is 60:af:21:b2:c7:47:b2:92:60:56:2b:27:45:a3:e8:1d.
&gt;&gt; Are you sure you want to continue connecting? (yes/no): yes
&gt;&gt;
&gt;&gt; (And NOTE, the user account DOES have ~/.ssh/known_hosts, but it
&gt;&gt; shouldn't even be trying to use that, ~/.ssh/config also exists and
&gt;&gt; lays out the host based authentication which works perfectly with no
&gt;&gt; prompts outside of maven.)
&gt;&gt;
&gt;&gt;
&gt;&gt; SCPEXE failure:
&gt;&gt; [DEBUG] Configuring mojo
&gt;&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
&gt;&gt; [DEBUG] Â  (f) artifact = com.axiomainc:axioma-model:jar:0.5-SNAPSHOT
&gt;&gt; [DEBUG] Â  (f) attachedArtifacts = []
&gt;&gt; [DEBUG] Â  (f) deploymentRepository = [axioma-maven2snap] -&gt;
&gt;&gt; scpexe://helios/intranet/maven2/reposnap
&gt;&gt; [DEBUG] Â  (s) localRepository = [local] -&gt;
&gt;&gt; file:///home/cruise/.m2/repository
&gt;&gt; [DEBUG] Â  (f) packaging = jar
&gt;&gt; [DEBUG] Â  (f) pomFile =
&gt;&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/trunk/pom.xml
&gt;&gt; [DEBUG] Â  (f) updateReleaseInfo = false
&gt;&gt; [DEBUG] -- end configuration --
&gt;&gt; [INFO] [deploy:deploy]
&gt;&gt; altDeploymentRepository = null
&gt;&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt;&gt; Uploading:
&gt;&gt; scpexe://helios/intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar
&gt;&gt; [INFO]
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt; [INFO]
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [INFO] Error deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt; scp:
&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt; Permission denied
&gt;&gt;
&gt;&gt;
&gt;&gt; [INFO]
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [DEBUG] Trace
&gt;&gt; org.apache.maven.lifecycle.LifecycleExecutionException: Error
&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt; scp:
&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt; Permission denied
&gt;&gt;
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
&gt;&gt; Â  Â  Â  Â at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
&gt;&gt; Â  Â  Â  Â at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
&gt;&gt; Â  Â  Â  Â at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
&gt;&gt; Â  Â  Â  Â at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt;&gt; Â  Â  Â  Â at java.lang.reflect.Method.invoke(Method.java:597)
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
&gt;&gt; Â  Â  Â  Â at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
&gt;&gt; Â  Â  Â  Â at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
&gt;&gt; Caused by: org.apache.maven.plugin.MojoExecutionException: Error
&gt;&gt; deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt; scp:
&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt; Permission denied
&gt;&gt;
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:174)
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
&gt;&gt; Â  Â  Â  Â ... 16 more
&gt;&gt; Caused by:
&gt;&gt; org.apache.maven.artifact.deployer.ArtifactDeploymentException:
&gt;&gt; Error deploying artifact: Exit code: 1 - Warning: Identity file
&gt;&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt;&gt; scp:
&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt; Permission denied
&gt;&gt;
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:94)
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:162)
&gt;&gt; Â  Â  Â  Â ... 18 more
&gt;&gt; Caused by: org.apache.maven.wagon.TransferFailedException: Exit code:
&gt;&gt; 1 - Warning: Identity file /home/cruise/.ssh/id_rsa not accessible: No
&gt;&gt; such file or directory.
&gt;&gt; scp:
&gt;&gt; /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt;&gt; Permission denied
&gt;&gt;
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; org.apache.maven.wagon.providers.ssh.external.ScpExternalWagon.executeScpCommand(ScpExternalWagon.java:236)
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; org.apache.maven.wagon.providers.ssh.external.ScpExternalWagon.put(ScpExternalWagon.java:295)
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:244)
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:160)
&gt;&gt; Â  Â  Â  Â at
&gt;&gt; org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80)
&gt;&gt; Â  Â  Â  Â ... 19 more
&gt;&gt; [INFO]
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [INFO] Total time: 26 seconds
&gt;&gt; [INFO] Finished at: Wed Apr 01 10:47:28 EDT 2009
&gt;&gt; [INFO] Final Memory: 22M/81M
&gt;&gt; [INFO]
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;
&gt;&gt;
&gt;&gt; Any ideas, help, etc. Â I have fought with this for half a day now and
&gt;&gt; can't come up with anything. Â I can get other means of auth to work
&gt;&gt; (after jumping through some hoops and getting much deeper into this
&gt;&gt; than I ever wanted to be), password, cert, but they aren't supported
&gt;&gt; where I work so those won't be allowed.
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt;&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;&gt;
&gt;&gt;
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt; 
&gt; 
&gt; 

-- 
View this message in context: http://www.nabble.com/Using-Wagon-SSH-or-SSH-external-with-HOST-BASED-authenticaton--tp22829131p23043194.html
Sent from the Wagon - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>SSH External -o BatchMode yes</title>
<author><name>Tim Riley &lt;riley.timothy@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3c24c549a0904131830u6d3f81f2x2b77135b6111542e@mail.gmail.com%3e"/>
<id>urn:uuid:%3c24c549a0904131830u6d3f81f2x2b77135b6111542e@mail-gmail-com%3e</id>
<updated>2009-04-14T01:30:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
 I have run into a situation with the wagon-ssh-external version 1.0-beta-5
and maven 2.1.0. Before I attempt to fix the problem myself I wanted to ask
here if there is another solution.

I'm currently using Reflection Secure IT, which requires all SSH -o options
be placed in quotations unfortunately I cannot deviate from this technology.
The problem is that ScpExternalWagon.java places the BatchMode option as an
argument without quotes resulting in a failing SSH command. The way I see it
I can branch the code and attempt to add another wagon provider, but I have
yet to find decent documentation as how this is done (If you know of any
please forward it my way). My other option and my prefered option is to
submit a patch that gets rolled into the nightly build of the wagon
provider.

Line 251 of ScpExternalWagon.java
   cl.createArgument().setValue( "BatchMode yes" );

Results in...
ssh -o BatchMode yes [REST OF COMMAND]

What I need is...
ssh -o "BatchMode yes" [REST OF COMMAND]

Any help would be much appreciated as this is a time critical issue for me
and the success of maven at my organization.

Sincerely,
Tim


</pre>
</div>
</content>
</entry>
<entry>
<title>How is necessary to make webdav works behind a proxy?</title>
<author><name>Clovis.SERAGIOTTO@raibau.at</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3cOFABCFA07B.2674FFB3-ONC125758D.004EACE2-C125758D.00518830@raibau.at%3e"/>
<id>urn:uuid:%3cOFABCFA07B-2674FFB3-ONC125758D-004EACE2-C125758D-00518830@raibau-at%3e</id>
<updated>2009-04-03T14:49:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

according to WAGON-82, it is possible to use webdav behind a proxy 
starting with the fix version 1.0-beta-3. I tried to use maven-2.1.0 
(which uses wagon 1.0-beta-5) and got an exception:

03.04.2009 16:39:34 
hidden.org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing 
request: Connection refused: connect
03.04.2009 16:39:34 
hidden.org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
03.04.2009 16:39:35 
hidden.org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing 
request: Connection refused: connect
03.04.2009 16:39:35 
hidden.org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
03.04.2009 16:39:36 
hidden.org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing 
request: Connection refused: connect
03.04.2009 16:39:36 
hidden.org.apache.commons.httpclient.HttpMethodDirector executeWithRetry

[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Error retrieving previous build number for artifact 
'at.raibau:yapp:maven-plugin': repository metadata for: 'snapshot 
at.raibau:yapp:0.1.2-SNAPSHOT' could not be retrieved from repository: 
maven-yapp-plugin.googlecode.snapshots due to an error: Connection 
refused: connect


I wrote a small Java program (using the properties https.proxyHost and 
https.proxyPort) just to check if the repository url is correct, and yes, 
it is correct.

Is any extra configuration needed to make webdav work behind a proxy?

Thanks

-- clovis


______________________________________
Diese E-Mail kann vertrauliche und geschuetzte Informationen enthalten. Wenn diese E-Mail
nicht fÃ¼r Sie bestimmt ist, bitten wir Sie, uns unverzueglich zu informieren und sie zu loeschen.


This e-mail message may contain information, which is confidential and protected. If you are
not the intended recipient of this message, we ask you to inform us immediately and delete
the message afterwards.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Re: Is there a workaround for WAGON-221?</title>
<author><name>Clovis.SERAGIOTTO@raibau.at</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3cOF0353FB78.9D0FE4F5-ONC125758D.004F3DCB-C125758D.00506E54@raibau.at%3e"/>
<id>urn:uuid:%3cOF0353FB78-9D0FE4F5-ONC125758D-004F3DCB-C125758D-00506E54@raibau-at%3e</id>
<updated>2009-04-03T14:37:44Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I cannot use maven 2.1.0. I won't list all the JIRA links that are 
responsible for this decision, the fact is, I just cannot use maven 2.1.0. 
That is why I asked if there is a workaround for WAGON-221. 

I also know that I cannot update the wagon version to 1.0-beta-5 in my pom 
(or even 1.0-beta-4) because it requires maven 2.1.0.

-- clovis

______________________________________
Diese E-Mail kann vertrauliche und geschuetzte Informationen enthalten. Wenn diese E-Mail
nicht fÃ¼r Sie bestimmt ist, bitten wir Sie, uns unverzueglich zu informieren und sie zu loeschen.


This e-mail message may contain information, which is confidential and protected. If you are
not the intended recipient of this message, we ask you to inform us immediately and delete
the message afterwards.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Is there a workaround for WAGON-221?</title>
<author><name>Wendy Smoak &lt;wsmoak@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3cadba96190904030719l1d1d4a00j840fee4693472db2@mail.gmail.com%3e"/>
<id>urn:uuid:%3cadba96190904030719l1d1d4a00j840fee4693472db2@mail-gmail-com%3e</id>
<updated>2009-04-03T14:19:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
n Fri, Apr 3, 2009 at 6:56 AM,  &lt;Clovis.SERAGIOTTO@raibau.at&gt; wrote:

&gt; the fix version for WAGON-221 is 1.0-beta-5, which, according to this user
&gt; list, requires maven 1.0.x. But in the case I do need maven-2.0.9, is
&gt; there a workaround?

According to the pom [1], Maven 2.0.9 uses Wagon 1.0-beta-2.  I don't
think you can easily substitute a different version though, since it's
all bundled in lib/maven-2.0.9-uber.jar.

Try using Maven 2.1.0, which does use Wagon 1.0-beta-5.

[1] http://svn.apache.org/repos/asf/maven/components/tags/maven-2.0.9/pom.xml

-- 
Wendy

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



</pre>
</div>
</content>
</entry>
<entry>
<title>wagon-scm:1.0-beta-5: Error checking out...</title>
<author><name>Clovis.SERAGIOTTO@raibau.at</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3cOFE69A131B.CD51D70A-ONC125758D.004CC8EF-C125758D.004E2301@raibau.at%3e"/>
<id>urn:uuid:%3cOFE69A131B-CD51D70A-ONC125758D-004CC8EF-C125758D-004E2301@raibau-at%3e</id>
<updated>2009-04-03T14:12:41Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello, 

I am using maven 2.1.0 and the following configuration in my pom:

      &lt;extension&gt;
        &lt;groupId&gt;org.apache.maven.wagon&lt;/groupId&gt;
        &lt;artifactId&gt;wagon-scm&lt;/artifactId&gt;
        &lt;version&gt;1.0-beta-5&lt;/version&gt;
      &lt;/extension&gt;
      &lt;extension&gt;
        &lt;groupId&gt;org.apache.maven.scm&lt;/groupId&gt;
        &lt;artifactId&gt;maven-scm-manager-plexus&lt;/artifactId&gt;
        &lt;version&gt;1.0&lt;/version&gt;
      &lt;/extension&gt;
      &lt;extension&gt;
        &lt;groupId&gt;org.apache.maven.scm&lt;/groupId&gt;
        &lt;artifactId&gt;maven-scm-provider-svnexe&lt;/artifactId&gt;
        &lt;version&gt;1.0&lt;/version&gt;
      &lt;/extension&gt;
 
I don't know if the configuration for the SCMs is correct; I copied it 
from the pom of org.apache.maven.wagon:wagon-scm:1.0-beta-5. Anyway, when 
I try to deploy the project, I get an exception:

-------------------------
[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from 
maven-yapp-plugin.googlecode.snapshots
[DEBUG] Connecting to repository: 'maven-yapp-plugin.googlecode.snapshots' 
with url: 
'scm:svn:https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots'.
[INFO] Executing: svn --username wbsser@raibau.at --password ***** 
09:38:17" --non-interactive checkout 
https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots/at/raibau/yapp/0.1.2-SNAPSHOT

0.1.2-SNAPSHOT
[INFO] Working directory: 
c:\DOCUME~1\wbsser\LOCALS~1\Temp\wagon-scm1207696292.checkout\at\raibau\yapp
[INFO] repository metadata for: 'snapshot at.raibau:yapp:0.1.2-SNAPSHOT' 
could not be found on repository: maven-yapp-plugin.googlecode.snapshots, 
so will be created
[DEBUG] not adding permissions to wagon connection
Uploading: 
scm:svn:https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots/at/raibau/yapp/0.1.2-SNAPSHOT/yapp-0.1.2-20090403.134343-1.jar
[INFO] Executing: svn --username wbsser@raibau.at --password ***** 
09:38:17" --non-interactive list 
https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots/at/raibau/yapp/0.1.2-SNAPSHOT
[INFO] Working directory: c:\DOCUME~1\wbsser\LOCALS~1\Temp
[INFO] Executing: svn --username wbsser@raibau.at --password ***** 
09:38:17" --non-interactive list 
https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots/at/raibau/yapp
[INFO] Working directory: c:\DOCUME~1\wbsser\LOCALS~1\Temp
[INFO] Executing: svn --username wbsser@raibau.at --password ***** 
09:38:17" --non-interactive list 
https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots/at/raibau
[INFO] Working directory: c:\DOCUME~1\wbsser\LOCALS~1\Temp
[INFO] Executing: svn --username wbsser@raibau.at --password ***** 
09:38:17" --non-interactive list 
https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots/at
[INFO] Working directory: c:\DOCUME~1\wbsser\LOCALS~1\Temp
[INFO] Executing: svn --username wbsser@raibau.at --password ***** 
09:38:17" --non-interactive checkout 
https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots/ 
wagon-scm1275150700.checkout
[INFO] Working directory: c:\DOCUME~1\wbsser\LOCALS~1\Temp
[DEBUG] Unable to commit file. The svn command failed. svn: OPTIONS of 
'https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots': 
authorization failed (https://maven-yapp-plugin.googlecode.com)

org.apache.maven.scm.ScmException: Unable to commit file. The svn command 
failed. svn: OPTIONS of 
'https://maven-yapp-plugin.googlecode.com/svn/maven2-snapshots': 
authorization failed (https://maven-yapp-plugin.googlecode.com)

        at 
org.apache.maven.wagon.providers.scm.ScmWagon.checkScmResult(ScmWagon.java:525)
        at 
org.apache.maven.wagon.providers.scm.ScmWagon.checkOut(ScmWagon.java:399)
        at 
org.apache.maven.wagon.providers.scm.ScmWagon.putInternal(ScmWagon.java:285)
        at 
org.apache.maven.wagon.providers.scm.ScmWagon.put(ScmWagon.java:254)
        at 
org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:262)
        at 
org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:172)
        at 
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107)
        at 
org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173)
.
.
.
-------------------------

When I input the svn checkout command myself with exactly the same 
arguments (except for 09:38:17" and for the password), I have no problems. 


What is the reason for the exception? Is there a workaround? And by the 
way, what does 09:38:17" mean? 

Thanks

-- clovis

______________________________________
Diese E-Mail kann vertrauliche und geschuetzte Informationen enthalten. Wenn diese E-Mail
nicht fÃ¼r Sie bestimmt ist, bitten wir Sie, uns unverzueglich zu informieren und sie zu loeschen.


This e-mail message may contain information, which is confidential and protected. If you are
not the intended recipient of this message, we ask you to inform us immediately and delete
the message afterwards.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Is there a workaround for WAGON-221?</title>
<author><name>Clovis.SERAGIOTTO@raibau.at</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3cOF1D63D804.F3823C06-ONC125758D.004C557C-C125758D.004CA064@raibau.at%3e"/>
<id>urn:uuid:%3cOF1D63D804-F3823C06-ONC125758D-004C557C-C125758D-004CA064@raibau-at%3e</id>
<updated>2009-04-03T13:56:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

the fix version for WAGON-221 is 1.0-beta-5, which, according to this user 
list, requires maven 1.0.x. But in the case I do need maven-2.0.9, is 
there a workaround?

Thanks

-- clovis

______________________________________
Diese E-Mail kann vertrauliche und geschuetzte Informationen enthalten. Wenn diese E-Mail
nicht fÃ¼r Sie bestimmt ist, bitten wir Sie, uns unverzueglich zu informieren und sie zu loeschen.


This e-mail message may contain information, which is confidential and protected. If you are
not the intended recipient of this message, we ask you to inform us immediately and delete
the message afterwards.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Using Wagon SSH or SSH external with HOST BASED authenticaton?</title>
<author><name>Dan Tran &lt;dantran@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3cc38ad92d0904010848t373b97a3v3fb57a1d2294484c@mail.gmail.com%3e"/>
<id>urn:uuid:%3cc38ad92d0904010848t373b97a3v3fb57a1d2294484c@mail-gmail-com%3e</id>
<updated>2009-04-01T15:48:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
maven-2.1.0 has the latest wagon, see if it works for you.

-D

On Wed, Apr 1, 2009 at 8:16 AM, Charlie Collins
&lt;charlie.collins@gmail.com&gt; wrote:
&gt; I am not able to transfer files over SCP from a user/machine setup
&gt; that is using host based authentication (note I am not talking about
&gt; the host authentication can't be verified yes/no known_hosts issue,
&gt; that's different - I am using host based authentication itself, not
&gt; password, not certificate).
&gt;
&gt; Is host based auth supposed to work? Â Looks like Jsch supports it from
&gt; the examples, but do any of the Wagon providers support it?
&gt;
&gt; From the client machine where Maven is running, to the server where I
&gt; want to transfer files, using the same user account Maven is running
&gt; as, works fine (outside of Maven):
&gt;
&gt; cruise@reddog:/home/ccollins$ whoami
&gt; cruise
&gt; cruise@reddog:/home/ccollins$ ssh helios
&gt; Last login: Wed Apr Â 1 10:10:02 2009 from reddog.axiomainc.com
&gt; cruise@helios:~$
&gt;
&gt; Inside of Maven, using the Deploy Plugin (which depends on Wagon), I
&gt; get failures using either "scp" or "scpexe" in my
&gt; distributionManagement section (which as I understand it switches
&gt; between ssh and ssh external Wagon providers).
&gt;
&gt; POM has distributionManagement set, I have tried with an without
&gt; settings.xml server sections (beyond user/pass most of the
&gt; "configuration" elements for the providers appear undocumented, or at
&gt; least I couldn't find it, so I am not sure if there is a config that
&gt; might help).
&gt;
&gt; POM snippet (changed back and forth from scp to scpexe for various attempts):
&gt; Â &lt;distributionManagement&gt;
&gt; Â  Â  Â  Â &lt;repository&gt;
&gt; Â  Â  Â  Â  Â  Â &lt;uniqueVersion&gt;false&lt;/uniqueVersion&gt;
&gt; Â  Â  Â  Â  Â  Â &lt;id&gt;axioma-maven2&lt;/id&gt;
&gt; Â  Â  Â  Â  Â  Â &lt;name&gt;Axioma Maven 2 Repository&lt;/name&gt;
&gt; Â  Â  Â  Â  Â  Â &lt;url&gt;scp://helios/intranet/maven2/repo&lt;/url&gt;
&gt; Â  Â  Â  Â &lt;/repository&gt;
&gt; Â  Â  Â  Â &lt;snapshotRepository&gt;
&gt; Â  Â  Â  Â  Â  Â &lt;uniqueVersion&gt;true&lt;/uniqueVersion&gt;
&gt; Â  Â  Â  Â  Â  Â &lt;id&gt;axioma-maven2snap&lt;/id&gt;
&gt; Â  Â  Â  Â  Â  Â &lt;name&gt;Axioma Maven 2 Snapshot Repository&lt;/name&gt;
&gt; Â  Â  Â  Â  Â  Â &lt;url&gt;scp://helios/intranet/maven2/reposnap&lt;/url&gt;
&gt; Â  Â  Â  Â &lt;/snapshotRepository&gt;
&gt; Â  Â &lt;/distributionManagement&gt;
&gt;
&gt;
&gt; SCP failure:
&gt; [DEBUG] Configuring mojo
&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
&gt; [DEBUG] Â  (f) artifact = com.axiomainc:axioma-model:jar:0.5-SNAPSHOT
&gt; [DEBUG] Â  (f) attachedArtifacts = []
&gt; [DEBUG] Â  (f) deploymentRepository = [axioma-maven2snap] -&gt;
&gt; scp://helios/intranet/maven2/reposnap
&gt; [DEBUG] Â  (s) localRepository = [local] -&gt; file:///home/cruise/.m2/repository
&gt; [DEBUG] Â  (f) packaging = jar
&gt; [DEBUG] Â  (f) pomFile =
&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/trunk/pom.xml
&gt; [DEBUG] Â  (f) updateReleaseInfo = false
&gt; [DEBUG] -- end configuration --
&gt; [INFO] [deploy:deploy]
&gt; altDeploymentRepository = null
&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt; The authenticity of host 'helios' can't be established.
&gt; RSA key fingerprint is 60:af:21:b2:c7:47:b2:92:60:56:2b:27:45:a3:e8:1d.
&gt; Are you sure you want to continue connecting? (yes/no): yes
&gt;
&gt; (And NOTE, the user account DOES have ~/.ssh/known_hosts, but it
&gt; shouldn't even be trying to use that, ~/.ssh/config also exists and
&gt; lays out the host based authentication which works perfectly with no
&gt; prompts outside of maven.)
&gt;
&gt;
&gt; SCPEXE failure:
&gt; [DEBUG] Configuring mojo
&gt; 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
&gt; [DEBUG] Â  (f) artifact = com.axiomainc:axioma-model:jar:0.5-SNAPSHOT
&gt; [DEBUG] Â  (f) attachedArtifacts = []
&gt; [DEBUG] Â  (f) deploymentRepository = [axioma-maven2snap] -&gt;
&gt; scpexe://helios/intranet/maven2/reposnap
&gt; [DEBUG] Â  (s) localRepository = [local] -&gt; file:///home/cruise/.m2/repository
&gt; [DEBUG] Â  (f) packaging = jar
&gt; [DEBUG] Â  (f) pomFile =
&gt; /opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/trunk/pom.xml
&gt; [DEBUG] Â  (f) updateReleaseInfo = false
&gt; [DEBUG] -- end configuration --
&gt; [INFO] [deploy:deploy]
&gt; altDeploymentRepository = null
&gt; [INFO] Retrieving previous build number from axioma-maven2snap
&gt; Uploading: scpexe://helios/intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar
&gt; [INFO] ------------------------------------------------------------------------
&gt; [ERROR] BUILD ERROR
&gt; [INFO] ------------------------------------------------------------------------
&gt; [INFO] Error deploying artifact: Exit code: 1 - Warning: Identity file
&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt; scp: /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt; Permission denied
&gt;
&gt;
&gt; [INFO] ------------------------------------------------------------------------
&gt; [DEBUG] Trace
&gt; org.apache.maven.lifecycle.LifecycleExecutionException: Error
&gt; deploying artifact: Exit code: 1 - Warning: Identity file
&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt; scp: /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt; Permission denied
&gt;
&gt; Â  Â  Â  Â at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
&gt; Â  Â  Â  Â at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
&gt; Â  Â  Â  Â at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
&gt; Â  Â  Â  Â at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
&gt; Â  Â  Â  Â at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
&gt; Â  Â  Â  Â at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
&gt; Â  Â  Â  Â at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
&gt; Â  Â  Â  Â at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
&gt; Â  Â  Â  Â at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
&gt; Â  Â  Â  Â at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt; Â  Â  Â  Â at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt; Â  Â  Â  Â at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt; Â  Â  Â  Â at java.lang.reflect.Method.invoke(Method.java:597)
&gt; Â  Â  Â  Â at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
&gt; Â  Â  Â  Â at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt; Â  Â  Â  Â at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
&gt; Â  Â  Â  Â at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
&gt; Caused by: org.apache.maven.plugin.MojoExecutionException: Error
&gt; deploying artifact: Exit code: 1 - Warning: Identity file
&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt; scp: /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt; Permission denied
&gt;
&gt; Â  Â  Â  Â at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:174)
&gt; Â  Â  Â  Â at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
&gt; Â  Â  Â  Â at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
&gt; Â  Â  Â  Â ... 16 more
&gt; Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException:
&gt; Error deploying artifact: Exit code: 1 - Warning: Identity file
&gt; /home/cruise/.ssh/id_rsa not accessible: No such file or directory.
&gt; scp: /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt; Permission denied
&gt;
&gt; Â  Â  Â  Â at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:94)
&gt; Â  Â  Â  Â at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:162)
&gt; Â  Â  Â  Â ... 18 more
&gt; Caused by: org.apache.maven.wagon.TransferFailedException: Exit code:
&gt; 1 - Warning: Identity file /home/cruise/.ssh/id_rsa not accessible: No
&gt; such file or directory.
&gt; scp: /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
&gt; Permission denied
&gt;
&gt; Â  Â  Â  Â at org.apache.maven.wagon.providers.ssh.external.ScpExternalWagon.executeScpCommand(ScpExternalWagon.java:236)
&gt; Â  Â  Â  Â at org.apache.maven.wagon.providers.ssh.external.ScpExternalWagon.put(ScpExternalWagon.java:295)
&gt; Â  Â  Â  Â at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:244)
&gt; Â  Â  Â  Â at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:160)
&gt; Â  Â  Â  Â at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80)
&gt; Â  Â  Â  Â ... 19 more
&gt; [INFO] ------------------------------------------------------------------------
&gt; [INFO] Total time: 26 seconds
&gt; [INFO] Finished at: Wed Apr 01 10:47:28 EDT 2009
&gt; [INFO] Final Memory: 22M/81M
&gt; [INFO] ------------------------------------------------------------------------
&gt;
&gt;
&gt; Any ideas, help, etc. Â I have fought with this for half a day now and
&gt; can't come up with anything. Â I can get other means of auth to work
&gt; (after jumping through some hoops and getting much deeper into this
&gt; than I ever wanted to be), password, cert, but they aren't supported
&gt; where I work so those won't be allowed.
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Using Wagon SSH or SSH external with HOST BASED authenticaton?</title>
<author><name>Charlie Collins &lt;charlie.collins@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200904.mbox/%3c3c1755770904010816s6b2e0c15h70914c7212a5898a@mail.gmail.com%3e"/>
<id>urn:uuid:%3c3c1755770904010816s6b2e0c15h70914c7212a5898a@mail-gmail-com%3e</id>
<updated>2009-04-01T15:16:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I am not able to transfer files over SCP from a user/machine setup
that is using host based authentication (note I am not talking about
the host authentication can't be verified yes/no known_hosts issue,
that's different - I am using host based authentication itself, not
password, not certificate).

Is host based auth supposed to work?  Looks like Jsch supports it from
the examples, but do any of the Wagon providers support it?

&gt;From the client machine where Maven is running, to the server where I
want to transfer files, using the same user account Maven is running
as, works fine (outside of Maven):

cruise@reddog:/home/ccollins$ whoami
cruise
cruise@reddog:/home/ccollins$ ssh helios
Last login: Wed Apr  1 10:10:02 2009 from reddog.axiomainc.com
cruise@helios:~$

Inside of Maven, using the Deploy Plugin (which depends on Wagon), I
get failures using either "scp" or "scpexe" in my
distributionManagement section (which as I understand it switches
between ssh and ssh external Wagon providers).

POM has distributionManagement set, I have tried with an without
settings.xml server sections (beyond user/pass most of the
"configuration" elements for the providers appear undocumented, or at
least I couldn't find it, so I am not sure if there is a config that
might help).

POM snippet (changed back and forth from scp to scpexe for various attempts):
 &lt;distributionManagement&gt;
        &lt;repository&gt;
            &lt;uniqueVersion&gt;false&lt;/uniqueVersion&gt;
            &lt;id&gt;axioma-maven2&lt;/id&gt;
            &lt;name&gt;Axioma Maven 2 Repository&lt;/name&gt;
            &lt;url&gt;scp://helios/intranet/maven2/repo&lt;/url&gt;
        &lt;/repository&gt;
        &lt;snapshotRepository&gt;
            &lt;uniqueVersion&gt;true&lt;/uniqueVersion&gt;
            &lt;id&gt;axioma-maven2snap&lt;/id&gt;
            &lt;name&gt;Axioma Maven 2 Snapshot Repository&lt;/name&gt;
            &lt;url&gt;scp://helios/intranet/maven2/reposnap&lt;/url&gt;
        &lt;/snapshotRepository&gt;
    &lt;/distributionManagement&gt;


SCP failure:
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
[DEBUG]   (f) artifact = com.axiomainc:axioma-model:jar:0.5-SNAPSHOT
[DEBUG]   (f) attachedArtifacts = []
[DEBUG]   (f) deploymentRepository = [axioma-maven2snap] -&gt;
scp://helios/intranet/maven2/reposnap
[DEBUG]   (s) localRepository = [local] -&gt; file:///home/cruise/.m2/repository
[DEBUG]   (f) packaging = jar
[DEBUG]   (f) pomFile =
/opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/trunk/pom.xml
[DEBUG]   (f) updateReleaseInfo = false
[DEBUG] -- end configuration --
[INFO] [deploy:deploy]
altDeploymentRepository = null
[INFO] Retrieving previous build number from axioma-maven2snap
The authenticity of host 'helios' can't be established.
RSA key fingerprint is 60:af:21:b2:c7:47:b2:92:60:56:2b:27:45:a3:e8:1d.
Are you sure you want to continue connecting? (yes/no): yes

(And NOTE, the user account DOES have ~/.ssh/known_hosts, but it
shouldn't even be trying to use that, ~/.ssh/config also exists and
lays out the host based authentication which works perfectly with no
prompts outside of maven.)


SCPEXE failure:
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' --&gt;
[DEBUG]   (f) artifact = com.axiomainc:axioma-model:jar:0.5-SNAPSHOT
[DEBUG]   (f) attachedArtifacts = []
[DEBUG]   (f) deploymentRepository = [axioma-maven2snap] -&gt;
scpexe://helios/intranet/maven2/reposnap
[DEBUG]   (s) localRepository = [local] -&gt; file:///home/cruise/.m2/repository
[DEBUG]   (f) packaging = jar
[DEBUG]   (f) pomFile =
/opt/hudson_home/jobs/Panacea-AxiomaModel-trunk/workspace/trunk/pom.xml
[DEBUG]   (f) updateReleaseInfo = false
[DEBUG] -- end configuration --
[INFO] [deploy:deploy]
altDeploymentRepository = null
[INFO] Retrieving previous build number from axioma-maven2snap
Uploading: scpexe://helios/intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Exit code: 1 - Warning: Identity file
/home/cruise/.ssh/id_rsa not accessible: No such file or directory.
scp: /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
Permission denied


[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error
deploying artifact: Exit code: 1 - Warning: Identity file
/home/cruise/.ssh/id_rsa not accessible: No such file or directory.
scp: /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
Permission denied

	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	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: Exit code: 1 - Warning: Identity file
/home/cruise/.ssh/id_rsa not accessible: No such file or directory.
scp: /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
Permission denied

	at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:174)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
	... 16 more
Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException:
Error deploying artifact: Exit code: 1 - Warning: Identity file
/home/cruise/.ssh/id_rsa not accessible: No such file or directory.
scp: /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
Permission denied

	at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:94)
	at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:162)
	... 18 more
Caused by: org.apache.maven.wagon.TransferFailedException: Exit code:
1 - Warning: Identity file /home/cruise/.ssh/id_rsa not accessible: No
such file or directory.
scp: /intranet/maven2/reposnap/com/axiomainc/axioma-model/0.5-SNAPSHOT/axioma-model-0.5-20090401.144722-2.jar:
Permission denied

	at org.apache.maven.wagon.providers.ssh.external.ScpExternalWagon.executeScpCommand(ScpExternalWagon.java:236)
	at org.apache.maven.wagon.providers.ssh.external.ScpExternalWagon.put(ScpExternalWagon.java:295)
	at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:244)
	at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:160)
	at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80)
	... 19 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26 seconds
[INFO] Finished at: Wed Apr 01 10:47:28 EDT 2009
[INFO] Final Memory: 22M/81M
[INFO] ------------------------------------------------------------------------


Any ideas, help, etc.  I have fought with this for half a day now and
can't come up with anything.  I can get other means of auth to work
(after jumping through some hoops and getting much deeper into this
than I ever wanted to be), password, cert, but they aren't supported
where I work so those won't be allowed.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Using Wagon SCM</title>
<author><name>Mark Hobson &lt;markhobson@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200903.mbox/%3cc184d750903120750l35e2e74dq1e5ab825e320566@mail.gmail.com%3e"/>
<id>urn:uuid:%3cc184d750903120750l35e2e74dq1e5ab825e320566@mail-gmail-com%3e</id>
<updated>2009-03-12T14:50:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
2009/3/12 Brett Porter &lt;brett@apache.org&gt;:
&gt; beta-4 and above require 2.1.0+ for all wagons.

Right, thanks.

Mark

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Using Wagon SCM</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200903.mbox/%3cBFDC4F95-8206-46D9-AA47-FA1C0C1B0BA7@apache.org%3e"/>
<id>urn:uuid:%3cBFDC4F95-8206-46D9-AA47-FA1C0C1B0BA7@apache-org%3e</id>
<updated>2009-03-12T11:40:44Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
beta-4 and above require 2.1.0+ for all wagons.

On 12/03/2009, at 10:30 PM, Mark Hobson wrote:

&gt; Hi there,
&gt;
&gt; I was wondering what the status of wagon-scm is with regard to Maven
&gt; 2.0.10.  I've read the usage page but the versions appear to be out of
&gt; date:
&gt;
&gt; http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html
&gt;
&gt; I've tried newer versions but end up with linking errors at runtime.
&gt; Is there any way of using these two together or does it require a
&gt; Wagon upgrade in Maven?
&gt;
&gt; Cheers,
&gt;
&gt; Mark
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: wagon-users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: wagon-users-help@maven.apache.org
&gt;

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Using Wagon SCM</title>
<author><name>Mark Hobson &lt;markhobson@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200903.mbox/%3cc184d750903120430j2ea85bbcobc4f6e1a83b5c477@mail.gmail.com%3e"/>
<id>urn:uuid:%3cc184d750903120430j2ea85bbcobc4f6e1a83b5c477@mail-gmail-com%3e</id>
<updated>2009-03-12T11:30:45Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi there,

I was wondering what the status of wagon-scm is with regard to Maven
2.0.10.  I've read the usage page but the versions appear to be out of
date:

http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html

I've tried newer versions but end up with linking errors at runtime.
Is there any way of using these two together or does it require a
Wagon upgrade in Maven?

Cheers,

Mark

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



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: I am getting error Caused by: org.apache.maven.wagon.TransferFailedException: Failed to create destination WebDAV collection (directory): /lpr-project/./css</title>
<author><name>&quot;Kumar, Ravendra&quot; &lt;ravendra.kumar@logica.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200902.mbox/%3c4EA30B4917DBE345B955C801C28A648B05A3F2A4@in-ex004.groupinfra.com%3e"/>
<id>urn:uuid:%3c4EA30B4917DBE345B955C801C28A648B05A3F2A4@in-ex004-groupinfra-com%3e</id>
<updated>2009-02-17T21:30:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi, I am using maven 2.0.9-bin version

 

I am trying to deploy project site on  tomcat server  but getting a
error strange error

Any help will be highly appreciated.

 

My configuration  error is given below .

Pom.xml

-------------------------------------------

&lt;distributionManagement&gt;

    &lt;site&gt;

      &lt;id&gt;lpr.website&lt;/id&gt;

      &lt;url&gt;dav:https://localhost:8080/lpr-project/&lt;/url&gt;

    &lt;/site&gt;

  &lt;/distributionManagement&gt;

--------------------------------------------

 

Although if I use file:// /lpr-project is working perfectelly

 

Setting.xml

--------------

&lt;server&gt;

      &lt;id&gt;lpr.website&lt;/id&gt;

      &lt;username&gt;ad&lt;/username&gt;

      &lt;password&gt;pw&lt;/password&gt;

    &lt;/server&gt;

 

 

[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-site-plugin:2.0-beta-6:deploy' --&gt;

[DEBUG]   (f) inputDirectory = D:\LPRProject\LPR\projects\target\site

[DEBUG]   (f) project = MavenProject: com.logica.heca.lpr:projects:1.0 @
D:\LPRProject\LPR\projects\pom.xml

[DEBUG]   (f) settings = org.apache.maven.settings.Settings@1afb0c7

[DEBUG] -- end configuration --

[INFO] [site:deploy]

WAGON_VERSION: 1.0-beta-2

https://localhost:8080/lpr-project/ - Session: Opened

https://localhost:8080/lpr-project/ - Session: Disconnecting

https://localhost:8080/lpr-project/ - Session: Disconnected

[INFO]
------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO]
------------------------------------------------------------------------

[INFO] Error uploading site

 

Embedded error: Failed to create destination WebDAV collection
(directory): /lpr-project/./css

SSL peer shut down incorrectly

[INFO]
------------------------------------------------------------------------

[DEBUG] Trace

org.apache.maven.lifecycle.LifecycleExecutionException: Error uploading
site

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:583)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:512)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:482)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:330)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:291)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:142)

        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)

        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)

        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)

        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:597)

        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
uploading site

        at
org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java
:200)

        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:451)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:558)

        ... 16 more

Caused by: org.apache.maven.wagon.TransferFailedException: Failed to
create destination WebDAV collection (directory): /lpr-project/./css

        at
org.apache.maven.wagon.providers.webdav.WebDavWagon.put(WebDavWagon.java
:270)

        at
org.apache.maven.wagon.providers.webdav.WebDavWagon.putDirectory(WebDavW
agon.java:555)

        at
org.apache.maven.wagon.providers.webdav.WebDavWagon.putDirectory(WebDavW
agon.java:549)

        at
org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java
:184)

        ... 18 more

Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed
connection during handshake

        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java
:808)

        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSo
cketImpl.java:1096)

        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.jav
a:623)

        at
com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:
59)

        at
hidden.org.apache.commons.httpclient.HttpConnection$WrappedOutputStream.
write(HttpConnection.java:1360)

        at
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)

        at
java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)

        at
hidden.org.apache.commons.httpclient.HttpConnection.flushRequestOutputSt
ream(HttpConnection.java:790)

        at
hidden.org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMet
hodBase.java:2271)

        at
hidden.org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpM
ethodBase.java:2651)

        at
hidden.org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBa
se.java:1087)

        at
hidden.org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient
.java:643)

        at
hidden.org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient
.java:497)

        at
hidden.org.apache.webdav.lib.WebdavResource.mkcolMethod(WebdavResource.j
ava:4106)

        at
org.apache.maven.wagon.providers.webdav.WebDavWagon.put(WebDavWagon.java
:264)

        ... 21 more

Caused by: java.io.EOFException: SSL peer shut down incorrectly

        at
com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:333)

        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java
:789)

        ... 35 more

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 25 seconds

[INFO] Finished at: Tue Feb 17 22:06:55 CET 2009

[INFO] Final Memory: 7M/14M

[INFO]
------------------------------------------------------------------------



Please help Logica to respect the environment by not printing this email  /  Merci d'aider
Logica à préserver l'environnement en évitant d'imprimer ce mail /  Bitte drucken Sie diese
Nachricht nicht aus und helfen Sie so Logica dabei die Umwelt zu schuetzen  /  Por favor ajude
a Logica a respeitar o ambiente não imprimindo este correio electrónico.



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It
may contain proprietary material, confidential information and/or be subject to legal privilege.
It should not be copied, disclosed to, retained or used by, any other party. If you are not
an intended recipient then please promptly delete this e-mail and any attachment and all copies
and inform the sender. Thank you.



</pre>
</div>
</content>
</entry>
<entry>
<title>Error with pscp on Windows: &quot;Cannot create file&quot;</title>
<author><name>Peter Goetz &lt;kingofbrain@web.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200810.mbox/%3c20107638.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c20107638-post@talk-nabble-com%3e</id>
<updated>2008-10-22T10:10:06Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi there, 

I'm trying for some time now to get Maven to work with a Repository accessed
by SSH / SCP. I work with a Windows box and have the putty programs (putty,
plink, pscp, ...) installed and ready in the PATH. I have added the
following &lt;server&gt; configuration to my settings.xml: 
    &lt;server&gt;
      &lt;id&gt;[REPOSITORY_INFO]&lt;/id&gt;
      &lt;username&gt;[USER_NAME]&lt;/username&gt;
      &lt;configuration&gt;
        &lt;scpExecutable&gt;pscp&lt;/scpExecutable&gt;
        &lt;scpArgs&gt;-v&lt;/scpArgs&gt;
      &lt;/configuration&gt;
    &lt;/server&gt;
I have pageant running and managing my private key to access the repository.
When I run "mvn package" and the dependencies should be got, I see the
following in my console: 
[WARNING] repository metadata for: '&lt;ARTIFACT&gt;' could not be retrieved from
repository: &lt;REPOSITORY&gt; due to an error: Exit code: 1 - Looking up host
"&lt;HOST&gt;"
Connecting to &lt;IP&gt; port 22
Server version: SSH-2.0-OpenSSH_4.4
We claim version: SSH-2.0-PuTTY_Release_0.60
Using SSH protocol version 2
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-256
Host key fingerprint is:
ssh-rsa 1024 a2:fb:2b:a3:dc:ff:d5:fd:79:7c:a2:58:8f:92:5d:dc
Initialised AES-256 SDCTR client-&gt;server encryption
Initialised HMAC-SHA1 client-&gt;server MAC algorithm
Initialised AES-256 SDCTR server-&gt;client encryption
Initialised HMAC-SHA1 server-&gt;client MAC algorithm
Reading private key file "C:\Dokumente und Einstellungen\&lt;USER&gt;\.ssh\id_rsa"
Unable to use this key file (OpenSSH SSH-2 private key)
Unable to use key file "C:\Dokumente und Einstellungen\&lt;USER&gt;\.ssh\id_rsa"
(OpenSSH SSH-2 private key)
Pageant is running. Requesting keys.
Pageant has 1 SSH-2 keys
Using username "&lt;USER_NAME&gt;".
Trying Pageant key #0
Authenticating with public key "&lt;KEY_COMMENT&gt;" from agent
Sending Pageant's response
Access granted
Opened channel for session
Started a shell/command
Using SFTP
Connected to &lt;HOST&gt;

scp: maven-metadata-&lt;REPOSITORY_INFO&gt;.xml.tmp: Cannot create file

Sent EOF message
Server sent command exit status 0
Disconnected: All channels closed

I have masked everything in the above log output that makes it possible to
know who I am working with. I am an external consultant and don't want to
break my contract. :)

It seems to me, that I am successfully accessing the repository (btw. I get
some of the other files I need, so I think it works in principle), but that
I have an error writing the file to my local disk. I have tried to do this
with pscp on the console, and it works just fine. 

Can you tell me how I can make Wagon print me the concrete statement that it
used to copy the file? Or do you perhaps already know what error I'm running
into? 

Thank you very much for your help!

Cheers, 

Peter
-- 
View this message in context: http://www.nabble.com/Error-with-pscp-on-Windows%3A-%22Cannot-create-file%22-tp20107638p20107638.html
Sent from the Wagon - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Getting an error org/apache/maven/wagon/StreamWagon.openConnection()V</title>
<author><name>&quot;Brett Porter&quot; &lt;brett.porter@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200808.mbox/%3c9e3862d80808242352uc65e219s53e373ee57891cb8@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9e3862d80808242352uc65e219s53e373ee57891cb8@mail-gmail-com%3e</id>
<updated>2008-08-25T06:52:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I think this is the same issue you had in July:
http://markmail.org/message/hfztravcqw5oi7dj

2008/8/23 Enrique Gaona &lt;egaona@us.ibm.com&gt;:
&gt;
&gt; Hi,
&gt; I'm getting an error java.lang.AbstractMethodError:
&gt; org/apache/maven/wagon/StreamWagon.openConnection()V.
&gt;
&gt; My settings.xml has the entry:.
&gt; &lt;server&gt;
&gt;      &lt;id&gt;csdpFtpRepository&lt;/id&gt;
&gt;      &lt;username&gt;egaona&lt;/username&gt;
&gt;      &lt;password&gt;password&lt;/password&gt;
&gt;    &lt;/server&gt;
&gt;
&gt;
&gt; Any idea how I can fix this?  Thanks
&gt;
&gt;
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [ERROR] FATAL ERROR
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [INFO] org/apache/maven/wagon/StreamWagon.openConnection()V
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [DEBUG] Trace
&gt; java.lang.AbstractMethodError:
&gt; org/apache/maven/wagon/StreamWagon.openConnection()V
&gt;        at org.apache.maven.wagon.AbstractWagon.connect
&gt; (AbstractWagon.java:143)
&gt;        at
&gt; org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile
&gt; (DefaultWagonManager.java:427)
&gt;        at
&gt; org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
&gt; (DefaultWagonManager.java:347)
&gt;        at
&gt; org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
&gt; (DefaultWagonManager.java:302)
&gt;        at
&gt; org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve
&gt; (DefaultArtifactResolver.java:194)
&gt;        at
&gt; org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve
&gt; (DefaultArtifactResolver.java:73))
&gt;        at
&gt; org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin
&gt; (DefaultPluginManager.java:200)
&gt;        at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin
&gt; (DefaultPluginManager.java:172)
&gt;        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin
&gt; (DefaultLifecycleExecutor.java:1257)
&gt;        at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle
&gt; (DefaultLifecycleExecutor.java:1221)
&gt;        at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings
&gt; (DefaultLifecycleExecutor.java:987)
&gt;        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
&gt; (DefaultLifecycleExecutor.java:458)
&gt;        at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
&gt; (DefaultLifecycleExecutor.java:311)
&gt;        at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
&gt; (DefaultLifecycleExecutor.java:278)
&gt;        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
&gt; (DefaultLifecycleExecutor.java:143)
&gt;        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
&gt;        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
&gt;        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method))
&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke
&gt; (NativeMethodAccessorImpl.java:79)
&gt;        at sun.reflect.DelegatingMethodAccessorImpl.invoke
&gt; (DelegatingMethodAccessorImpl.java:43)
&gt;        at java.lang.reflect.Method.invoke(Method.java:618)
&gt;        at org.codehaus.classworlds.Launcher.launchEnhanced
&gt; (Launcher.java:315)
&gt;        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt;        at org.codehaus.classworlds.Launcher.mainWithExitCode
&gt; (Launcher.java:430)
&gt;        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
&gt; [INFO]
&gt; ------------------------------------------------------------------------)
&gt; [INFO] Total time: 2 seconds
&gt; [INFO] Finished at: Fri Aug 22 09:54:36 CDT 2008
&gt; [INFO] Final Memory: 4M/13M
&gt; [INFO]
&gt; ------------------------------------------------------------------------)
&gt; [root@ausbuild01 dots_dev]# mvn -v
&gt; Maven version: 2.0.8
&gt; Java version: 1.5.0
&gt; OS name: "linux" version: "2.6.9-67.0.20.elsmp" arch: "x86" Family: "unix"
&gt;
&gt;
&gt; Enrique
&gt;



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Getting an error org/apache/maven/wagon/StreamWagon.openConnection()V</title>
<author><name>Enrique Gaona &lt;egaona@us.ibm.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200808.mbox/%3cOF71B9BD67.5C4E1F5A-ON872574AD.00526DAD-862574AD.0053D1AE@us.ibm.com%3e"/>
<id>urn:uuid:%3cOF71B9BD67-5C4E1F5A-ON872574AD-00526DAD-862574AD-0053D1AE@us-ibm-com%3e</id>
<updated>2008-08-22T15:15:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Content-type: text/plain; charset=US-ASCII


Hi,
I'm getting an error java.lang.AbstractMethodError:
org/apache/maven/wagon/StreamWagon.openConnection()V.

My settings.xml has the entry:.
&lt;server&gt;
      &lt;id&gt;csdpFtpRepository&lt;/id&gt;
      &lt;username&gt;egaona&lt;/username&gt;
      &lt;password&gt;password&lt;/password&gt;
    &lt;/server&gt;


Any idea how I can fix this?  Thanks


[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] org/apache/maven/wagon/StreamWagon.openConnection()V
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
java.lang.AbstractMethodError:
org/apache/maven/wagon/StreamWagon.openConnection()V
        at org.apache.maven.wagon.AbstractWagon.connect
(AbstractWagon.java:143)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile
(DefaultWagonManager.java:427)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
(DefaultWagonManager.java:347)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
(DefaultWagonManager.java:302)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve
(DefaultArtifactResolver.java:194)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve
(DefaultArtifactResolver.java:73))
        at
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin
(DefaultPluginManager.java:200)
        at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin
(DefaultPluginManager.java:172)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin
(DefaultLifecycleExecutor.java:1257)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle
(DefaultLifecycleExecutor.java:1221)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings
(DefaultLifecycleExecutor.java:987)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java:458)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
(DefaultLifecycleExecutor.java:278)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method))
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:79)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:618)
        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)
[INFO]
------------------------------------------------------------------------)
[INFO] Total time: 2 seconds
[INFO] Finished at: Fri Aug 22 09:54:36 CDT 2008
[INFO] Final Memory: 4M/13M
[INFO]
------------------------------------------------------------------------)
[root@ausbuild01 dots_dev]# mvn -v
Maven version: 2.0.8
Java version: 1.5.0
OS name: "linux" version: "2.6.9-67.0.20.elsmp" arch: "x86" Family: "unix"


Enrique


</pre>
</div>
</content>
</entry>
<entry>
<title>documentation and wagon-s3</title>
<author><name>andyuk &lt;andyjm@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-wagon-users/200806.mbox/%3c5942d1f60806241603h2af61d21u6db54d79f153bbf1@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5942d1f60806241603h2af61d21u6db54d79f153bbf1@mail-gmail-com%3e</id>
<updated>2008-06-24T23:03:37Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

I'm a complete maven and wagon newbie. Wagon-s3 looks like its ideal for my
requirements. Is it complete and part of 1.0-beta-3?
How do I go about using this?

I'm amazed that there is no simple guide on http://maven.apache.org/wagon/

Thanks,
Andy


</pre>
</div>
</content>
</entry>
</feed>
