Linux サーバーにリモート リポジトリがあります。Linux マシンで作業している場合、scp を使用してリポジトリにアクセスするのに問題はありません。プロジェクトの Windows マシンで作業したいのですが、リモート リポジトリを動作させることができません。
私は次の指示に従いました: http://ekawas.blogspot.com/2007/02/maven-windows-and-deploying-to-remote.html
私のsettings.xmlにこれがあります
<servers>
<server>
  <id>ssh-repository</id>
  <username>username</username>
  <password>password</password>
  <privateKey>C:\Dev\programs\ssh_private_key.ppk</privateKey>
  <configuration>
    <sshExecutable>plink</sshExecutable>
    <scpExecutable>pscp</scpExecutable>
  </configuration>
</server>
  ...
  <profiles>
    <profile>
      <id>defaultProfile</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <repositories>
        <repository>
          <id>ssh-repository</id>
          <name>SSH-Repository</name>
          <url>scpexe://host:/path-to-rep</url>
        </repository>
      </repositories>
    </profile>
  </profiles>
コマンドプロンプトで pscp を作成するだけでは、問題はありません。mvn package または mvn clean を試すと、次のエラーが発生します。
Non-resolvable parent POM: Could not transfer artifact .... from/ro ssh-repository ...
私の settings.xml に何か問題がありますか?