maven-antrun-plugin 问题

错误信息:

You are using "tasks’ which has been removed from the maven-antrun-plugin. Please use 'target' and refer to the >>Major Version Upgrade to version 3.0.0<< on the plugin site

 

解决方案一降低antrun插件版本,如:

<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>

解决方案二降低maven版本,如:

 

posted @ 2024-03-07 15:54  wucz  阅读(504)  评论(0编辑  收藏  举报