Skip to content

Commit

Permalink
Add generation of OSGi metadata and JPMS module-info (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
fipro78 authored Jun 14, 2024
1 parent 8477b97 commit 02375f9
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,35 @@
<version>3.0.1</version>
<configuration>
<tagNameFormat>@{project.version}</tagNameFormat>
<scmCommentPrefix>[release]</scmCommentPrefix>
<pushChanges>false</pushChanges>
<scmCommentPrefix>[release]</scmCommentPrefix>
<pushChanges>false</pushChanges>
</configuration>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<version>6.4.0</version>
<extensions>true</extensions>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<bnd><![CDATA[
-noextraheaders: true
-noimportjava: true
Bundle-Name: org.crac
Bundle-SymbolicName: org.crac
Import-Package: javax.crac;resolution:=optional, jdk.crac;resolution:=optional, jdk.crac.management;resolution:=optional, *
package-version=${versionmask;===;${Bundle-Version}}
Export-Package: *;version="${package-version}";-noimport:=true
-jpms-module-info: org.crac;version="${package-version}"
]]></bnd>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 02375f9

Please sign in to comment.