I'd like to create a Jenkins build job on DEV@cloud that uses Maven toolchain support, for integration tests of an annotation processor. I'd like to use JDK 6, JDK 7 and JDK 8, which are all available on DEV@cloud...
I could go ahead and try them out, printing the JAVA_HOME locations and then create a toolchain.xml file specifically for DEV@cloud myself, hoping they don't change paths. But it would be nicer if those tool locations were provided more officially.
Is there a toolchain.xml file available already, or some documentation on fixed JDK locations?
Could not find an official way, but here are the steps and result so others don't have to do it. I am using the Jenkins Config File Provider Plugin to distribute the resulting xml: