(百度解决办法:均失败.暂保留)
-
[INFO] Scanning for projects...
-
[INFO]
-
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
-
[INFO]
-
[INFO] ------------------------------------------------------------------------
-
[INFO] Building vn-wl-dxc 1.0.0-SNAPSHOT
-
[INFO] ------------------------------------------------------------------------
-
[INFO]
-
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ vn-wl-dxc ---
-
[INFO] Deleting D:\workspase3\yx-jc-ent\vn-wl-al\vn-wl-dxc\target
-
[INFO] ------------------------------------------------------------------------
-
[INFO] BUILD FAILURE
-
[INFO] ------------------------------------------------------------------------
-
[INFO] Total time: 1.586 s
-
[INFO] Finished at: 2014-11-22T10:24:56+08:00
-
[INFO] Final Memory: 7M/123M
-
[INFO] ------------------------------------------------------------------------
-
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project vn-wl-dxc: Failed to clean project: Failed to delete D:\workspase3\yx-jc-ent\vn-wl-al\vn-wl-dxc\target\vn-wl-dxc\logs\vn-wl-dxc-bp.log -> [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
-
Process finished with exit code 1
失败原因有两种情况:1、打包的运用已经在运行、2 打包的配置文件被打开
第三种情况:target目录下文件全无,idea 进行 Maven的clean 时报错提示
Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean
直接进行install 解决.然后在进行clean 恢复正常;