enforcer rule should cover the whole core, since the remoting bulid fails on some JDK5 versions.
---------- [INFO] ---------------------------------------------------------------------------- [INFO] Building Hudson remoting layer [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from m.g.o-public [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from m.g.o-public [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for updates from m.g.o-public [INFO] [enforcer:display-info {execution: default}] [INFO] Maven Version: 2.0.7 [INFO] JDK Version: 1.5.0_06 normalized as: 1.5.0-6 [INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 2.6.27-11-generic [INFO] [remote-resources:process {execution: default}] [INFO] inceptionYear not specified, defaulting to 2009 [INFO] [resources:resources] [WARNING] Using platform encoding (ISO-8859-1 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource [INFO] [compiler:compile] [INFO] Compiling 46 source files to /files/hudson/workspace/hudson-cobertura/main/remoting/target/classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /files/hudson/workspace/hudson-cobertura/main/remoting/src/main/java/hudson/remoting/Request.java:[133,16] unreported exception java.lang.Throwable; must be caught or declared to be thrown /files/hudson/workspace/hudson-cobertura/main/remoting/src/main/java/hudson/remoting/Request.java:[133,16] unreported exception java.lang.Throwable; must be caught or declared to be thrown [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11 seconds [INFO] Finished at: Wed Mar 25 09:42:20 PDT 2009 [INFO] Final Memory: 40M/207M [INFO] ------------------------------------------------------------------------ Finished: FAILURE git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16536 71c3de6d-444a-0410-be80-ed276b4c234a
Showing
想要评论请 注册 或 登录