From 7e72fbc98b483bcce19c56f52a2d407260113b23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Baptiste=20Onofr=C3=A9?= Date: Mon, 5 Aug 2019 08:34:32 +0200 Subject: [PATCH] [AMQ-7254] Fix OSGi headers --- activemq-client/pom.xml | 9 +++++++++ activemq-karaf/pom.xml | 9 +++++++-- activemq-osgi/pom.xml | 8 +++++++- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/activemq-client/pom.xml b/activemq-client/pom.xml index 0a6f8e1949..f5e2bae9bb 100644 --- a/activemq-client/pom.xml +++ b/activemq-client/pom.xml @@ -32,6 +32,15 @@ -Xmx512M + + !com.google.errorprone.annotations, + !com.google.errorprone.annotations.concurrent, + * + + + com.google.errorprone.annotations, + com.google.errorprone.annotations.concurrent + diff --git a/activemq-karaf/pom.xml b/activemq-karaf/pom.xml index 7277ea74d4..60d64eee8d 100644 --- a/activemq-karaf/pom.xml +++ b/activemq-karaf/pom.xml @@ -153,7 +153,7 @@ target/classes/activemq.xml - xml + xml> activemq @@ -179,12 +179,17 @@ ${project.artifactId} org.apache.activemq.karaf*;version=${project.version};-split-package:=merge-first + !com.google.errorprone.annotations, + !com.google.errorprone.annotations.concurrent, org.apache.felix.gogo.commands, org.apache.karaf.shell.console;version="[2,4)", org.apache.karaf.shell.console.commands;version="[2,4)", * - !* + + com.google.errorprone.annotations, + com.google.errorprone.annotations.concurrent + <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@))) true diff --git a/activemq-osgi/pom.xml b/activemq-osgi/pom.xml index c7cdac6baf..9f8bd8a6b9 100644 --- a/activemq-osgi/pom.xml +++ b/activemq-osgi/pom.xml @@ -36,6 +36,9 @@ !org.apache.maven*, !com.google.thirdparty.publicsuffix, !com.rometools*, + !com.google.errorprone.annotations, + !com.google.errorprone.annotations.concurrent, + !com.google.j2objc.annotations, sun.misc*;resolution:=optional, sun.nio*;resolution:=optional, javax.jmdns*;resolution:=optional, @@ -63,7 +66,7 @@ org.springframework*;version="[4,5)";resolution:=optional, org.xmlpull*;resolution:=optional, scala*;resolution:=optional, - javax.annotation*, + javax.annotation*;version="[1,4)", !com.thoughtworks.qdox*, org.apache.commons.logging;version="[1.2,2)";resolution:=optional, javax.jms*;version="[1.1,3)", @@ -93,6 +96,9 @@ org.fusesource.hawtbuf*, org.apache.qpid*, com.google.common*, + com.google.errorprone.annotations, + com.google.errorprone.annotations.concurrent, + com.google.j2objc.annotations, org.linkedin*, org.iq80*