Skip to content

Commit ef98539

Browse files
committed
Add OSGi bundle manifest
1 parent 90acaf3 commit ef98539

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
build:
1414

15-
runs-on: ubuntu-18.04
15+
runs-on: ubuntu-22.04
1616

1717
steps:
1818
- name: Checkout

pom.xml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66

77
<groupId>de.westemeyer</groupId>
88
<artifactId>artifact-version-service</artifactId>
9-
<version>1.1.0</version>
9+
<version>1.1.1</version>
1010
<name>Artifact version service definition</name>
11+
<packaging>bundle</packaging>
1112

1213
<description>The artifact-version-service is used to collect artifact versions in the classpath.</description>
1314
<url>https://github.com/swesteme/artifact-version-service</url>
@@ -52,6 +53,21 @@
5253
</resource>
5354
</resources>
5455
<plugins>
56+
<plugin>
57+
<groupId>org.apache.felix</groupId>
58+
<artifactId>maven-bundle-plugin</artifactId>
59+
<version>5.1.4</version>
60+
<extensions>true</extensions>
61+
<configuration>
62+
<instructions>
63+
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
64+
<Export-Package>
65+
de.westemeyer.version.model,
66+
de.westemeyer.version.service
67+
</Export-Package>
68+
</instructions>
69+
</configuration>
70+
</plugin>
5571
<plugin>
5672
<groupId>org.apache.maven.plugins</groupId>
5773
<artifactId>maven-checkstyle-plugin</artifactId>

0 commit comments

Comments
 (0)