-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
Similar to how withMaven supports the injection of local and global settings.xml, it would be great to have the same for toolchains.xml.
It's already possible to manage toolchains with the config-file-provider plugin, but it's a bit difficult to consume them in a withMaven step.
Building OSGi bundles with Maven, I make extensive use of toolchains in order to ensure that individual bundles are built and tested using the Java version specified in their Bundle-RequiredExecutionEnvironment, so this would make my life a lot easier.