commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henrib <hen...@apache.org>
Subject Re: [Math] How to select a specific JDK ?
Date Fri, 15 Jun 2012 10:37:00 GMT
Hello Gilles;
Not sure this will fit your purpose but *toolchains* can be used to direct
which JDK is used by Maven.
You'd have to declare the various JDKs accessible in toolchains.xml (in
$user.home/.m2) and configure the plugin in your pom.xml.
By specifying the toolchains JDK vendor/version as properties in different
profiles, it seems it should be possible to switch the JDK by running mvn
with a -P flag.
Cheers,
Henrib

--
View this message in context: http://apache-commons.680414.n4.nabble.com/Math-How-to-select-a-specific-JDK-tp4634995p4635099.html
Sent from the Commons - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message