SCMLife.com

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 2848|回复: 0

[求助] hudson+svn+maven3集成问题

[复制链接]
发表于 2016-6-28 17:07:56 | 显示全部楼层 |阅读模式
hudson+svn+maven3集成问题( S& |2 q" h9 ?- ^8 u

3 J6 S$ X: n# A9 ?5 m8 J编译报错如下,pom.xml这个文件位于/root/.hudson/jobs/lhdx-test/workspace/lhdx/pom.xml,而编译器少读取一层目录lhdx,而编译器的路径都是自动定义好的,不知道怎么能够修改设置指向.../lhdx/pom.xml?; ?( N5 @5 y/ `- Q& H$ X
Started by user anonymousUpdating svn://192.168.100.238/lhdx/Code/trunk/lhdx revision: 2016-6-28 13:51:01 depth:infinity ignoreExternals: falseU         src/main/webapp/page/home/home.jspU         src/main/webapp/page/home/homeMain.jspU         src/main/webapp/page/lhresource/manage/js/communityResourceM2List.jsU         src/main/webapp/container/page/lhresource/manage/communityManage/specialAdministration.jspU         src/main/webapp/container/page/lhresource/manage/communityManage/js/communityAdministration.jsU         src/main/webapp/container/page/lhresource/manage/resource/js/resourceAdministration.jsU         src/main/java/com/sinosoft/lhresource/sensitive/service/SensitiveServiceImpl.javaA         src/main/java/com/sinosoft/component/cache/util/SensitiveUtil.javaU         src/main/java/com/sinosoft/component/cache/servcie/CacheServiceImpl.javaU         src/main/resources/com/sinosoft/conf/mysql/mappers/lhresource/lhresource-communityresource.xmlAt revision 219[INFO] Using bundled Maven 3 installation[INFO] Checking Maven 3 installation environment[workspace] $ /root/.hudson/maven/slavebundle/bundled-maven/bin/mvn --help[INFO] Checking Maven 3 installation version[INFO] Detected Maven 3 installation version: 3.1.1[workspace] $ /root/.hudson/maven/slavebundle/bundled-maven/bin/mvn clean install -V -B -Dmaven.ext.class.path=/root/.hudson/maven/slavebundle/resources:/root/.hudson/maven/slavebundle/lib/maven3-eventspy-3.1.jar:/usr/sinosoft/software/hudson/tomcat-hudson/webapps/hudson/WEB-INF/lib/hudson-remoting-3.0.3.jar -Dhudson.eventspy.port=45676 -f pom.xml[DEBUG] Waiting for connection on port: 45676Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 23:22:22+0800)Maven home: /root/.hudson/maven/slavebundle/bundled-mavenJava version: 1.7.0_79, vendor: Oracle CorporationJava home: /usr/java/jdk1.7.0_79/jreDefault locale: zh_CN, platform encoding: UTF-8OS name: "linux", version: "2.6.32-431.el6.x86_64", arch: "amd64", family: "unix"SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/root/.hudson/maven/slavebundle/lib/maven3-eventspy-runtime.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:file:/root/.hudson/maven/slavebundle/bundled-maven/lib/slf4j-simple-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.[DEBUG] Connected to remote[INFO] Scanning for projects...[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:[FATAL] Non-readable POM /root/.hudson/jobs/lhdx-test/workspace/pom.xml: /root/.hudson/jobs/lhdx-test/workspace/pom.xml (没有那个文件或目录) @ [DEBUG] Closing connection to remote[ERROR] The build could not read 1 project -> [Help 1][ERROR]   [ERROR]   The project  (/root/.hudson/jobs/lhdx-test/workspace/pom.xml) has 1 error[ERROR]     Non-readable POM /root/.hudson/jobs/lhdx-test/workspace/pom.xml: /root/.hudson/jobs/lhdx-test/workspace/pom.xml (没有那个文件或目录)[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/ProjectBuildingException[DEBUG] Waiting for process to finish[DEBUG] Result: 1Sending e-mails to: 279358279@qq.com[DEBUG] Skipping watched dependency update for build: lhdx-test #59 due to result: FAILUREFinished: FAILURE# _$ A6 |: |3 _
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

SCMLife推荐上一条 /3 下一条

QQ|小黑屋|手机版|无图版|SCMLife.com ( 京ICP备06056490号-1 )

GMT+8, 2018-8-17 15:05 , Processed in 0.059600 second(s), 9 queries , Gzip On, MemCache On.

Powered by SCMLife X3.4 Licensed

© 2001-2017 JoyShare.

快速回复 返回顶部 返回列表