Skip to content

Conversation

@Pankraz76
Copy link

trying to test:

can not even execute:

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: osx
[INFO] os.detected.arch: aarch_64
[INFO] os.detected.bitness: 64
[INFO] os.detected.version: 26.0
[INFO] os.detected.version.major: 26
[INFO] os.detected.version.minor: 0
[INFO] os.detected.classifier: osx-aarch_64
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Error Prone parent POM                                             [pom]
[INFO] @BugPattern annotation                                             [jar]
[INFO] error-prone annotations                                            [jar]
[INFO] error-prone check api                                              [jar]
[INFO] error-prone test helpers                                           [jar]
[INFO] error-prone library                                                [jar]
[INFO] error-prone type annotations                                       [jar]
[INFO] JSR-269 annotation processor for @BugPattern annotation            [jar]
[INFO] Documentation tool for generating Error Prone bugpattern documentation [jar]
[INFO] Refaster rule compiler                                             [jar]
[INFO] 
[INFO] --------------< com.google.errorprone:error_prone_parent >--------------
[INFO] Building Error Prone parent POM 1.0-HEAD-SNAPSHOT                 [1/10]
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- enforcer:3.0.0:enforce (enforce-maven) @ error_prone_parent ---
[INFO] 
[INFO] --- toolchains:3.2.0:toolchain (default) @ error_prone_parent ---
[INFO] Required toolchain: jdk [ version='25' ]
[ERROR] No toolchain matched from 3 found for type jdk
[ERROR] Cannot find matching toolchain definitions for the following toolchain types:
jdk [ version='25' ]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Error Prone parent POM 1.0-HEAD-SNAPSHOT:
[INFO] 
[INFO] Error Prone parent POM ............................. FAILURE [  0.204 s]
[INFO] @BugPattern annotation ............................. SKIPPED
[INFO] error-prone annotations ............................ SKIPPED
[INFO] error-prone check api .............................. SKIPPED
[INFO] error-prone test helpers ........................... SKIPPED
[INFO] error-prone library ................................ SKIPPED
[INFO] error-prone type annotations ....................... SKIPPED
[INFO] JSR-269 annotation processor for @BugPattern annotation SKIPPED
[INFO] Documentation tool for generating Error Prone bugpattern documentation SKIPPED
[INFO] Refaster rule compiler ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.350 s
[INFO] Finished at: 2025-10-20T10:33:16+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-toolchains-plugin:3.2.0:toolchain (default) on project error_prone_parent: Cannot find matching toolchain definitions for the following toolchain types:
[ERROR] jdk [ version='25' ]
[ERROR] Please make sure you define the required toolchains in your ~/.m2/toolchains.xml file.
[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
➜  error-prone git:(fix-UnusedMethod) java -version
openjdk version "25" 2025-09-16
OpenJDK Runtime Environment Homebrew (build 25)
OpenJDK 64-Bit Server VM Homebrew (build 25, mixed mode, sharing)
➜  error-prone git:(fix-UnusedMethod) 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant