Re: Maven compiler plugin Unsupported major.minor version

2021-02-10 Thread Benjamin Marwell
Hi Andrea, Robert was sure the new plexus dependency fixes your issue. He tried it, and it worked. Same for me. Can you please double check you added the dependency to your *compiler plugin*, not to the general dependency section? I created a PR so you can see the changes:

Re: Maven compiler plugin Unsupported major.minor version

2021-02-10 Thread Benjamin Marwell
Hi Andrea, thank you very much! I can confirm that this should not happen. The error seems to be that the preparePaths method tries to parse the existing module-info.class, but does not use the Toolchain provided JDK for this. The issue for this:

Re: Maven compiler plugin Unsupported major.minor version

2021-02-10 Thread Andrea Vacondio
Ok, I created a super simple repo here https://github.com/torakiki/testme The pom is stripped to the minimum, here are the steps I use to reproduce: - git clone https://github.com/torakiki/testme.git - mvn compile - mvn compile The first compilation works, the second doesn't unless I clean. The