You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Matthias Wessendorf <ma...@apache.org> on 2006/07/10 04:02:27 UTC

mvn deploy

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: mvn deploy

Posted by ben short <be...@benshort.co.uk>.
the wagon plugin needs to be in the maven home dir for this to work.

On 7/12/06, Matthias Wessendorf <ma...@apache.org> wrote:
> Hey Ben,
>
> the wagon plugin is already part of the project (MyFaces).
> So I guess something different is wrong....
>
> Will try on a linux box. That is easier ;)
>
> Thanks,
> Matthias
>
> On 7/11/06, ben short <be...@benshort.co.uk> wrote:
> > Matthias,
> >
> > You dont need to use the sshExecuteable element. I use the that setup
> > on windows xp and it works. Maven uses wagon [1] to do the ssh.
> > Although you will need to manually download it ad put it into the lib
> > dir under your maven home dir.
> >
> > [1] http://maven.apache.org/wagon/
> >
> > Ben
> >
> > On 7/11/06, Matthias Wessendorf <ma...@apache.org> wrote:
> > > Ben,
> > >
> > > thanks for your help. I tried to add my passed to settings.xml.
> > > But I more thing that putty / pscp are not *callable* for my box/environment
> > > (windoze w/o ! cygwin)
> > >
> > > Below is my message...
> > > I added "sshExecuteable" to my settings. Now putty comes up "-o" unkown option.
> > > any ideas?
> > >
> > > <snip>
> > >
> > > [INFO] Retrieving previous build number from apache-maven-snapshots
> > > [WARNING] repository metadata for: 'snapshot
> > > org.apache.myfaces.core:myfaces-core-project:1.1.4-SNAPSHOT' could not
> > > be retrieved from repository: apache-maven-snapshots due to an error:
> > > Failed to post-process the source file
> > > [INFO] Repository 'apache-maven-snapshots' will be blacklisted
> > > Uploading: scpexe://minotaur.apache.org/www/people.apache.org/maven-snapshot-repository/org/apache/myfaces/core/myfaces-core-project/1.1.4-SNAPSHOT/myfaces-core-project-1.1.4-SNAPSHOT.pom
> > > [INFO] ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO] ------------------------------------------------------------------------
> > > [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.
> > >
> > > [INFO] ------------------------------------------------------------------------
> > > [INFO] For more information, run Maven with the -e switch
> > > </snip>
> > >
> > > -Matt
> > >
> > >
> > > On 7/10/06, ben short <be...@benshort.co.uk> wrote:
> > > > 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 <ma...@apache.org> 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: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > >
> > > futher stuff:
> > > blog: http://jroller.com/page/mwessendorf
> > > mail: mwessendorf-at-gmail-dot-com
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> Matthias Wessendorf
>
> futher stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Re: mvn deploy

Posted by Matthias Wessendorf <ma...@apache.org>.
Hey Ben,

the wagon plugin is already part of the project (MyFaces).
So I guess something different is wrong....

Will try on a linux box. That is easier ;)

Thanks,
Matthias

On 7/11/06, ben short <be...@benshort.co.uk> wrote:
> Matthias,
>
> You dont need to use the sshExecuteable element. I use the that setup
> on windows xp and it works. Maven uses wagon [1] to do the ssh.
> Although you will need to manually download it ad put it into the lib
> dir under your maven home dir.
>
> [1] http://maven.apache.org/wagon/
>
> Ben
>
> On 7/11/06, Matthias Wessendorf <ma...@apache.org> wrote:
> > Ben,
> >
> > thanks for your help. I tried to add my passed to settings.xml.
> > But I more thing that putty / pscp are not *callable* for my box/environment
> > (windoze w/o ! cygwin)
> >
> > Below is my message...
> > I added "sshExecuteable" to my settings. Now putty comes up "-o" unkown option.
> > any ideas?
> >
> > <snip>
> >
> > [INFO] Retrieving previous build number from apache-maven-snapshots
> > [WARNING] repository metadata for: 'snapshot
> > org.apache.myfaces.core:myfaces-core-project:1.1.4-SNAPSHOT' could not
> > be retrieved from repository: apache-maven-snapshots due to an error:
> > Failed to post-process the source file
> > [INFO] Repository 'apache-maven-snapshots' will be blacklisted
> > Uploading: scpexe://minotaur.apache.org/www/people.apache.org/maven-snapshot-repository/org/apache/myfaces/core/myfaces-core-project/1.1.4-SNAPSHOT/myfaces-core-project-1.1.4-SNAPSHOT.pom
> > [INFO] ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO] ------------------------------------------------------------------------
> > [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.
> >
> > [INFO] ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > </snip>
> >
> > -Matt
> >
> >
> > On 7/10/06, ben short <be...@benshort.co.uk> wrote:
> > > 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 <ma...@apache.org> 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: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
> > --
> > Matthias Wessendorf
> >
> > futher stuff:
> > blog: http://jroller.com/page/mwessendorf
> > mail: mwessendorf-at-gmail-dot-com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Matthias Wessendorf

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

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


Re: mvn deploy

Posted by ben short <be...@benshort.co.uk>.
Matthias,

You dont need to use the sshExecuteable element. I use the that setup
on windows xp and it works. Maven uses wagon [1] to do the ssh.
Although you will need to manually download it ad put it into the lib
dir under your maven home dir.

[1] http://maven.apache.org/wagon/

Ben

On 7/11/06, Matthias Wessendorf <ma...@apache.org> wrote:
> Ben,
>
> thanks for your help. I tried to add my passed to settings.xml.
> But I more thing that putty / pscp are not *callable* for my box/environment
> (windoze w/o ! cygwin)
>
> Below is my message...
> I added "sshExecuteable" to my settings. Now putty comes up "-o" unkown option.
> any ideas?
>
> <snip>
>
> [INFO] Retrieving previous build number from apache-maven-snapshots
> [WARNING] repository metadata for: 'snapshot
> org.apache.myfaces.core:myfaces-core-project:1.1.4-SNAPSHOT' could not
> be retrieved from repository: apache-maven-snapshots due to an error:
> Failed to post-process the source file
> [INFO] Repository 'apache-maven-snapshots' will be blacklisted
> Uploading: scpexe://minotaur.apache.org/www/people.apache.org/maven-snapshot-repository/org/apache/myfaces/core/myfaces-core-project/1.1.4-SNAPSHOT/myfaces-core-project-1.1.4-SNAPSHOT.pom
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [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.
>
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> </snip>
>
> -Matt
>
>
> On 7/10/06, ben short <be...@benshort.co.uk> wrote:
> > 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 <ma...@apache.org> 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: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> Matthias Wessendorf
>
> futher stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Re: mvn deploy

Posted by Matthias Wessendorf <ma...@apache.org>.
Ben,

thanks for your help. I tried to add my passed to settings.xml.
But I more thing that putty / pscp are not *callable* for my box/environment
(windoze w/o ! cygwin)

Below is my message...
I added "sshExecuteable" to my settings. Now putty comes up "-o" unkown option.
any ideas?

<snip>

[INFO] Retrieving previous build number from apache-maven-snapshots
[WARNING] repository metadata for: 'snapshot
org.apache.myfaces.core:myfaces-core-project:1.1.4-SNAPSHOT' could not
be retrieved from repository: apache-maven-snapshots due to an error:
Failed to post-process the source file
[INFO] Repository 'apache-maven-snapshots' will be blacklisted
Uploading: scpexe://minotaur.apache.org/www/people.apache.org/maven-snapshot-repository/org/apache/myfaces/core/myfaces-core-project/1.1.4-SNAPSHOT/myfaces-core-project-1.1.4-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[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.

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
</snip>

-Matt


On 7/10/06, ben short <be...@benshort.co.uk> wrote:
> 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 <ma...@apache.org> 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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Matthias Wessendorf

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

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


Re: mvn deploy

Posted by ben short <be...@benshort.co.uk>.
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 <ma...@apache.org> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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