khmarbaise (1) [Avatar] Offline

I have taken a look into the book and did not found any hint about using toolchain for the problem using JDK 8 / JDK 9 together ? Like running Maven on JDK 8 and do compile and test with JDK 9 ?

Can you give a reason why it is not mentioned in any kind ?

Furthermore the usage of .mavenrc is not the best choice to go with this...

Examples of the usage can be found here:

Kind regards
Karl Heinz Marbaise
Nicolai Parlog (2) [Avatar] Offline
Hi Karl-Heinz,

first of all, sorry for the late reply. I overlooked the notification I got from this forum.

Can you give a reason why it is not mentioned in any kind?

Maybe I misunderstood, but as far as I know plugins need to be aware of the toolchain to actually use it. That made it insufficient for my needs, because the projects I migrated are quite large and use tons of plugins that run within the Maven process and can't be forked (I thus assumed they couldn't take advantage of the toolchain).

You are right, though, that it deserves a mention and I just put it into one of the places where I so far only mentioned .mavenrc.