Update README.md

This commit is contained in:
Harald Kuhr 2020-10-27 14:42:18 +01:00 committed by GitHub
parent 0a9e2df5de
commit a16fce0749
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -527,10 +527,10 @@ Another safe option, is to place the JAR files in the application server's share
#### Including the plugins in a "fat" JAR
The recommended way to use the plugins, is just to include the JARs as-is in your project.
The recommended way to use the plugins, is just to include the JARs as-is in your project, through a Maven dependency or similar.
Re-packaging is not necessary to use the library, and not recommended.
If you like to create a "fat"
However, if you like to create a "fat"
JAR, or otherwise like to re-package the JARs for some reason, it's important to remember that automatic discovery of
the plugins by ImageIO depends on the
[Service Provider Interface (SPI)](https://docs.oracle.com/javase/tutorial/sound/SPI-intro.html) mechanism.