Skip to content

Commit

Permalink
add OSGi Metadata using bnd-maven-plugin
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Bischof <[email protected]>
  • Loading branch information
stbischof committed Sep 27, 2024
1 parent 3853a9c commit f841a4c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,31 @@
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<extensions>true</extensions>
<executions>
<execution>
<id>jar</id>
<configuration>
<bnd><![CDATA[
Bundle-Copyright: Copyright (c) (2019) Contributors to the Eclipse Foundation.
Git-Descriptor: ${system-allow-fail;git describe --dirty --always --abbrev=9}
Git-SHA: ${system-allow-fail;git rev-list -1 --no-abbrev-commit HEAD}
SPDX-License-Identifier: ${project.licenses[0].name}
-noextraheaders: true
-reproducible: true
Export-Package: org.eclipse.dash.licenses*
]]></bnd>
</configuration>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
Expand Down

0 comments on commit f841a4c

Please sign in to comment.