drewnoakes / metadata-extractor

Extracts Exif, IPTC, XMP, ICC and other metadata from image, video and audio files
Apache License 2.0
2.53k stars 473 forks source link

Add module-info and compile it with Java 9+ #620

Open tsmock opened 10 months ago

tsmock commented 10 months ago

This fixes #566.

With that said, this is typically not the preferred method until all dependencies at least have the Automatic-Module-Name manifest entry -- ideally, the xmpcore project would add an Automatic-Module-Name entry to its manifest, but I somehow doubt that will happen.

From the compile-time output:

Required filename-based automodules detected: [xmpcore-6.1.11.jar]. Please don't publish this project to a public artifact repository!

See also https://github.com/drewnoakes/metadata-extractor/pull/621 .

drewnoakes commented 4 months ago

This looks like the long term solution, but until xmp-core sports modules, we are stuck with the approach from #621.