Hudson+maven执行的时候遇到这个问题

时间:2023-01-25 22:37:36
Hudson+maven执行的时候遇到这个问题

更详细的
Started by user anonymous
Updating svn://192.168.1.64/project/trunk/ziyoulianmeng_service revision: Jul 23, 2014 5:11:04 PM depth:infinity ignoreExternals: false
At revision 1430
no change for svn://192.168.1.64/project/trunk/ziyoulianmeng_service since the previous build
[INFO] Using bundled Maven 3 installation
[INFO] Checking Maven 3 installation environment
[workspace] $ /var/lib/hudson/maven/slavebundle/bundled-maven/bin/mvn --help
[INFO] Checking Maven 3 installation version
[INFO] Detected Maven 3 installation version: 3.0.3
[workspace] $ /var/lib/hudson/maven/slavebundle/bundled-maven/bin/mvn clean install -V -B -Dmaven.ext.class.path=/var/lib/hudson/maven/slavebundle/resources:/var/lib/hudson/maven/slavebundle/lib/maven3-eventspy-3.0.jar:/var/lib/hudson/war/webapp/WEB-INF/lib/hudson-remoting-3.0.2.jar -Dhudson.eventspy.port=35383 -f pom.xml
[DEBUG] Waiting for connection on port: 35383
Apache Maven 3.0.3 (r1075438; 2011-03-01 01:31:09+0800)
Maven home: /var/lib/hudson/maven/slavebundle/bundled-maven
Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
Java home: /usr/java/jdk1.6.0_45/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-431.1.2.0.1.el6.i686", arch: "i386", family: "unix"
[DEBUG] Connected to remote
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building ziyoulianmeng_service Maven Webapp 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ziyoulianmeng_service ---
[INFO] Deleting /var/lib/hudson/jobs/ziyoulianmeng_service/workspace/target
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.336s
[INFO] Finished at: Wed Jul 23 17:11:08 CST 2014
[INFO] Final Memory: 5M/73M
[INFO] ------------------------------------------------------------------------
[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean) on project ziyoulianmeng_service: Failed to clean project: Failed to delete /var/lib/hudson/jobs/ziyoulianmeng_service/workspace/target/ziyoulianmeng_service/META-INF
[DEBUG] Closing connection to remote
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean) on project ziyoulianmeng_service: Failed to clean project: Failed to delete /var/lib/hudson/jobs/ziyoulianmeng_service/workspace/target/ziyoulianmeng_service/META-INF -> [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
[DEBUG] Waiting for process to finish
[DEBUG] Result: 1
Finished: FAILURE

1 个解决方案

#1


先单独执行clean,有没有错

#1


先单独执行clean,有没有错