2 executions of wagon:upload-single dont work? -D
On Wed, Nov 25, 2009 at 5:11 AM, Aleksey Didik <[email protected]> wrote: > Hello all, > Do you have any ideas, how to upload some project files to another host? > I have found wagon-maven-plugin, but it's upload goal is very poor (imho). > I want to upload 2 files from different folders, but I can define only one > "fromDir". > But if I define "fromDir" as ${basedir} and set includes with full file > path, wagon copy it with full path, not only file to "toDir" > > :( > > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>wagon-maven-plugin</artifactId> > <executions> > <execution> > <phase>deploy</phase> > <goals> > <goal>upload</goal> > </goals> > <configuration> > > <url>file://host/_releases/_app/${project.version}</url> > <includes>/target/app.war, > src/main/scripts/db/delta-${project.version}.sql</includes> > </configuration> > </execution> > </executions> > </plugin> > > Aleksey. > > > > --------------------------------------------------------------------- > 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]
