Skip to content
Failed

Console Output

Started by user wea_ondara
Building in workspace /var/lib/jenkins/workspace/BungeePermsTest
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/weaondara/BungeePerms.git # timeout=10
Fetching upstream changes from https://github.com/weaondara/BungeePerms.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/weaondara/BungeePerms.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 334c4a24b7490840e33b147af02692a4b198e3c0 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 334c4a24b7490840e33b147af02692a4b198e3c0
Commit message: "update dependencies"
 > git rev-list --no-walk 334c4a24b7490840e33b147af02692a4b198e3c0 # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 42780
[BungeePermsTest] $ /usr/lib/jvm/java-7-oracle/bin/java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.12-alpha-1.jar:/usr/share/maven/boot/plexus-classworlds-2.x.jar org.jvnet.hudson.maven3.agent.Maven3Main /usr/share/maven /var/cache/jenkins/war/WEB-INF/lib/remoting-3.23.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.12-alpha-1.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.12-alpha-1.jar 42780
Exception in thread "main" java.lang.UnsupportedClassVersionError: hudson/remoting/Launcher : Unsupported major.minor version 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)
	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
	at org.jvnet.hudson.maven3.agent.Maven3Main.main(Maven3Main.java:138)
	at org.jvnet.hudson.maven3.agent.Maven3Main.main(Maven3Main.java:70)
ERROR: ================================================================================
ERROR: Invalid project setup: Connection reset
ERROR: [JENKINS-18403][JENKINS-28294] JDK 'java7' 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 /usr/lib/jvm/java-7-oracle.
ERROR: ================================================================================
Established TCP socket on 42846
[BungeePermsTest] $ /usr/lib/jvm/java-8-oracle/jre/bin/java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.12-alpha-1.jar:/usr/share/maven/boot/plexus-classworlds-2.x.jar org.jvnet.hudson.maven3.agent.Maven3Main /usr/share/maven /var/cache/jenkins/war/WEB-INF/lib/remoting-3.23.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.12-alpha-1.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.12-alpha-1.jar 42846
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /var/lib/jenkins/workspace/BungeePermsTest/pom.xml clean install -Dbuild.number=48 -Dbuild.type=dev-test
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building BungeePerms 3.0
[INFO] ------------------------------------------------------------------------
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/net/md-5/bungeecord-api/1.12-SNAPSHOT/maven-metadata.xml
Downloading: http://nexus.theyeticave.net/content/repositories/pub_releases/net/md-5/bungeecord-api/1.12-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata net.md-5:bungeecord-api:1.12-SNAPSHOT/maven-metadata.xml from/to vault-repo (http://nexus.theyeticave.net/content/repositories/pub_releases): nexus.theyeticave.net: Name or service not known
Downloading: http://nexus.theyeticave.net/content/repositories/pub_releases/net/md-5/bungeecord-parent/1.12-SNAPSHOT/maven-metadata.xml
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/net/md-5/bungeecord-parent/1.12-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata net.md-5:bungeecord-parent:1.12-SNAPSHOT/maven-metadata.xml from/to vault-repo (http://nexus.theyeticave.net/content/repositories/pub_releases): nexus.theyeticave.net
Downloading: http://nexus.theyeticave.net/content/repositories/pub_releases/net/md-5/bungeecord-chat/1.12-SNAPSHOT/maven-metadata.xml
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/net/md-5/bungeecord-chat/1.12-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata net.md-5:bungeecord-chat:1.12-SNAPSHOT/maven-metadata.xml from/to vault-repo (http://nexus.theyeticave.net/content/repositories/pub_releases): nexus.theyeticave.net
Downloading: http://nexus.theyeticave.net/content/repositories/pub_releases/net/md-5/bungeecord-config/1.12-SNAPSHOT/maven-metadata.xml
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/net/md-5/bungeecord-config/1.12-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata net.md-5:bungeecord-config:1.12-SNAPSHOT/maven-metadata.xml from/to vault-repo (http://nexus.theyeticave.net/content/repositories/pub_releases): nexus.theyeticave.net
Downloading: http://nexus.theyeticave.net/content/repositories/pub_releases/net/md-5/bungeecord-event/1.12-SNAPSHOT/maven-metadata.xml
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/net/md-5/bungeecord-event/1.12-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata net.md-5:bungeecord-event:1.12-SNAPSHOT/maven-metadata.xml from/to vault-repo (http://nexus.theyeticave.net/content/repositories/pub_releases): nexus.theyeticave.net
Downloading: http://nexus.theyeticave.net/content/repositories/pub_releases/net/md-5/bungeecord-protocol/1.12-SNAPSHOT/maven-metadata.xml
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/net/md-5/bungeecord-protocol/1.12-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata net.md-5:bungeecord-protocol:1.12-SNAPSHOT/maven-metadata.xml from/to vault-repo (http://nexus.theyeticave.net/content/repositories/pub_releases): nexus.theyeticave.net
Downloading: http://nexus.theyeticave.net/content/repositories/pub_releases/com/mojang/AccountsClient/0.0.1-SNAPSHOT/maven-metadata.xml
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/com/mojang/AccountsClient/0.0.1-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata com.mojang:AccountsClient:0.0.1-SNAPSHOT/maven-metadata.xml from/to vault-repo (http://nexus.theyeticave.net/content/repositories/pub_releases): nexus.theyeticave.net
[WARNING] Failure to transfer com.mojang:AccountsClient:0.0.1-SNAPSHOT/maven-metadata.xml from http://nexus.theyeticave.net/content/repositories/pub_releases was cached in the local repository, resolution will not be reattempted until the update interval of vault-repo has elapsed or updates are forced. Original error: Could not transfer metadata com.mojang:AccountsClient:0.0.1-SNAPSHOT/maven-metadata.xml from/to vault-repo (http://nexus.theyeticave.net/content/repositories/pub_releases): nexus.theyeticave.net
Downloading: http://nexus.theyeticave.net/content/repositories/pub_releases/org/spigotmc/spigot-api/1.12-R0.1-SNAPSHOT/maven-metadata.xml
Downloading: file:///var/lib/jenkins/workspace/BungeePermsTest/lib/repository/org/spigotmc/spigot-api/1.12-R0.1-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.spigotmc:spigot-api:1.12-R0.1-SNAPSHOT/maven-metadata.xml from/to vault-repo (http://nexus.theyeticave.net/content/repositories/pub_releases): nexus.theyeticave.net
[WARNING] The POM for net.milkbowl.vault:Vault:jar:1.2.32 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for net.ess3:Essentials:jar:2.13.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ BungeePerms ---
[INFO] Deleting /var/lib/jenkins/workspace/BungeePermsTest/target
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ BungeePerms ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ BungeePerms ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 113 source files to /var/lib/jenkins/workspace/BungeePermsTest/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options

[INFO] 1 error
[INFO] -------------------------------------------------------------
[WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenFingerprinter$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.823s
[INFO] Finished at: Tue Jul 24 00:40:28 CEST 2018
[INFO] Final Memory: 16M/170M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project BungeePerms: Compilation failure
[ERROR] javac: invalid target release: 1.8
[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] 
[JENKINS] Archiving /var/lib/jenkins/workspace/BungeePermsTest/pom.xml to net.alpenblock/BungeePerms/3.0/BungeePerms-3.0.pom
[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
channel stopped
Finished: FAILURE