From bd23fef5daed7e955485ea656a71c7d8a79e444e Mon Sep 17 00:00:00 2001 From: Robbie Gemmell Date: Thu, 17 Feb 2022 18:04:25 +0000 Subject: [PATCH] AMQ-7442: resolve immediate build warnings due to duplicate plugin config. Combines duplicate plugin entries following fc80b86ac68432f71a1015ee9588a0b6fcb5fbae changes. --- activemq-karaf/pom.xml | 46 +++++++++++++++++++----------------------- activemq-osgi/pom.xml | 24 +++++++--------------- 2 files changed, 28 insertions(+), 42 deletions(-) diff --git a/activemq-karaf/pom.xml b/activemq-karaf/pom.xml index e6b637309e..7f21cc4af7 100644 --- a/activemq-karaf/pom.xml +++ b/activemq-karaf/pom.xml @@ -149,6 +149,27 @@ maven-bundle-plugin true true + + + ${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 + <_noee>true + + org.apache.maven.plugins @@ -205,31 +226,6 @@ - - org.apache.felix - maven-bundle-plugin - - - ${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 - <_noee>true - - - diff --git a/activemq-osgi/pom.xml b/activemq-osgi/pom.xml index 76468d9213..821e055c84 100644 --- a/activemq-osgi/pom.xml +++ b/activemq-osgi/pom.xml @@ -140,6 +140,13 @@ true + org.apache.activemq.util.osgi.Activator + + *;groupId=org.apache.activemq;inline=META-INF/services/*, + *;groupId=org.apache.qpid;inline=META-INF/services/*, + *;groupId=org.apache.xbean;inline=true + + true org.apache.activemq*;version=${project.version};-noimport:=true;-split-package:=merge-first, org.apache.activemq.web*;version=${project.version};-noimport:=true;-split-package:=merge-first @@ -284,23 +291,6 @@ - - - - org.apache.felix - maven-bundle-plugin - - - org.apache.activemq.util.osgi.Activator - - *;groupId=org.apache.activemq;inline=META-INF/services/*, - *;groupId=org.apache.qpid;inline=META-INF/services/*, - *;groupId=org.apache.xbean;inline=true - - true - - -