ome / ome-codecs

OME image compression (coder-decoder implementations)
Other
4 stars 13 forks source link

Use Maven profiles to handle different versions of TestNG #36

Closed sbesson closed 6 months ago

sbesson commented 6 months ago

Superseded #24 - see also https://github.com/ome/ome-common-java/pull/88

For JDK8, bump org.testng:testng to the last supported release for this version i.e. 7.5 For JDK11+, bump org.testng:testng to the latest release 7.9.0

sbesson commented 6 months ago

@melissalinkert in https://github.com/ome/bioformats, I noticed that org.testng:testng is declared as a dependency for each component and the version of the dependency is declared the properties tag in the top-level POM.

Rather than duplicating the profile code for each component, 9b981f8 explores an option to maintain this semantics and make the value of testng.version profile-activated depending on the JDK version. I'll wait to hear your thoughts before opening a similar change against Bio-Formats