that's actually a question for [hidden email] IIRC the trick done by other plugins is to write an integration test with a toolchains.xm, filtering it with the Java Runtime path.
Best it to search for ITs by one of the toolchain-aware plugins
I'm trying to create a IT that uses toolchain. I've configured it in the
test's pom  and in invoker.properties . Locally, the IT executed,
but on ci-builds.a.o the test "MPMD-304-toolchain-support" is skipped
"due to Toolchain" . I was assuming, that the toolchains configured
by puppet  are available...
Any idea what I'm missing? This is about implementing MPMD-304 .