apache / netbeans-mavenutils-nbm-maven-plugin

Apache NetBeans Maven Utils parent pom
https://netbeans.apache.org/
Apache License 2.0
13 stars 27 forks source link

Update Maven and tidy up things #112

Closed cstamas closed 10 months ago

cstamas commented 10 months ago

With updated Maven we can see what deprecated stuff is being used while retaining Maven 3 compatibility (all down to 3.2.x or so).

Also, make proc=none as it causes all sort of warnings on Java17+ as Sisu is present on classpath, and it contains Sisu APT, that we don't need.

Finally, clean up mixed Maven 2.x and 3.x dependencies, prepare for update.

Applied some cosmetic updates as well.

Make nbm-maven-plugin ITs work on Java 17 (also on Java 1.8) by just upping bytecode to Java 8 from Java 7.

Now the build correctly emits deprecated usages from Maven, and does not emit noise about annotation processor and works on Java 8, 11 and 17 (not on 21 due SecurityManager stuff)

mbien commented 10 months ago

oops sorry, the update PR caused a conflict. I should have checked

cstamas commented 10 months ago

:fireworks:

mbien commented 10 months ago

green on all JDKs -> merging. Thanks again!