From 968f4bcd71bc4f2e8a45cc8e4a44ff130de92bd3 Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Thu, 20 Apr 2023 18:36:43 +0200 Subject: [PATCH] Completely remove OSGi Import-Package 'javax.annotation' This package is not required at runtime. Additionally update to latest maven-bundle-plugin 5.1.8. Signed-off-by: Hannes Wellmann --- core/pom.xml | 2 +- pom.xml | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/core/pom.xml b/core/pom.xml index 368f98f78d..fc67192b12 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -149,7 +149,7 @@ ${project.artifactId} - !org.objectweb.asm.*,!com.google.inject.*,* + !org.objectweb.asm.*,!com.google.inject.*,!javax.annotation,* true diff --git a/pom.xml b/pom.xml index eb64477959..5935c59e1e 100644 --- a/pom.xml +++ b/pom.xml @@ -344,9 +344,8 @@ See the Apache License Version 2.0 for the specific language governing permissio org.apache.felix maven-bundle-plugin - 5.1.2 + 5.1.8 - jsr305 com.google.inject <_include>-${project.basedir}/build.properties @@ -355,7 +354,7 @@ See the Apache License Version 2.0 for the specific language governing permissio ${project.artifactId} $(module) JavaSE-1.8 - !com.google.inject.*,* + !com.google.inject.*,!javax.annotation,* <_exportcontents>!*.internal.*,$(module).*;version=${guice.api.version} <_consumer-policy>$(version;==;$(@)) <_nouses>true