Started by GitHub push by mcmonkey4eva Running as SYSTEM Building in workspace /var/lib/jenkins/jobs/Denizen_Developmental/workspace No JDK named ‘OpenJDK 17’ found The recommended git tool is: NONE No credentials specified No JDK named ‘OpenJDK 17’ found > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/Denizen_Developmental/workspace/.git # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url https://github.com/DenizenScript/Denizen.git # timeout=10 Fetching upstream changes from https://github.com/DenizenScript/Denizen.git > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.43.5' > /usr/bin/git fetch --tags --force --progress -- https://github.com/DenizenScript/Denizen.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse origin/dev^{commit} # timeout=10 No JDK named ‘OpenJDK 17’ found Checking out Revision 8e85c7410367f09fd17085a37fbd5ec2ffb50679 (origin/dev) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 8e85c7410367f09fd17085a37fbd5ec2ffb50679 # timeout=10 Commit message: "remove 'Toggleable' trait ref" > /usr/bin/git rev-list --no-walk 4a943f1539ae9724c3e689367fc26987cd4fedb4 # timeout=10 > /usr/bin/git tag -a -f -m Jenkins Build #7063 jenkins-Denizen_Developmental-7063 # timeout=10 No JDK named ‘OpenJDK 17’ found false No JDK named ‘OpenJDK 17’ found Parsing POMs Failed to transfer Could not find metadata org.spigotmc:spigot-api:1.21-R0.1-SNAPSHOT/maven-metadata.xml in everything (https://maven.citizensnpcs.co/repo) Failed to transfer Could not find metadata org.json:json/maven-metadata.xml in everything (https://maven.citizensnpcs.co/repo) Downloaded artifact https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizens-main/2.0.34-SNAPSHOT/maven-metadata.xml Downloaded artifact https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizens-parent/2.0.34-SNAPSHOT/maven-metadata.xml Failed to transfer Could not find metadata net.citizensnpcs:citizens-parent:2.0.34-SNAPSHOT/maven-metadata.xml in sk89q-repo (https://maven.enginehub.org/repo/) Failed to transfer Could not find metadata net.citizensnpcs:citizens-parent:2.0.34-SNAPSHOT/maven-metadata.xml in spigot-repo (https://hub.spigotmc.org/nexus/content/repositories/snapshots/) Failed to transfer Could not find metadata net.citizensnpcs:citizens-parent:2.0.34-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/) Failed to transfer Could not find metadata net.citizensnpcs:citizens-parent:2.0.34-SNAPSHOT/maven-metadata.xml in dmulloy2-repo (https://repo.dmulloy2.net/repository/public/) Failed to transfer Could not find metadata net.citizensnpcs:citizens-parent:2.0.34-SNAPSHOT/maven-metadata.xml in AlessioDP (https://repo.alessiodp.com/releases/) Failed to transfer Could not find metadata net.citizensnpcs:citizens-parent:2.0.34-SNAPSHOT/maven-metadata.xml in sonatype-oss-snapshots1 (https://s01.oss.sonatype.org/content/repositories/snapshots/) Failed to transfer Could not find metadata com.denizenscript:denizen:1.3.1-SNAPSHOT/maven-metadata.xml in papermc (https://repo.papermc.io/repository/maven-public/) Downloaded artifact https://repo.papermc.io/repository/maven-public/io/papermc/paper/paper-api/1.21-R0.1-SNAPSHOT/maven-metadata.xml Failed to transfer Could not find metadata net.citizensnpcs:citizens-main:2.0.34-SNAPSHOT/maven-metadata.xml in papermc (https://repo.papermc.io/repository/maven-public/) Failed to transfer Could not find metadata org.spigotmc:spigot-parent:dev-SNAPSHOT/maven-metadata.xml in minecraft-libraries (https://libraries.minecraft.net/) Failed to transfer Could not find metadata com.denizenscript:denizen-v1_17:1.3.1-SNAPSHOT/maven-metadata.xml in everything (https://maven.citizensnpcs.co/repo) Failed to transfer Could not find metadata com.denizenscript:denizen-v1_18:1.3.1-SNAPSHOT/maven-metadata.xml in everything (https://maven.citizensnpcs.co/repo) Failed to transfer Could not find metadata com.denizenscript:denizen-v1_19:1.3.1-SNAPSHOT/maven-metadata.xml in everything (https://maven.citizensnpcs.co/repo) Failed to transfer Could not find metadata com.denizenscript:denizen-v1_20:1.3.1-SNAPSHOT/maven-metadata.xml in everything (https://maven.citizensnpcs.co/repo) Failed to transfer Could not find metadata com.denizenscript:denizen-v1_21:1.3.1-SNAPSHOT/maven-metadata.xml in everything (https://maven.citizensnpcs.co/repo) Failed to transfer Could not find metadata com.denizenscript:denizen-paper:1.3.1-SNAPSHOT/maven-metadata.xml in everything (https://maven.citizensnpcs.co/repo) Downloaded artifact https://maven.citizensnpcs.co/repo/com/denizenscript/denizen/1.3.1-SNAPSHOT/maven-metadata.xml Modules changed, recalculating dependency graph Established TCP socket on 45069 [workspace] $ java -Djava.awt.headless=true -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.14.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.0/boot/plexus-classworlds-2.6.0.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.0/conf/logging jenkins.maven3.agent.Maven35Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.0 /var/cache/jenkins/war/WEB-INF/lib/remoting-3261.v9c670a_4748a_9.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.14.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.14.jar 45069 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/Denizen_Developmental/workspace/pom.xml clean package install -DBUILD_CLASS=DEV -DBUILD_NUMBER=7063 [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.denizenscript:denizen:jar:1.3.1-SNAPSHOT [WARNING] 'dependencies.dependency.version' for org.json:json:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 60, column 22 [WARNING] 'dependencies.dependency.systemPath' for net.milkbowl.vault:Vault:jar should not point at files within the project directory, ${project.basedir}/lib/Vault.jar will be unresolvable by dependent projects @ line 68, column 25 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Denizen [jar] [INFO] denizen-paper [jar] [INFO] denizen-v1_21 [jar] [INFO] denizen-v1_20 [jar] [INFO] denizen-v1_19 [jar] [INFO] denizen-v1_18 [jar] [INFO] denizen-v1_17 [jar] [INFO] denizen-parent [pom] [INFO] denizen-dist [jar] [INFO] [INFO] ---------------------< com.denizenscript:denizen >---------------------- [INFO] Building Denizen 1.3.1-SNAPSHOT [1/9] [INFO] from plugin/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ denizen --- [INFO] Deleting /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/target [INFO] [INFO] --- resources:3.3.0:resources (default-resources) @ denizen --- [INFO] Copying 1 resource [INFO] Copying 2 resources [INFO] [INFO] --- compiler:3.10.1:compile (default-compile) @ denizen --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 777 source files to /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/target/classes [INFO] /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/npc/TraitCommand.java: Some input files use or override a deprecated API. [INFO] /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/npc/TraitCommand.java: Recompile with -Xlint:deprecation for details. [INFO] /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java: Some input files use or override a deprecated API that is marked for removal. [INFO] /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java: Recompile with -Xlint:removal for details. [INFO] /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/npc/TraitCommand.java: Some input files use unchecked or unsafe operations. [INFO] /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/npc/TraitCommand.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/src/main/java/com/denizenscript/denizen/npc/traits/InvisibleTrait.java:[120,5] method does not override or implement a method from a supertype [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for denizen-parent 1.3.1-SNAPSHOT: [INFO] [INFO] Denizen ............................................ FAILURE [ 30.243 s] [INFO] denizen-paper ...................................... SKIPPED [INFO] denizen-v1_21 ...................................... SKIPPED [INFO] denizen-v1_20 ...................................... SKIPPED [INFO] denizen-v1_19 ...................................... SKIPPED [INFO] denizen-v1_18 ...................................... SKIPPED [INFO] denizen-v1_17 ...................................... SKIPPED [INFO] denizen-parent ..................................... SKIPPED [INFO] denizen-dist ....................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 32.556 s [INFO] Finished at: 2024-08-22T01:09:40Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project denizen: Compilation failure [ERROR] /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/src/main/java/com/denizenscript/denizen/npc/traits/InvisibleTrait.java:[120,5] method does not override or implement a method from a supertype [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 /var/lib/jenkins/jobs/Denizen_Developmental/workspace/v1_18/pom.xml to com.denizenscript/denizen-v1_18/1.3.1-SNAPSHOT/denizen-v1_18-1.3.1-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Denizen_Developmental/workspace/v1_19/pom.xml to com.denizenscript/denizen-v1_19/1.3.1-SNAPSHOT/denizen-v1_19-1.3.1-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Denizen_Developmental/workspace/paper/pom.xml to com.denizenscript/denizen-paper/1.3.1-SNAPSHOT/denizen-paper-1.3.1-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Denizen_Developmental/workspace/v1_20/pom.xml to com.denizenscript/denizen-v1_20/1.3.1-SNAPSHOT/denizen-v1_20-1.3.1-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Denizen_Developmental/workspace/v1_21/pom.xml to com.denizenscript/denizen-v1_21/1.3.1-SNAPSHOT/denizen-v1_21-1.3.1-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Denizen_Developmental/workspace/pom.xml to com.denizenscript/denizen-parent/1.3.1-SNAPSHOT/denizen-parent-1.3.1-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/pom.xml to com.denizenscript/denizen/1.3.1-SNAPSHOT/denizen-1.3.1-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Denizen_Developmental/workspace/v1_17/pom.xml to com.denizenscript/denizen-v1_17/1.3.1-SNAPSHOT/denizen-v1_17-1.3.1-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Denizen_Developmental/workspace/dist/pom.xml to com.denizenscript/denizen-dist/1.3.1-SNAPSHOT/denizen-dist-1.3.1-SNAPSHOT.pom channel stopped No JDK named ‘OpenJDK 17’ found [workspace] $ /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.0/bin/mvn deploy --projects plugin [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.denizenscript:denizen:jar:1.3.1-SNAPSHOT [WARNING] 'dependencies.dependency.version' for org.json:json:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 60, column 22 [WARNING] 'dependencies.dependency.systemPath' for net.milkbowl.vault:Vault:jar should not point at files within the project directory, ${project.basedir}/lib/Vault.jar will be unresolvable by dependent projects @ line 68, column 25 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ---------------------< com.denizenscript:denizen >---------------------- [INFO] Building Denizen 1.3.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- resources:3.3.0:resources (default-resources) @ denizen --- [INFO] Copying 1 resource [INFO] Copying 2 resources [INFO] [INFO] --- compiler:3.10.1:compile (default-compile) @ denizen --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 777 source files to /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/target/classes [INFO] /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/npc/TraitCommand.java: Some input files use or override a deprecated API. [INFO] /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/npc/TraitCommand.java: Recompile with -Xlint:deprecation for details. [INFO] /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java: Some input files use or override a deprecated API that is marked for removal. [INFO] /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java: Recompile with -Xlint:removal for details. [INFO] /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/npc/TraitCommand.java: Some input files use unchecked or unsafe operations. [INFO] /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/npc/TraitCommand.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/src/main/java/com/denizenscript/denizen/npc/traits/InvisibleTrait.java:[120,5] method does not override or implement a method from a supertype [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 25.275 s [INFO] Finished at: 2024-08-22T01:10:09Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project denizen: Compilation failure [ERROR] /var/lib/jenkins/jobs/Denizen_Developmental/workspace/plugin/src/main/java/com/denizenscript/denizen/npc/traits/InvisibleTrait.java:[120,5] method does not override or implement a method from a supertype [ERROR] [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 Build step 'Invoke top-level Maven targets' marked build as failure No JDK named ‘OpenJDK 17’ found Archiving artifacts No JDK named ‘OpenJDK 17’ found No JDK named ‘OpenJDK 17’ found No JDK named ‘OpenJDK 17’ found No JDK named ‘OpenJDK 17’ found No JDK named ‘OpenJDK 17’ found [Set GitHub commit status (universal)] ERROR on repos [GHRepository@48f56db4[archived=false,commits={},compareUsePaginatedCommits=false,description=NPC and general Spigot scripting, using the Denizen Scripting Language!,disabled=false,fork=false,homepage=https://denizenscript.com/,isTemplate=false,language=Java,milestones={},name=Denizen,nodeId=MDEwOlJlcG9zaXRvcnkzNjE1MjM4,parent=,size=48276,source=,visibility=public,createdAt=2012-03-04T01:33:07Z,id=3615238,nodeId=,updatedAt=2024-08-22T01:08:40Z,url=https://api.github.com/repos/DenizenScript/Denizen]] (sha:8e85c74) with context:ci/jenkins/build-status Setting commit status on GitHub for https://github.com/DenizenScript/Denizen/commit/8e85c7410367f09fd17085a37fbd5ec2ffb50679 No JDK named ‘OpenJDK 17’ found Sending notification to Discord. Finished: FAILURE