Established TCP socket on 37405 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/Sentinel/workspace/pom.xml clean package install javadoc:javadoc -DBUILD_NUMBER=519 [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.mcmonkey:sentinel:jar:2.8.1-SNAPSHOT [WARNING] 'dependencies.dependency.version' for org.json:json:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 58, 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 67, column 25 [WARNING] 'dependencies.dependency.systemPath' for com.tommytony:war:jar should not point at files within the project directory, ${project.basedir}/lib/war.jar will be unresolvable by dependent projects @ line 76, column 25 [WARNING] 'dependencies.dependency.systemPath' for com.palmergames.bukkit:towny:jar should not point at files within the project directory, ${project.basedir}/lib/towny.jar will be unresolvable by dependent projects @ line 84, column 25 [WARNING] 'dependencies.dependency.systemPath' for com.massivecraft:factions:jar should not point at files within the project directory, ${basedir}/lib/Factions.jar will be unresolvable by dependent projects @ line 91, column 25 [WARNING] 'dependencies.dependency.systemPath' for com.massivecraft:massivecore:jar should not point at files within the project directory, ${basedir}/lib/MassiveCore.jar will be unresolvable by dependent projects @ line 98, column 25 [WARNING] 'dependencies.dependency.systemPath' for com.shampaggon:crackshot:jar should not point at files within the project directory, ${basedir}/lib/CrackShot.jar will be unresolvable by dependent projects @ line 105, column 25 [WARNING] 'dependencies.dependency.systemPath' for net.sacredlabyrinth.phaed.simpleclans:SimpleClans:jar should not point at files within the project directory, ${basedir}/lib/SimpleClans.jar will be unresolvable by dependent projects @ line 112, column 25 [WARNING] 'dependencies.dependency.systemPath' for simplepets.brainsynder:SimplePets:jar should not point at files within the project directory, ${basedir}/lib/SimplePets.jar will be unresolvable by dependent projects @ line 119, column 25 [WARNING] 'dependencies.dependency.systemPath' for com.sk89q:WorldEdit:jar should not point at files within the project directory, ${basedir}/lib/WorldEdit.jar will be unresolvable by dependent projects @ line 126, column 25 [WARNING] 'dependencies.dependency.systemPath' for com.sk89q:WorldGuard:jar should not point at files within the project directory, ${basedir}/lib/WorldGuard.jar will be unresolvable by dependent projects @ line 133, column 25 [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [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] -----------------------< org.mcmonkey:sentinel >------------------------ [INFO] Building Sentinel 2.8.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ sentinel --- [INFO] Deleting /var/lib/jenkins/jobs/Sentinel/workspace/target [INFO] [INFO] --- resources:3.3.0:resources (default-resources) @ sentinel --- [INFO] Copying 2 resources [INFO] [INFO] --- compiler:2.3.2:compile (default-compile) @ sentinel --- [INFO] Compiling 49 source files to /var/lib/jenkins/jobs/Sentinel/workspace/target/classes [INFO] [INFO] --- resources:3.3.0:testResources (default-testResources) @ sentinel --- [INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/Sentinel/workspace/src/test/resources [INFO] [INFO] --- compiler:2.3.2:testCompile (default-testCompile) @ sentinel --- [INFO] No sources to compile [INFO] [INFO] --- surefire:3.0.0-M8:test (default-test) @ sentinel --- [INFO] No tests to run. [JENKINS] Recording test results [INFO] [INFO] --- jar:3.1.0:jar (default-jar) @ sentinel --- [WARNING] Parameter 'finalName' is read-only, must not be used in configuration [INFO] Building jar: /var/lib/jenkins/jobs/Sentinel/workspace/target/Sentinel-2.8.1-SNAPSHOT-b519.jar [INFO] [INFO] --- shade:3.2.0:shade (default) @ sentinel --- [INFO] Including com.freneticllc.freneticutilities:freneticdatasyntax:jar:1.1 in the shaded jar. [INFO] Including org.json:json:jar:20240303 in the shaded jar. [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /var/lib/jenkins/jobs/Sentinel/workspace/target/Sentinel-2.8.1-SNAPSHOT-b519.jar with /var/lib/jenkins/jobs/Sentinel/workspace/target/sentinel-2.8.1-SNAPSHOT-shaded.jar [INFO] Dependency-reduced POM written at: /var/lib/jenkins/jobs/Sentinel/workspace/dependency-reduced-pom.xml [INFO] [INFO] --- resources:3.3.0:resources (default-resources) @ sentinel --- [INFO] Copying 2 resources [INFO] [INFO] --- compiler:2.3.2:compile (default-compile) @ sentinel --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- resources:3.3.0:testResources (default-testResources) @ sentinel --- [INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/Sentinel/workspace/src/test/resources [INFO] [INFO] --- compiler:2.3.2:testCompile (default-testCompile) @ sentinel --- [INFO] No sources to compile [INFO] [INFO] --- surefire:3.0.0-M8:test (default-test) @ sentinel --- [INFO] No tests to run. [INFO] Skipping execution of surefire because it has already been run for this configuration [JENKINS] Recording test results [INFO] [INFO] --- jar:3.1.0:jar (default-jar) @ sentinel --- [WARNING] Parameter 'finalName' is read-only, must not be used in configuration [INFO] Building jar: /var/lib/jenkins/jobs/Sentinel/workspace/target/Sentinel-2.8.1-SNAPSHOT-b519.jar [INFO] [INFO] --- shade:3.2.0:shade (default) @ sentinel --- [INFO] Including com.freneticllc.freneticutilities:freneticdatasyntax:jar:1.1 in the shaded jar. [INFO] Including org.json:json:jar:20240303 in the shaded jar. [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /var/lib/jenkins/jobs/Sentinel/workspace/target/Sentinel-2.8.1-SNAPSHOT-b519.jar with /var/lib/jenkins/jobs/Sentinel/workspace/target/sentinel-2.8.1-SNAPSHOT-shaded.jar [INFO] Dependency-reduced POM written at: /var/lib/jenkins/jobs/Sentinel/workspace/dependency-reduced-pom.xml [INFO] [INFO] --- install:3.1.0:install (default-install) @ sentinel --- [INFO] Installing /var/lib/jenkins/jobs/Sentinel/workspace/dependency-reduced-pom.xml to /var/lib/jenkins/.m2/repository/org/mcmonkey/sentinel/2.8.1-SNAPSHOT/sentinel-2.8.1-SNAPSHOT.pom [INFO] Installing /var/lib/jenkins/jobs/Sentinel/workspace/target/Sentinel-2.8.1-SNAPSHOT-b519.jar to /var/lib/jenkins/.m2/repository/org/mcmonkey/sentinel/2.8.1-SNAPSHOT/sentinel-2.8.1-SNAPSHOT.jar [INFO] [INFO] >>> javadoc:2.9:javadoc (default-cli) > generate-sources @ sentinel >>> [WARNING] Failed to getClass for org.apache.maven.plugin.javadoc.JavadocReport [INFO] [INFO] <<< javadoc:2.9:javadoc (default-cli) < generate-sources @ sentinel <<< [INFO] [INFO] [INFO] --- javadoc:2.9:javadoc (default-cli) @ sentinel --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.972 s [INFO] Finished at: 2024-05-11T17:18:33Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9:javadoc (default-cli) on project sentinel: An error has occurred in JavaDocs report generation: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set. -> [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/MojoExecutionException