- <profile>
- <!-- Upload the repo to the server -->
- <id>uploadRepo</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>wagon-maven-plugin</artifactId>
- <version>1.0-beta-3</version>
- <!-- Problems with the wagon-maven-plugin have been encounterd
- on Windows, it should work properly on linux though. -->
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>upload</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <fromDir>eu.etaxonomy.taxeditor/target/repository</fromDir>
- <url>scpexe://wp5.e-taxonomy.eu/var/www/download/taxeditor/update/${update.dir}</url>
- <includes>binary/*,content.jar,artifacts.jar,**/eu.etaxonomy.*.jar</includes>
- <!-- Comment out the above and uncomment the below to upload
- all jars -->
- <!-- <includes>**/*</includes> -->
- <serverId>wp5.e-taxonomy.eu</serverId>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>