Files can also be copied locally with the wagon-maven-plugin (use file protocol instead of scp). BTW, the plugin is able to copy multiple files, because it takes an input directory as argument. Filtering or multiple source/destination directories do not work currently.

I use this plugin for copying nightly builds using webdav protocol.

A configuration example using local file copy might be:

<configuration>
  <id>myserverid</id>
<inputDirectory>target/assembly</inputDirectory> <url>file:///usr/local/share/myapplicationdir</url>
</configuration>

Take care

        Ralf

acec acec wrote:
But I do not need scp, I only need file copy on my
localhost.
:-(
Maybe I have to use ant plugin.

--- Bernd Bohmann <[EMAIL PROTECTED]> wrote:

Hello Jon,

just deployed a little bit documentation about the
wagon plugin.

http://myfaces.apache.org/wagon-maven-plugin

We are using this plugin to publish the nightly
builds to the nightly build download location.

Regards

Bernd

Jon Strayer wrote:
Is there any documentation on the wagon plugin?

On 6/14/07, Ralf Quebbemann <[EMAIL PROTECTED]> wrote:
Hi,

maybe it's not the best way to use the
recommended copy-maven-plugin.
Although
it does its job (and yes I wrote it) there are
plugins out there which
have
better capabilities.

You might want to check out the
wagon-maven-plugin from the MyFaces
project:

    <groupId>org.apache.myfaces.maven</groupId>
    <artifactId>wagon-maven-plugin</artifactId>
    <version>1.0.5</version>

This plugin uses wagon. So copying to remote
destinations (scp, webdav,
etc..)
should be no problem.

The only drawback is, that it's not very
convenient. Currently it's not
possible
to copy more than one file. Wildcards are not
supported either.
Source code is available and I am sure patches
are welcome. So give it a
try.

However, the copy-maven-plugin works on local
filesystems but is not
maintained
anymore.

        Ralf

Jeff Mutonho wrote:
On 6/14/07, Eric Redmond
<[EMAIL PROTECTED]> wrote:
Yeah, ant is the easiest way.

Eric

Or you can try this :


http://quebbemann.kicks-ass.net/development/qu-base/maven-plugins/copy-maven-plugin/index.html





"Don't take the name of root in vain."

Jeff  Mutonho
Cape Town
South Africa

GoogleTalk : ejbengine
Skype        : ejbengine
Registered Linux user number 366042


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



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





      Make free worldwide PC-to-PC calls. Try the new Yahoo! Canada Messenger 
with Voice at http://ca.messenger.yahoo.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