Some times we need to be able to build (run) Java project with specific version of JDK. To be able to do this apache group provide special maven plugin named maven-toolchains-plugin.
Currently application support 3 command(s):
-
check
-
generate
-
list
Run --help option to check what application can do:
Command line to get help for application
> toolchains --helpChecks if all present into ~/.m2/toolchains.xml
Command line to check existing toolchains.xml
> toolchains checkCurrent version not support fully this command WIP.
Command line to generate toolchains.xml from pieces
> toolchains generate