我的Maven Netbeans項目存在問題,我不太明白。我已經加了我所有的插件在pom.xml
文件,但我仍然有同樣的消息,同時建立項目:在運行maven的乾淨目標時出現錯誤
Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean) on project MBFSMS: Failed to clean project: Failed to delete F:\NetbeansProject\MBFSMS\target -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
見下面我POM文件:
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.4.1</version>
</plugin>
</plugins>
</build>
請發佈完整的錯誤信息... – khmarbaise
其他進程有時鎖定文件(病毒掃描程序非常commong)的windwos上的問題... – khmarbaise