Skip to content

Commit 6ac678c

Browse files
authored
Merge pull request #378 from commonmark/osgi
add osgi headers via maven-bundle-plugin (2)
2 parents 41244f3 + 5fb452d commit 6ac678c

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,7 @@ Some users of this library (feel free to raise a PR if you want to be added):
452452
* [Znai](https://github.com/testingisdocumenting/znai)
453453
* [Open Note](https://github.com/YangDai2003/OpenNote-Compose) a markdown editor and note-taking app for Android
454454
* [Quarkus Roq](https://github.com/quarkiverse/quarkus-roq/) The Roq Static Site Generator allows to easily create a static website or blog using Quarkus super-powers.
455+
* [Lucee](https://github.com/lucee/lucee)
455456

456457
See also
457458
--------

pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@
4848
<groupId>org.apache.maven.plugins</groupId>
4949
<artifactId>maven-jar-plugin</artifactId>
5050
<version>3.4.1</version>
51+
<configuration>
52+
<archive>
53+
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
54+
</archive>
55+
</configuration>
5156
</plugin>
5257
<plugin>
5358
<groupId>org.apache.maven.plugins</groupId>
@@ -103,6 +108,21 @@
103108
<goals>deploy</goals>
104109
</configuration>
105110
</plugin>
111+
<plugin>
112+
<groupId>org.apache.felix</groupId>
113+
<artifactId>maven-bundle-plugin</artifactId>
114+
<!-- 6.0.0 requires Java 17+ (currently on Java 11) -->
115+
<version>5.1.9</version>
116+
<executions>
117+
<execution>
118+
<id>bundle-manifest</id>
119+
<phase>process-classes</phase>
120+
<goals>
121+
<goal>manifest</goal>
122+
</goals>
123+
</execution>
124+
</executions>
125+
</plugin>
106126
</plugins>
107127
</build>
108128

0 commit comments

Comments
 (0)