Skip to content
Permalink
Browse files
Merge remote-tracking branch 'acoburn/COMMONSRDF-64'
COMMONSRDF-64: Adds Automatic-Module-Name to the bundle manifests

Fix contributed by Aaron Coburn @acoburn
This closes #40

Signed-off-by: Stian Soiland-Reyes <stain@apache.org>
  • Loading branch information
stain committed Sep 28, 2017
2 parents bf9f913 + 0a182bc commit 58fcfd72358960df160b1c9ccdae37260893f49b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
@@ -52,6 +52,17 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.commons.rdf.api</Bundle-SymbolicName>
<Automatic-Module-Name>org.apache.commons.rdf.api</Automatic-Module-Name>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

@@ -101,6 +101,7 @@
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.commons.rdf.jena</Bundle-SymbolicName>
<Automatic-Module-Name>org.apache.commons.rdf.jena</Automatic-Module-Name>
<Require-Capability>osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)";resolution:=optional</Require-Capability>
<Provide-Capability>osgi.serviceloader; osgi.serviceloader=org.apache.commons.rdf.api.RDF</Provide-Capability>
</instructions>
@@ -74,6 +74,7 @@
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.commons.rdf.jsonldjava</Bundle-SymbolicName>
<Automatic-Module-Name>org.apache.commons.rdf.jsonldjava</Automatic-Module-Name>
<Require-Capability>osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)";resolution:=optional</Require-Capability>
<Provide-Capability>osgi.serviceloader; osgi.serviceloader=org.apache.commons.rdf.api.RDF</Provide-Capability>
</instructions>
@@ -47,6 +47,7 @@
<Export-Package>org.apache.commons.rdf.rdf4j</Export-Package>
<Private-Package>org.apache.commons.rdf.rdf4j.impl</Private-Package>
<Bundle-SymbolicName>org.apache.commons.rdf.rdf4j</Bundle-SymbolicName>
<Automatic-Module-Name>org.apache.commons.rdf.rdf4j</Automatic-Module-Name>
<Require-Capability>osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)";resolution:=optional</Require-Capability>
<Provide-Capability>osgi.serviceloader; osgi.serviceloader=org.apache.commons.rdf.api.RDF</Provide-Capability>
</instructions>
@@ -63,6 +63,7 @@
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.commons.rdf.simple</Bundle-SymbolicName>
<Automatic-Module-Name>org.apache.commons.rdf.simple</Automatic-Module-Name>
<Require-Capability>osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)";resolution:=optional</Require-Capability>
<Provide-Capability>osgi.serviceloader; osgi.serviceloader=org.apache.commons.rdf.api.RDF</Provide-Capability>
</instructions>

0 comments on commit 58fcfd7

Please sign in to comment.