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