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]

Reply via email to