JAVA_HOME=/usr/lib/jvm/default-java/ mvn -f ./pom.xml package [[1;34mINFO[m] Scanning for projects... [[1;34mINFO[m] [[1;34mINFO[m] [1m------------------< [0;36mcom.kelseyde:calvin-chess-engine[0;1m >------------------[m [[1;34mINFO[m] [1mBuilding calvin-chess-engine 6.2.0-SNAPSHOT[m [[1;34mINFO[m] from pom.xml [[1;34mINFO[m] [1m--------------------------------[ jar ]---------------------------------[m [[1;34mINFO[m] [[1;34mINFO[m] [1m--- [0;32mtoolchains:3.2.0:toolchain[m [1m(default)[m @ [36mcalvin-chess-engine[0;1m ---[m [[1;34mINFO[m] Required toolchain: jdk [ version='17' ] [[1;31mERROR[m] No toolchain found for type jdk [[1;31mERROR[m] Cannot find matching toolchain definitions for the following toolchain types: jdk [ version='17' ] [[1;34mINFO[m] [1m------------------------------------------------------------------------[m [[1;34mINFO[m] [1;31mBUILD FAILURE[m [[1;34mINFO[m] [1m------------------------------------------------------------------------[m [[1;34mINFO[m] Total time: 0.120 s [[1;34mINFO[m] Finished at: 2025-07-24T03:05:30-07:00 [[1;34mINFO[m] [1m------------------------------------------------------------------------[m [[1;31mERROR[m] Failed to execute goal [32morg.apache.maven.plugins:maven-toolchains-plugin:3.2.0:toolchain[m [1m(default)[m on project [36mcalvin-chess-engine[m: [1;31mCannot find matching toolchain definitions for the following toolchain types:[m [[1;31mERROR[m] [1;31mjdk [ version='17' ][m [[1;31mERROR[m] [1;31mPlease make sure you define the required toolchains in your ~/.m2/toolchains.xml file.[m [[1;31mERROR[m] -> [1m[Help 1][m [[1;31mERROR[m] [[1;31mERROR[m] To see the full stack trace of the errors, re-run Maven with the [1m-e[m switch. [[1;31mERROR[m] Re-run Maven using the [1m-X[m switch to enable full debug logging. [[1;31mERROR[m] [[1;31mERROR[m] For more information about the errors and possible solutions, please read the following articles: [[1;31mERROR[m] [1m[Help 1][m http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException make: *** [Makefile:8: all] Error 1