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 26, 2024
1 parent 3853a9c commit bc13259
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,32 @@
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<extensions>true</extensions>
<!-- ${now;YYYY} macro is in conflict to reproduceable jar -->
<configuration>
<bnd><![CDATA[
Bundle-Copyright: Copyright (c) (${now;YYYY}) 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>
<executions>
<execution>
<id>jar</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
Expand Down

0 comments on commit bc13259

Please sign in to comment.