mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-03 11:35:29 -04:00
Provide Require-Capability and Add-Capability headers for osgi.serviceloader to the imageio-jpeg MANIFEST.MF
This is to make it possible to load the SPI plugin in OSGi.
This commit is contained in:
parent
f2cc9faaf8
commit
e65f471a8f
@ -38,6 +38,18 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.felix</groupId>
|
<groupId>org.apache.felix</groupId>
|
||||||
<artifactId>maven-bundle-plugin</artifactId>
|
<artifactId>maven-bundle-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<instructions>
|
||||||
|
<Require-Capability>
|
||||||
|
osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)"
|
||||||
|
</Require-Capability>
|
||||||
|
<Provide-Capability>
|
||||||
|
osgi.serviceloader;
|
||||||
|
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi;
|
||||||
|
osgi.serviceloader=javax.imageio.spi.ImageWriterSpi
|
||||||
|
</Provide-Capability>
|
||||||
|
</instructions>
|
||||||
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user