See 
<https://builds.apache.org/job/Commons-Compress-Windows/448/display/redirect?page=changes>

Changes:

[garydgregory] Use try-with-resources.

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on windows-2012-2 (Windows) in workspace 
<https://builds.apache.org/job/Commons-Compress-Windows/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/commons-compress.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/commons-compress.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/commons-compress.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse "refs/remotes/origin/master^{commit}" # timeout=10
 > git rev-parse "refs/remotes/origin/origin/master^{commit}" # timeout=10
Checking out Revision 3bf9dad70ea4b93de850312cec2681f3242280c7 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3bf9dad70ea4b93de850312cec2681f3242280c7
Commit message: "Use try-with-resources."
 > git rev-list 29ce3e0e9ecc31a5c3cecb19246ff978fc7e7c20 # timeout=10
[EnvInject] - Injecting environment variables from a build step.
Setting 
JDK_1_7_UNLIMITED_SECURITY_64_BIT_WINDOWS_ONLY_HOME=F:\\hudson\\tools\\java\\jdk1.7.0_79-unlimited-security
[EnvInject] - Injecting as environment variables the properties content 
JAVA_1_7_HOME=F:\\hudson\\tools\\java\\jdk1.7.0_79-unlimited-security

[EnvInject] - Variables injected successfully.
Setting 
JDK_1_7_UNLIMITED_SECURITY_64_BIT_WINDOWS_ONLY_HOME=F:\\hudson\\tools\\java\\jdk1.7.0_79-unlimited-security
Parsing POMs
Established TCP socket on 58412
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[Commons-Compress-Windows] $ 
F:\\hudson\\tools\\java\\jdk1.7.0_79-unlimited-security/bin/java -Xmx2g 
-Xms256m -cp 
f:\jenkins\jenkins-slave\maven35-agent.jar;f:\jenkins\tools\maven\latest3\boot\plexus-classworlds-2.5.2.jar;f:\\jenkins\\tools\\maven\\latest3/conf/logging
 jenkins.maven3.agent.Maven35Main f:\\jenkins\\tools\\maven\\latest3 
F:\jenkins\jenkins-slave\slave.jar 
f:\jenkins\jenkins-slave\maven35-interceptor.jar 
f:\jenkins\jenkins-slave\maven3-interceptor-commons.jar 58412
<===[JENKINS REMOTING CAPACITY]===>   channel started
ERROR: 
================================================================================
ERROR: Invalid project setup: jenkins/security/MasterToSlaveCallable : 
Unsupported major.minor version 52.0
ERROR: [JENKINS-18403][JENKINS-28294] JDK 'JDK 1.7 (unlimited security) 64-bit 
Windows only' not supported to run Maven projects.
ERROR: Maven projects have to be launched with a Java version greater or equal 
to the minimum version required by the master.
ERROR: Use the Maven JDK Toolchains (plugin) to build your maven project with 
an older JDK.
ERROR: Retrying with slave Java and setting compile/test properties to point to 
F:\\hudson\\tools\\java\\jdk1.7.0_79-unlimited-security.
ERROR: 
================================================================================
Established TCP socket on 58414
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[Commons-Compress-Windows] $ "C:\Program Files\Java\jre-9/bin/java" -Xmx2g 
-Xms256m -cp 
f:\jenkins\jenkins-slave\maven35-agent.jar;f:\jenkins\tools\maven\latest3\boot\plexus-classworlds-2.5.2.jar;f:\\jenkins\\tools\\maven\\latest3/conf/logging
 jenkins.maven3.agent.Maven35Main f:\\jenkins\\tools\\maven\\latest3 
F:\jenkins\jenkins-slave\slave.jar 
f:\jenkins\jenkins-slave\maven35-interceptor.jar 
f:\jenkins\jenkins-slave\maven3-interceptor-commons.jar 58414
<===[JENKINS REMOTING CAPACITY]===>   channel started
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by hudson.remoting.RemoteClassLoader 
(file:/F:/jenkins/jenkins-slave/slave.jar) to method 
java.lang.ClassLoader.getClassLoadingLock(java.lang.String)
WARNING: Please consider reporting this to the maintainers of 
hudson.remoting.RemoteClassLoader
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
Executing Maven:  -B -f 
<https://builds.apache.org/job/Commons-Compress-Windows/ws/pom.xml> 
-Dmaven.repo.local=f:\jenkins\jenkins-slave\maven-repositories\0 clean test 
--batch-mode -Pjava-1.7
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Commons Compress 1.16-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ commons-compress ---
[INFO] Deleting 
<https://builds.apache.org/job/Commons-Compress-Windows/ws/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-3) @ 
commons-compress ---
[INFO] 
[INFO] --- build-helper-maven-plugin:1.10:parse-version (parse-version) @ 
commons-compress ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (javadoc.resources) @ commons-compress 
---
[INFO] Executing tasks

main:
     [copy] Copying 2 files to 
<https://builds.apache.org/job/Commons-Compress-Windows/ws/target\apidocs\META-INF>
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) 
@ commons-compress ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ commons-compress ---
[INFO] Executing: cmd.exe /X /C "git rev-parse --verify HEAD"
[INFO] Working directory: 
<https://builds.apache.org/job/Commons-Compress-Windows/ws/>
[INFO] Storing buildNumber: 3bf9dad70ea4b93de850312cec2681f3242280c7 at 
timestamp: 1515520787300
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: cmd.exe /X /C "git rev-parse --verify HEAD"
[INFO] Working directory: 
<https://builds.apache.org/job/Commons-Compress-Windows/ws/>
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
commons-compress ---
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/Commons-Compress-Windows/ws/src\main\resources>
[INFO] Copying 2 resources to META-INF
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ 
commons-compress ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 201 source files to 
<https://builds.apache.org/job/Commons-Compress-Windows/ws/target\classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] javac: invalid flag: --release
Usage: javac <options> <source files>
use -help for a list of possible options

[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.338 s
[INFO] Finished at: 2018-01-09T17:59:49Z
[INFO] Final Memory: 25M/256M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.6.0:compile (default-compile) 
on project commons-compress: Compilation failure
[ERROR] javac: invalid flag: --release
[ERROR] Usage: javac <options> <source files>
[ERROR] use -help for a list of possible options
[ERROR] -> [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/MojoFailureException
[JENKINS] Archiving 
<https://builds.apache.org/job/Commons-Compress-Windows/ws/pom.xml> to 
org.apache.commons/commons-compress/1.16-SNAPSHOT/commons-compress-1.16-SNAPSHOT.pom
Sending e-mails to: [email protected]
channel stopped
Setting 
JDK_1_7_UNLIMITED_SECURITY_64_BIT_WINDOWS_ONLY_HOME=F:\\hudson\\tools\\java\\jdk1.7.0_79-unlimited-security
Setting 
JDK_1_7_UNLIMITED_SECURITY_64_BIT_WINDOWS_ONLY_HOME=F:\\hudson\\tools\\java\\jdk1.7.0_79-unlimited-security

Reply via email to