Skip to content

Create Maven toolchains.xml based on SDKs installed via sdkman.io

License

Notifications You must be signed in to change notification settings

Madzi/sdkman-for-toolchains

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toolchains

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.

Usage

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 --help

check

Checks if all present into ~/.m2/toolchains.xml

Command line to check existing toolchains.xml
> toolchains check

generate

Current version not support fully this command WIP.

Command line to generate toolchains.xml from pieces
> toolchains generate

list

To be able to see what contains into your ~/.m2/toolchains.xml file please use list command:

Command line to list toolchain into toolchains.xml
> toolchains list

You can see a list of JDKs installed into your machine and listed into ~/.m2/toolchains.xml file.

About

Create Maven toolchains.xml based on SDKs installed via sdkman.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages