On Wed, Sep 26, 2007 at 01:23:40AM -0400, Brian E. Fox spake thus: > To my knowledge, only the scp wagon supports directory copying (hence > the inability to deploy sites any other way besides file). It would seem > that the ftp wagon would need to support this first and then a plugin > could leverage it. > > --Brian > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 25, 2007 8:00 AM > > To: Maven Users List > > Subject: FTP plugin for deploying a directory, _not_ an artifact > > > > Hi, > > > > I need to be able to deploy an entire directory to an ftp server. > > > > Is anyone working on such a plugin? > > > > The only solutions I have googled so far use ant run, and include som > > creativity to include a dependency which ant needs. This seems very > > ugly. > > Either that or they use maven1 > > > > I can understand why it isn't included in the default maven stuff, as it > > > > is not a "conventional build thing". It shouldn't be too easy, or > > people > > will ignore the (great) maven conventions, which is a real risk. > > > > best regards, and thanks in advance, > > Michael
This doesn't directly address your request, but perhaps it will be useful. If you have scp access to the remote host, you can use the 'wagon-maven-plugin' from the Apache MyFaces project to deploy an entire directory: <plugin> <groupId>org.apache.myfaces.maven</groupId> <artifactId>wagon-maven-plugin</artifactId> <executions> <execution> <phase>deploy</phase> <id>deploy-non-maven-artifacts</id> <goals> <goal>deploy</goal> </goals> <configuration> <url>scpexe://somehost.com/path/to/some/directory/</url> <inputDirectory>${project.build.directory}/whatever</inputDirectory> </configuration> </execution> </executions> </plugin> Note that I've not tried to use the plugin to deploy a directory with subdirs. I'd be interested to hear whether or not that works. HTH, -Al -- :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: Alan D. Salewski Software Developer Health Market Science, Inc. :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]