From d5d4816c55a92814f043be6f66da261b3857699e Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 21 Aug 2018 20:37:32 +0200 Subject: [PATCH] Make sure bundles are always built. Ignore import for javax.annotations as we only need it at compile time --- pom.xml | 67 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 34 insertions(+), 33 deletions(-) diff --git a/pom.xml b/pom.xml index 88c90e30..850437e9 100644 --- a/pom.xml +++ b/pom.xml @@ -131,14 +131,6 @@ build - - maven-jar-plugin - - - ${project.build.outputDirectory}/META-INF/MANIFEST.MF - - - org.apache.maven.plugins maven-source-plugin @@ -166,31 +158,6 @@ -Xdoclint:none - - org.apache.felix - maven-bundle-plugin - - - bundle-manifest - process-classes - - manifest - - - - - - - org.jboss.vfs.*;resolution:=optional, - * - - - org.reflections.* - - org.reflections - - - maven-enforcer-plugin @@ -245,6 +212,40 @@ ${jdk.version} + + org.apache.felix + maven-bundle-plugin + 3.5.1 + + + bundle-manifest + process-classes + + manifest + + + + + + + + org.jboss.vfs.*;resolution:=optional, + !javax.annotation, + * + + org.reflections + + + + + maven-jar-plugin + 3.1.0 + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + +