Мы пробовали использовать задачи ant ftp, но не смогли заставить его работать, как показано ниже:
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>ftp</id>
<phase>generate-resources</phase>
<configuration>
<target>
<ftp action="get" server="192.168.168.xxx" userid="anonymous"
password="anonymous">
<fileset dir="Folder/tools/toolX">
<include name="**/*.*" />
</fileset>
</ftp>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
....
Заранее спасибо!