From d47b23a56dd5aef30dae2330abbf86b4f2c8d0c9 Mon Sep 17 00:00:00 2001
From: Simo Hakanen <1752103+shakanen@users.noreply.github.com>
Date: Fri, 29 Apr 2022 08:41:24 +0300
Subject: [PATCH] Add build-plugin to generate OSGI-headers
Bundle-maven-plugin generates minimal required headers needed for use in
OSGI.
---
pom.xml | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/pom.xml b/pom.xml
index f6dbba9..8c1f481 100755
--- a/pom.xml
+++ b/pom.xml
@@ -240,6 +240,36 @@
+
+ org.apache.felix
+ maven-bundle-plugin
+ 5.1.4
+
+
+ create-manifest
+
+ manifest
+
+
+
+ com.antkorwin.xsync
+ <_noextraheaders>true
+ <_snapshot>SNAPSHOT
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ 3.2.0
+
+
+ ${project.build.outputDirectory}/META-INF/MANIFEST.MF
+
+
+
org.apache.maven.plugins
maven-source-plugin