I am trying to make a Java FX application showing an SVG-image using the Batik-library, but I'm having issues getting all the components properly imported.
After about 5 hours of searching and testing I have finally altered one of the dependencies' jars to remove old Java service (or whatever you call it) that predates the current module system. So the current work-around is to manually remove the "META-INF/services/org.apache.batik.script.InterpreterFactory"-file in "batik-script-1.13.jar".
Is there a proper way to do this? In my projects module-info, or through maven? Without having to manually alter the jar?
Thanks in advance! :)
If relevant: Mac OS, Java openjdk-14.0.2, Maven 3.6.3, VSCode 1.49.0