无法在项目 checkstyle 上执行目标 org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean)

无法在项目 checkstyle 上执行目标 org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean)

当我运行时mvn clean install,出现错误:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project checkstyle: Failed to clean project: Failed to delete /home/sana/controller/opendaylight/commons/checkstyle/target/checkstyle-0.0.2-1-SNAPSHOT.jar -> [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
    [ERROR] 
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR]   mvn <goals> -rf :checkstyle

相关内容