在IDE开发工具中运行maven管理的项目:mvn clean package,运行时,控制台的输出
.....
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run (default) on project Inspect: An Ant BuildException has occured: F:\springWorkspace\Inspect\target\checkout does not exist. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
...
 我怀疑是pom.xml中这段有问题,不知道是不是,该怎么解决,请高手指教..
“<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<phase>compile</phase>
<configuration>
<target>
<copy todir="${basedir}">
<fileset dir="${project.build.directory}/checkout">
<include name="src/**" />
</fileset>
</copy>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>”