RFR: 7765: Bump some Maven plugins

Christoph Langer clanger at openjdk.java.net
Tue Apr 12 14:02:15 UTC 2022


Several maven plugins should be updated to a more current version. 

Here's a list with some reasoning:
junit 4.13.1 -> 4.13.2 (minor update)
maven javadoc 3.2.0 -> 3.3.2 (bugfixes, e.g. support javadoc generation with modular JDKs)
mockito 3.7.7 -> 3.12.4 (bugfixes to support newer JDKs, e.g. 17)
tycho 2.5.0 -> 2.7.1 (bugfixes, prepare JDK17 support)
jetty maven plugin 9.4.43.v20210629 -> 9.4.46.v20220331 (minor updates, only used for p2 server during build)
p2-maven-plugin 1.5.0 -> 2.0.0 (prepare JDK 17 support)

To support latest tycho, I added a directive to ignore tycho-consumer-pom.xml to .gitignore. These files seem to be generated by the new tycho version.

I also had to make a small adaption to application/org.openjdk.jmc.feature.pde/feature.xml to overcome https://github.com/eclipse/tycho/issues/876

In core/tests/pom.xml I removed the entry for maven.javadoc.version since it is inherited from the parent pom.

-------------

Commit messages:
 - Bump some maven plugins

Changes: https://git.openjdk.java.net/jmc/pull/395/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jmc&pr=395&range=00
  Issue: https://bugs.openjdk.java.net/browse/JMC-7765
  Stats: 14 lines in 7 files changed: 3 ins; 2 del; 9 mod
  Patch: https://git.openjdk.java.net/jmc/pull/395.diff
  Fetch: git fetch https://git.openjdk.java.net/jmc pull/395/head:pull/395

PR: https://git.openjdk.java.net/jmc/pull/395


More information about the jmc-dev mailing list