Skip to content

Commit

Permalink
Add build-plugin to generate OSGI-headers
Browse files Browse the repository at this point in the history
Bundle-maven-plugin generates minimal required headers needed for use in
OSGI.
  • Loading branch information
shakanen committed Jun 7, 2023
1 parent 130f0d5 commit d47b23a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,36 @@
</plugin>
<!-- endregion tests report -->

<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>5.1.4</version>
<executions>
<execution>
<id>create-manifest</id>
<goals>
<goal>manifest</goal>
</goals>
<configuration>
<instructions>
<Export-Package>com.antkorwin.xsync</Export-Package>
<_noextraheaders>true</_noextraheaders>
<_snapshot>SNAPSHOT</_snapshot>
</instructions>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand Down

0 comments on commit d47b23a

Please sign in to comment.