Hi Lee, next time could you use the maven users list for these kind of questions? The dev-list is meant for Maven committer discussions.
To answer your question: no, that is not possible. Toolchain is defined at Maven level, so any maven-plugin or maven-extension can use it. This implies that it is not possible to define the location at plugin level such as the maven-toolchains-plugin. thanks, Robert On 17-7-2021 02:58:00, leerho <[email protected]> wrote: On page http://maven.apache.org/guides/mini/guide-using-toolchains.html it states: Starting with Maven 3.3.1 > you can put the > toolchains.xml file wherever you like by using the --global-toolchains > file option Or by specifying --toolchains tools/toolchains.xml for every mvn command. Is it possible to configure the maven-toolchains-plugin with a directory of where to find the *toolchains.xml*? Lee.
