title: maven on windows with remote repository and pscp does not work
body: <p>We have a remote repository on a linux server. When I work on a linux machine I dont have any problem to access the repository with scp. I would like to work now on a windows machine on the project but I can't get the remote repository to work.</p>
  
  <p>I followed these instructions: <a href="http://ekawas.blogspot.com/2007/02/maven-windows-and-deploying-to-remote.html" rel="nofollow">http://ekawas.blogspot.com/2007/02/maven-windows-and-deploying-to-remote.html</a></p>
  
  <p>I have this in my settings.xml </p>
  
  <pre><code>&lt;servers&gt;
  &lt;server&gt;
    &lt;id&gt;ssh-repository&lt;/id&gt;
    &lt;username&gt;username&lt;/username&gt;
    &lt;password&gt;password&lt;/password&gt;
    &lt;privateKey&gt;C:\Dev\programs\ssh_private_key.ppk&lt;/privateKey&gt;
    &lt;configuration&gt;
      &lt;sshExecutable&gt;plink&lt;/sshExecutable&gt;
      &lt;scpExecutable&gt;pscp&lt;/scpExecutable&gt;
    &lt;/configuration&gt;
  &lt;/server&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>  ...
    &lt;profiles&gt;
      &lt;profile&gt;
        &lt;id&gt;defaultProfile&lt;/id&gt;
        &lt;activation&gt;
          &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;
        &lt;/activation&gt;
        &lt;repositories&gt;
          &lt;repository&gt;
            &lt;id&gt;ssh-repository&lt;/id&gt;
            &lt;name&gt;SSH-Repository&lt;/name&gt;
            &lt;url&gt;scpexe://host:/path-to-rep&lt;/url&gt;
          &lt;/repository&gt;
        &lt;/repositories&gt;
      &lt;/profile&gt;
    &lt;/profiles&gt;
  </code></pre>
  
  <p>When I just make pscp on the command prompt, I don't have any problems.
  When I try mvn package or mvn clean, it gives the following error:</p>
  
  <pre><code>Non-resolvable parent POM: Could not transfer artifact .... from/ro ssh-repository ...
  </code></pre>
  
  <p>Is there something wrong with my settings.xml ?</p>