我有这段代码:
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>ant-execute</id>
<configuration>
<target name="compile">
<mkdir dir="${xbpm}\lib.dir" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
当我执行命令mvn antrun:run@ant-execute
时,构建失败并出现以下错误:
无法在插件org.apache.maven.plugins中找到目标'run @ ant-excecute':maven-antrun-plugin:1.8可用目标帮助,运行 - &gt; [帮助1]