Skip to content

GEDOPLAN/maven-toolchains-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maven-toolchain-demo

This project demonstrates the use of different JDKs for building a maven project.

The pom.xml contains a property named java.version. It can be set to any JDK version string contained in toolchains.xml (normally located in ~/.m2). A sample file - sample-toolchains.xml - is provided here. Just copy it to your .m2 folder and rename it into toolchains.xml.

A demonstration build can be started by the command "mvn compile". The compiler plugin will log the JDK used.

More info can be found in:

About

Demo for using (JDK) toolchains in maven builds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages