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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[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]
> >
> >
>
>
> --
> 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]




--
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]

Reply via email to