I use the follwoing in my pom.xml

<distributionManagement>
−
        <repository>
<id>internal-released</id>
<url>scp://192.168.6.194/var/mvn/internal-released</url>
</repository>
−
        <snapshotRepository>
<id>internal-snapshot</id>
<url>scp://192.168.6.194/var/mvn/internal-snapshot</url>
</snapshotRepository>
</distributionManagement>

and the following in my settings.xml

<server>
     <id>internal-snapshot</id>
     <username>mvn</username>
     <password>mvn</password>
   </server>
<server>
     <id>internal-released</id>
     <username>mvn</username>
     <password>mvn</password>
   </server>


On 7/10/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
Hey,

I am getting this error

<snip>
[INFO] Error deploying artifact: Error executing command for transfer

Exit code 1 - 'ssh' is not recognized as an internal or external command,
operable program or batch file.
</snip>

when trying "mvn deploy" on windoze

my settings.xml contains:

...
  <servers>
    <server>
      <id>apache-maven-snapshots</id>
      <username>matzew</username>
      <configuration>
        <scpExecutable>pscp</scpExecutable>
      </configuration>
    </server>
  </servers>

...


BTW pscp is in my $PATH

Any missing configuration ?

-Matt

--
Matthias Wessendorf

futher stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to