使用maven运行wget命令
我有一个有效的命令 但我想和maven一起运行 wget-r*.dmp 有人能告诉我pom.xml的样子吗 B.T.W我尝试了这个pom,但无法获得大文件:使用maven运行wget命令,maven,ftp,maven-3,wget,Maven,Ftp,Maven 3,Wget,我有一个有效的命令 但我想和maven一起运行 wget-r*.dmp 有人能告诉我pom.xml的样子吗 B.T.W我尝试了这个pom,但无法获得大文件: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.8&
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<configuration>
<target>
<ftp action="get"
server="192.168.1.1"
remotedir="remoteDir"
userid="anonymous"
password="anonymous">
<fileset dir="${project.build.directory}">
<include name="**/*.*"/>
</fileset>
</ftp>
</target>
</configuration>
<dependencies>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-commons-net</artifactId>
<version>1.8.1</version>
</dependency>
</dependencies>
</plugin>
org.apache.maven.plugins
maven antrun插件
1.8
公用网络
公用网络
1.4.1
org.apache.ant
蚂蚁公地网
1.8.1
您是否收到任何错误消息?没有,我让它运行了2个小时,但什么也没发生。使用wget命令不到一个小时。