You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Cybexion <cy...@email.de> on 2008/02/28 13:30:40 UTC

copy files with scp after install

Hi,

after a successful "install" I could like to copy some (not all) of the
created jars into a directory on a different machine.  Does anyone know how
to do this?
Thanks in advance!
-- 
View this message in context: http://www.nabble.com/copy-files-with-scp-after-install-tp15735371s177p15735371.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: copy files with scp after install

Posted by VUB Stefan Seidel <ss...@vub.de>.
Hi,

the deploy plugin supports scp:// URLs. Activate with something like
   <distributionManagement>
     <repository>
       <id>vm02</id>
       <url>scp://user@server/tmp/maven/</url>
     </repository>
   </distributionManagement>
The dependency plugin can copy files, but I think only to local directories.
With the antrun plugin you will surely find some ant component that can 
do it.

HTH,

Stefan

Cybexion wrote:
> Hi,
> 
> after a successful "install" I could like to copy some (not all) of the
> created jars into a directory on a different machine.  Does anyone know how
> to do this?
> Thanks in advance!

-- 
best regards,

Stefan Seidel
software developer
________________________
VUB Printmedia GmbH
Chopinstraße 4
D-04103 Leipzig
Germany
tel.    +49 (341) 9 60 50 07
fax.    +49 (341) 9 60 50 92
mail.   sseidel@vub.de
web.    www.vub.de

HRB Köln 24015
UStID DE 122 649 251
GF Dr. Achim Preuss Neudorf,
Dr. Christian Preuss Neudorf

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