Build failed in Hudson: Dhis2 Service Trunk » DHIS API #1056

See <DHIS2 App Hub;

···

------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Building DHIS API
[INFO] task-segment: [clean, install, findbugs:findbugs]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <DHIS2 App Hub;
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 340 source files to <DHIS2 App Hub;
[HUDSON] Archiving <DHIS2 App Hub; to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Service Trunk/modules/org.hisp.dhis$dhis-api/builds/2010-09-01_19-02-38/archive/org.hisp.dhis/dhis-api/2.0.6-SNAPSHOT/pom.xml
Waiting for Hudson to finish collecting data

See <DHIS2 App Hub;

···

------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Building DHIS API
[INFO] task-segment: [clean, install, findbugs:findbugs]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <DHIS2 App Hub;
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 340 source files to <DHIS2 App Hub;
[HUDSON] Archiving <DHIS2 App Hub; to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Service Trunk/modules/org.hisp.dhis$dhis-api/builds/2010-09-01_20-01-35/archive/org.hisp.dhis/dhis-api/2.0.6-SNAPSHOT/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
Unable to locate the Javac Compiler in:
  /usr/lib/jvm/java-1.6.0-sun-1.6.0.21.x86_64/jre/../lib/tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14 seconds
[INFO] Finished at: Wed Sep 01 20:01:56 CEST 2010

See <DHIS2 App Hub;

···

------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Building DHIS API
[INFO] task-segment: [clean, install, findbugs:findbugs]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <DHIS2 App Hub;
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 340 source files to <DHIS2 App Hub;
[HUDSON] Archiving <DHIS2 App Hub; to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Service Trunk/modules/org.hisp.dhis$dhis-api/builds/2010-09-01_21-01-31/archive/org.hisp.dhis/dhis-api/2.0.6-SNAPSHOT/pom.xml

See <DHIS2 App Hub;

···

------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Building DHIS API
[INFO] task-segment: [clean, install, findbugs:findbugs]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <DHIS2 App Hub;
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 340 source files to <DHIS2 App Hub;
[HUDSON] Archiving <DHIS2 App Hub; to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Service Trunk/modules/org.hisp.dhis$dhis-api/builds/2010-09-02_15-01-41/archive/org.hisp.dhis/dhis-api/2.0.6-SNAPSHOT/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
Unable to locate the Javac Compiler in:
  /usr/lib/jvm/java-1.6.0-sun-1.6.0.21.x86_64/jre/../lib/tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Thu Sep 02 15:02:06 CEST 2010

See <DHIS2 App Hub;

···

------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Building DHIS API
[INFO] task-segment: [clean, install, findbugs:findbugs]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <DHIS2 App Hub;
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 340 source files to <DHIS2 App Hub;
[HUDSON] Archiving <DHIS2 App Hub; to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Service Trunk/modules/org.hisp.dhis$dhis-api/builds/2010-09-02_19-31-38/archive/org.hisp.dhis/dhis-api/2.0.6-SNAPSHOT/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
Unable to locate the Javac Compiler in:
  /usr/lib/jvm/java-1.6.0-sun-1.6.0.21.x86_64/jre/../lib/tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14 seconds
[INFO] Finished at: Thu Sep 02 19:31:59 CEST 2010

See <DHIS2 App Hub;

···

------------------------------------------
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties
[INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
[INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
[INFO] Velocimacro : VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [findbugs:findbugs {execution: default-cli}]
[INFO] Using source root:
[INFO] /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Service Trunk/workspace/dhis-2/target/classes
[INFO] Using test source root:
[INFO] /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Service Trunk/workspace/dhis-2/target/test-classes
[INFO] Output class directory doesn't exist. Skipping findbugs.
[INFO] ------------------------------------------------------------------------
[INFO] Building DHIS API
[INFO] task-segment: [clean, install, findbugs:findbugs]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <DHIS2 App Hub;
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] [compiler:compile {execution: default-compile}]
[HUDSON] Archiving <DHIS2 App Hub; to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Service Trunk/modules/org.hisp.dhis$dhis-api/builds/2010-09-02_22-37-31/archive/org.hisp.dhis/dhis-api/2.0.6-SNAPSHOT/pom.xml[INFO] Compiling 340 source files to <DHIS2 App Hub;

See <DHIS2 App Hub;

···

------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Building DHIS API
[INFO] task-segment: [clean, install, findbugs:findbugs]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <DHIS2 App Hub;
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 340 source files to <DHIS2 App Hub;
[HUDSON] Archiving <DHIS2 App Hub; to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Service Trunk/modules/org.hisp.dhis$dhis-api/builds/2010-09-03_07-01-46/archive/org.hisp.dhis/dhis-api/2.0.6-SNAPSHOT/pom.xml

See <DHIS2 App Hub;