From 59fed4cc3b04e8039b158b64f1b8c5cd082d1a52749364b46950ae150d5f9b92 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 11 Feb 2019 08:39:57 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/osgi-annotation?expand=0&rev=2 --- osgi-annotation.spec | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/osgi-annotation.spec b/osgi-annotation.spec index 501177a..4dd7a78 100644 --- a/osgi-annotation.spec +++ b/osgi-annotation.spec @@ -52,6 +52,25 @@ mkdir -p src/main/java && mv org src/main/java cp -p %{SOURCE1} pom.xml cp -p %{SOURCE2} build.xml +# Ensure OSGi metadata is generated +%pom_xpath_inject pom:project " + bundle + + + + org.apache.felix + maven-bundle-plugin + true + + + \${project.artifactId} + \${project.artifactId} + + + + + " + %build ant jar javadoc