title: maven release plugin - wagon fails with ssh auth but snapshort and release deploy works - eh?
body: <p>I'm baffled and would appreciate any help.  My build machine can no longer use the maven release plugin.  When I try it fails on auth during the deployment from the tag.  However, this machine can release using the standard deploy method to snapshot and release repositories (which are on the same machine with nexus as intermediary).  </p>
  
  <ul>
  <li>release:perform works from my desktop</li>
  <li>release:perform fails on my build machine with auth error</li>
  <li>deploy to a snapshot or release repository works from desktop and build machine</li>
  <li>release:perform fails from my build machine with the following:</li>
  </ul>
  
  <p><strong>Error deploying artifact: Authentication failed: Cannot connect. Reason: Auth cancel</strong></p>
  
  <p>Both machines are windows and I presume ssh is OK because snapshot and normal deploy works.  I have looked at the following with no luck.   Any suggestions would be welcome.  Thanks</p>
  
  <p>Peter</p>
  
  <p><strong>Things Checked</strong></p>
  
  <ul>
  <li>setting.xml (identical)</li>
  <li>Path (different, but no impact when I made identical)</li>
  <li>Local Repositories (tried clearing each to see if that was it - no impact)</li>
  <li>maven installations - same</li>
  </ul>
  
  <p><strong>Commands -  usually run by hudson but run by hand as well</strong></p>
  
  <pre><code>mvn.bat -DdevelopmentVersion=1.0.16 -DreleaseVersion=1.0.15 -DscmCommentPrefix=SCM-1 release:clean clean --batch-mode
  mvn.bat -DdevelopmentVersion=1.0.16 -DreleaseVersion=1.0.15 -DscmCommentPrefix=SCM-1 release:prepare --batch-mode
  mvn.bat -DdevelopmentVersion=1.0.16 -DreleaseVersion=1.0.15 -DscmCommentPrefix=SCM-1 deploy --batch-mode
  mvn.bat -DdevelopmentVersion=1.0.16 -DreleaseVersion=1.0.15 -DscmCommentPrefix=SCM-1 release:perform --batch-mode
  </code></pre>
  
  <p><strong>POM</strong></p>
  
  <pre><code>    &lt;groupId&gt;com.releng.experiment&lt;/groupId&gt;
        &lt;artifactId&gt;simplejar&lt;/artifactId&gt;
        &lt;packaging&gt;jar&lt;/packaging&gt;
        &lt;version&gt;1.0.16-SNAPSHOT&lt;/version&gt;
        &lt;name&gt;simplejar&lt;/name&gt;
        &lt;url&gt;http://maven.apache.org&lt;/url&gt;
      ...
        &lt;scm&gt;
          &lt;url&gt;http://svn-da/svn/darepos/users/pkahn/simplejar/trunk&lt;/url&gt;
          &lt;developerConnection&gt;scm:svn:http://svn-da/svn/darepos/users/pkahn/simplejar/trunk&lt;/developerConnection&gt;
        &lt;/scm&gt;
  
        &lt;build&gt;
          &lt;finalName&gt;${project.artifactId}-${project.version}-${buildNumber}&lt;/finalName&gt; 
          &lt;plugins&gt;
                  &lt;plugin&gt;
                     &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                      &lt;artifactId&gt;maven-release-plugin&lt;/artifactId&gt;
                      &lt;configuration&gt;
                          &lt;releaseProfiles&gt;release&lt;/releaseProfiles&gt;
                          &lt;goals&gt;deploy&lt;/goals&gt;
                      &lt;/configuration&gt;        
                  &lt;/plugin&gt;    
              &lt;/plugins&gt;
        &lt;/build&gt;
      &lt;distributionManagement&gt;
        &lt;repository&gt;
          &lt;id&gt;daeng&lt;/id&gt;
          &lt;name&gt;DA Engineering&lt;/name&gt;
          &lt;url&gt;scp://mavenrepo/opt/sonatype-work/nexus/storage/daeng/&lt;/url&gt;
        &lt;/repository&gt;
        &lt;snapshotRepository&gt;
          &lt;id&gt;daeng-snap&lt;/id&gt;
          &lt;name&gt;DA Engineering&lt;/name&gt;
          &lt;url&gt;scp://mavenrepo/opt/sonatype-work/nexus/storage/daeng-snap/&lt;/url&gt;
        &lt;/snapshotRepository&gt;
      &lt;/distributionManagement&gt;
  &lt;/project&gt;
  </code></pre>