Skip to content

Commit

Permalink
Change maven-bundle-plugin config to correctly export ImageWriterSpi …
Browse files Browse the repository at this point in the history
…services
  • Loading branch information
steinarb authored and haraldk committed Nov 2, 2023
1 parent 7147e2d commit a9e4b2e
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 9 deletions.
3 changes: 2 additions & 1 deletion imageio/imageio-bmp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
<instructions>
<Provide-Capability>
osgi.serviceloader;
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi;
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi,
osgi.serviceloader;
osgi.serviceloader=javax.imageio.spi.ImageWriterSpi
</Provide-Capability>
</instructions>
Expand Down
3 changes: 2 additions & 1 deletion imageio/imageio-icns/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
<instructions>
<Provide-Capability>
osgi.serviceloader;
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi;
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi,
osgi.serviceloader;
osgi.serviceloader=javax.imageio.spi.ImageWriterSpi
</Provide-Capability>
</instructions>
Expand Down
3 changes: 2 additions & 1 deletion imageio/imageio-iff/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
<instructions>
<Provide-Capability>
osgi.serviceloader;
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi;
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi,
osgi.serviceloader;
osgi.serviceloader=javax.imageio.spi.ImageWriterSpi
</Provide-Capability>
</instructions>
Expand Down
3 changes: 2 additions & 1 deletion imageio/imageio-jpeg/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
<instructions>
<Provide-Capability>
osgi.serviceloader;
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi;
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi,
osgi.serviceloader;
osgi.serviceloader=javax.imageio.spi.ImageWriterSpi
</Provide-Capability>
</instructions>
Expand Down
3 changes: 2 additions & 1 deletion imageio/imageio-pict/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
<instructions>
<Provide-Capability>
osgi.serviceloader;
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi;
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi,
osgi.serviceloader;
osgi.serviceloader=javax.imageio.spi.ImageWriterSpi
</Provide-Capability>
</instructions>
Expand Down
3 changes: 2 additions & 1 deletion imageio/imageio-pnm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
<instructions>
<Provide-Capability>
osgi.serviceloader;
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi;
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi,
osgi.serviceloader;
osgi.serviceloader=javax.imageio.spi.ImageWriterSpi
</Provide-Capability>
</instructions>
Expand Down
3 changes: 2 additions & 1 deletion imageio/imageio-psd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
<instructions>
<Provide-Capability>
osgi.serviceloader;
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi;
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi,
osgi.serviceloader;
osgi.serviceloader=javax.imageio.spi.ImageWriterSpi
</Provide-Capability>
</instructions>
Expand Down
3 changes: 2 additions & 1 deletion imageio/imageio-tga/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
<instructions>
<Provide-Capability>
osgi.serviceloader;
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi;
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi,
osgi.serviceloader;
osgi.serviceloader=javax.imageio.spi.ImageWriterSpi
</Provide-Capability>
</instructions>
Expand Down
3 changes: 2 additions & 1 deletion imageio/imageio-tiff/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
<instructions>
<Provide-Capability>
osgi.serviceloader;
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi;
osgi.serviceloader=javax.imageio.spi.ImageReaderSpi,
osgi.serviceloader;
osgi.serviceloader=javax.imageio.spi.ImageWriterSpi
</Provide-Capability>
</instructions>
Expand Down

0 comments on commit a9e4b2e

Please sign in to comment.