<?xml version='1.0' encoding='UTF-8' ?>
<!--
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements. See the NOTICE file
 distributed with this work for additional information
 regarding copyright ownership. The ASF licenses this file
 to you under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in compliance
 with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 KIND, either express or implied. See the License for the
 specific language governing permissions and limitations
 under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

   <modelVersion>4.0.0</modelVersion>

   <parent>
       <groupId>org.apache</groupId>
       <artifactId>apache</artifactId>
       <version>29</version>
       <relativePath />
   </parent>

   <groupId>org.apache.aries.jax.rs</groupId>
   <artifactId>org.apache.aries.jax.rs</artifactId>
   <name>Apache Aries JAX-RS Whiteboard Integration Project</name>
   <version>2.0.2</version>
   <packaging>pom</packaging>

   <properties>
       <revision>1.1.0-SNAPSHOT</revision>
       <java.build.version>1.8</java.build.version>
       <maven.compiler.source>${java.build.version}</maven.compiler.source>
       <maven.compiler.target>${java.build.version}</maven.compiler.target>
       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
       <project.build.outputTimestamp>1672384436</project.build.outputTimestamp>

       <assertj.core.version>3.23.1</assertj.core.version>
       <bnd.version>6.4.0</bnd.version>
       <commons.lang3.version>3.12.0</commons.lang3.version>
       <cxf.version>3.5.5</cxf.version>
       <dsl.version>1.2.2</dsl.version>
       <eclipse.osgi.version>3.17.200</eclipse.osgi.version>
       <felix.configadmin.version>1.9.26</felix.configadmin.version>
       <felix.gogo.bom.version>1.0.6</felix.gogo.bom.version>
       <felix.http.jetty.version>4.2.0</felix.http.jetty.version>
       <felix.http.servlet-api.version>1.2.0</felix.http.servlet-api.version>
       <felix.logback.version>1.0.6</felix.logback.version>
       <felix.scr.version>2.2.0</felix.scr.version>
       <geronimo.activation.version>1.1</geronimo.activation.version>
       <geronimo.annotation.version>1.3</geronimo.annotation.version>
       <geronimo.jaxrs.version>1.1</geronimo.jaxrs.version>
       <geronimo.json.version>1.5</geronimo.json.version>
       <hamcrest.version>2.2</hamcrest.version>
       <johnzon.version>1.2.19</johnzon.version>
       <jackson.version>2.14.1</jackson.version>
       <jaxb.version>2.3.3</jaxb.version>
       <jaxws.version>2.3.3</jaxws.version>
       <jettison.version>1.5.3</jettison.version>
       <json.unit.assertj.version>2.36.0</json.unit.assertj.version>
       <junit.version>4.13.2</junit.version>
       <junit.jupiter.version>5.8.2</junit.jupiter.version>
       <junit.platform.version>1.8.2</junit.platform.version>
       <logback.version>1.2.11</logback.version>
       <openapi.version>2.2.0</openapi.version>
       <osgi.annotation.version>8.1.0</osgi.annotation.version>
       <osgi.core.version>6.0.0</osgi.core.version>
       <osgi.namespace.extender.version>1.0.1</osgi.namespace.extender.version>
       <osgi.namespace.implementation.version>1.0.0</osgi.namespace.implementation.version>
       <osgi.namespace.service.version>1.0.0</osgi.namespace.service.version>
       <osgi.service.cm.version>1.5.0</osgi.service.cm.version>
       <osgi.service.component.annotations.version>1.4.0</osgi.service.component.annotations.version>
       <osgi.service.http.whiteboard.version>1.0.0</osgi.service.http.whiteboard.version>
       <osgi.service.jaxrs.version>1.0.1</osgi.service.jaxrs.version>
       <osgi.util.function.version>1.2.0</osgi.util.function.version>
       <osgi.util.promise.version>1.2.0</osgi.util.promise.version>
       <osgi.test.version>1.0.1</osgi.test.version>
       <shiro.version>1.10.1</shiro.version>
       <slf4j.version>1.7.36</slf4j.version>
       <spifly.extension.version>1.3.6</spifly.extension.version>
       <xmlunit.assertj3.version>2.9.0</xmlunit.assertj3.version>
   </properties>

   <scm>
       <connection>scm:git:http://gitbox.apache.org/repos/asf/aries-jax-rs-whiteboard.git</connection>
       <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/aries-jax-rs-whiteboard.git</developerConnection>
       <url>https://gitbox.apache.org/repos/asf?p=aries-jax-rs-whiteboard.git</url>
       <tag>org.apache.aries.jax.rs-2.0.2</tag>
   </scm>

   <modules>
       <module>jax-rs.whiteboard</module>
       <module>jax-rs.itests</module>
       <module>jax-rs.example</module>
       <module>integrations</module>
       <module>jax-rs.features</module>
   </modules>

   <dependencyManagement>
       <dependencies>
           <dependency>
               <groupId>biz.aQute.bnd</groupId>
               <artifactId>biz.aQute.bnd.annotation</artifactId>
               <version>${bnd.version}</version>
               <scope>provided</scope>
           </dependency>
           <dependency>
               <groupId>ch.qos.logback</groupId>
               <artifactId>logback-classic</artifactId>
               <version>${logback.version}</version>
               <scope>runtime</scope>
           </dependency>
           <dependency>
               <groupId>jakarta.xml.bind</groupId>
               <artifactId>jakarta.xml.bind-api</artifactId>
               <version>${jaxb.version}</version>
           </dependency>
           <dependency>
               <groupId>jakarta.xml.ws</groupId>
               <artifactId>jakarta.xml.ws-api</artifactId>
               <version>${jaxws.version}</version>
           </dependency>
           <dependency>
               <groupId>com.sun.xml.bind</groupId>
               <artifactId>jaxb-osgi</artifactId>
               <version>${jaxb.version}</version>
               <scope>runtime</scope>
           </dependency>
           <dependency>
               <groupId>junit</groupId>
               <artifactId>junit</artifactId>
               <version>${junit.version}</version>
               <scope>test</scope>
           </dependency>
           <dependency>
               <groupId>net.javacrumbs.json-unit</groupId>
               <artifactId>json-unit-assertj</artifactId>
               <version>${json.unit.assertj.version}</version>
               <scope>test</scope>
           </dependency>
           <dependency>
               <groupId>org.apache.commons</groupId>
               <artifactId>commons-lang3</artifactId>
               <version>${commons.lang3.version}</version>
               <scope>runtime</scope>
           </dependency>
           <dependency>
               <groupId>org.apache.cxf</groupId>
               <artifactId>cxf-tools-common</artifactId>
               <version>${cxf.version}</version>
               <exclusions>
                   <exclusion>
                       <groupId>org.apache.velocity</groupId>
                       <artifactId>velocity-engine-core</artifactId>
                   </exclusion>
                   <exclusion>
                       <groupId>jakarta.xml.bind</groupId>
                       <artifactId>jakarta.xml.bind-api</artifactId>
                   </exclusion>
                   <exclusion>
                       <groupId>com.sun.activation</groupId>
                       <artifactId>jakarta.activation</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.apache.cxf</groupId>
               <artifactId>cxf-rt-databinding-jaxb</artifactId>
               <version>${cxf.version}</version>
               <exclusions>
                   <exclusion>
                       <groupId>org.ow2.asm</groupId>
                       <artifactId>asm</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.apache.cxf</groupId>
               <artifactId>cxf-rt-transports-http</artifactId>
               <version>${cxf.version}</version>
           </dependency>
           <dependency>
               <groupId>org.apache.cxf</groupId>
               <artifactId>cxf-rt-rs-client</artifactId>
               <version>${cxf.version}</version>
               <exclusions>
                   <exclusion>
                       <groupId>com.sun.activation</groupId>
                       <artifactId>jakarta.activation</artifactId>
                   </exclusion>
                   <exclusion>
                       <groupId>javax.ws.rs</groupId>
                       <artifactId>javax.ws.rs-api</artifactId>
                   </exclusion>
                   <exclusion>
                       <groupId>jakarta.annotation</groupId>
                       <artifactId>jakarta.annotation-api</artifactId>
                   </exclusion>
                   <exclusion>
                       <groupId>jakarta.ws.rs</groupId>
                       <artifactId>jakarta.ws.rs-api</artifactId>
                   </exclusion>
                   <exclusion>
                       <groupId>jakarta.xml.bind</groupId>
                       <artifactId>jakarta.xml.bind-api</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.apache.cxf</groupId>
               <artifactId>cxf-rt-rs-extension-providers</artifactId>
               <version>${cxf.version}</version>
               <exclusions>
                   <exclusion>
                       <groupId>com.sun.activation</groupId>
                       <artifactId>jakarta.activation</artifactId>
                   </exclusion>
                   <exclusion>
                       <groupId>jakarta.annotation</groupId>
                       <artifactId>jakarta.annotation-api</artifactId>
                   </exclusion>
                   <exclusion>
                       <groupId>jakarta.ws.rs</groupId>
                       <artifactId>jakarta.ws.rs-api</artifactId>
                   </exclusion>
                   <exclusion>
                       <groupId>jakarta.xml.bind</groupId>
                       <artifactId>jakarta.xml.bind-api</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.apache.cxf</groupId>
               <artifactId>cxf-rt-rs-json-basic</artifactId>
               <version>${cxf.version}</version>
           </dependency>
           <dependency>
               <groupId>org.apache.cxf</groupId>
               <artifactId>cxf-rt-rs-sse</artifactId>
               <version>${cxf.version}</version>
           </dependency>
           <dependency>
               <groupId>org.apache.aries.component-dsl</groupId>
               <artifactId>org.apache.aries.component-dsl.component-dsl</artifactId>
               <version>${dsl.version}</version>
               <exclusions>
                   <exclusion>
                       <groupId>org.osgi</groupId>
                       <artifactId>org.osgi.core</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.apache.aries.spifly</groupId>
               <artifactId>org.apache.aries.spifly.dynamic.framework.extension</artifactId>
               <version>${spifly.extension.version}</version>
               <scope>runtime</scope>
           </dependency>
           <dependency>
               <groupId>org.apache.felix</groupId>
               <artifactId>org.apache.felix.configadmin</artifactId>
               <version>${felix.configadmin.version}</version>
               <scope>runtime</scope>
           </dependency>
           <dependency>
               <groupId>org.apache.felix</groupId>
               <artifactId>org.apache.felix.http.jetty</artifactId>
               <version>${felix.http.jetty.version}</version>
               <scope>runtime</scope>
           </dependency>
           <dependency>
               <groupId>org.apache.felix</groupId>
               <artifactId>org.apache.felix.http.servlet-api</artifactId>
               <version>${felix.http.servlet-api.version}</version>
               <exclusions>
                   <exclusion>
                       <groupId>org.apache.tomcat</groupId>
                       <artifactId>tomcat-servlet-api</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
           <dependency>
               <groupId>org.apache.felix</groupId>
               <artifactId>org.apache.felix.logback</artifactId>
               <version>${felix.logback.version}</version>
               <scope>runtime</scope>
           </dependency>
           <dependency>
               <groupId>org.apache.felix</groupId>
               <artifactId>org.apache.felix.scr</artifactId>
               <version>${felix.scr.version}</version>
               <scope>runtime</scope>
           </dependency>
           <dependency>
               <groupId>org.apache.geronimo.specs</groupId>
               <artifactId>geronimo-activation_1.1_spec</artifactId>
               <version>${geronimo.activation.version}</version>
           </dependency>
           <dependency>
               <groupId>org.apache.geronimo.specs</groupId>
               <artifactId>geronimo-annotation_1.3_spec</artifactId>
               <version>${geronimo.annotation.version}</version>
           </dependency>
           <dependency>
               <groupId>org.apache.geronimo.specs</groupId>
               <artifactId>geronimo-jaxrs_2.1_spec</artifactId>
               <version>${geronimo.jaxrs.version}</version>
           </dependency>
           <dependency>
               <groupId>org.apache.geronimo.specs</groupId>
               <artifactId>geronimo-json_1.1_spec</artifactId>
               <version>${geronimo.json.version}</version>
           </dependency>
           <dependency>
               <groupId>org.apache.johnzon</groupId>
               <artifactId>johnzon-core</artifactId>
               <version>${johnzon.version}</version>
           </dependency>
           <dependency>
               <groupId>org.apache.johnzon</groupId>
               <artifactId>johnzon-mapper</artifactId>
               <version>${johnzon.version}</version>
           </dependency>
           <dependency>
               <groupId>org.assertj</groupId>
               <artifactId>assertj-core</artifactId>
               <version>${assertj.core.version}</version>
               <scope>test</scope>
           </dependency>
           <dependency>
               <groupId>org.codehaus.jettison</groupId>
               <artifactId>jettison</artifactId>
               <version>${jettison.version}</version>
           </dependency>

           <dependency>
               <groupId>org.apache.felix.atomos</groupId>
               <artifactId>osgi.core</artifactId>
               <classifier>AtomosEquinox</classifier>
               <version>8.0.0</version>
               <scope>runtime</scope>
           </dependency>
           <dependency>
               <groupId>org.apache.felix</groupId>
               <artifactId>org.apache.felix.atomos</artifactId>
               <version>1.0.0</version>
               <scope>runtime</scope>
           </dependency>
           <dependency>
               <groupId>org.eclipse.platform</groupId>
               <artifactId>org.eclipse.osgi</artifactId>
               <version>${eclipse.osgi.version}</version>
               <scope>runtime</scope>
           </dependency>

           <dependency>
               <groupId>org.hamcrest</groupId>
               <artifactId>hamcrest</artifactId>
               <version>${hamcrest.version}</version>
               <scope>test</scope>
           </dependency>
           <dependency>
               <groupId>org.hamcrest</groupId>
               <artifactId>hamcrest-core</artifactId>
               <version>${hamcrest.version}</version>
               <scope>test</scope>
           </dependency>
           <dependency>
               <groupId>org.junit.jupiter</groupId>
               <artifactId>junit-jupiter-api</artifactId>
               <version>${junit.jupiter.version}</version>
               <scope>test</scope>
           </dependency>
           <dependency>
               <groupId>org.junit.jupiter</groupId>
               <artifactId>junit-jupiter-params</artifactId>
               <version>${junit.jupiter.version}</version>
               <scope>test</scope>
           </dependency>
           <dependency>
               <groupId>org.junit.jupiter</groupId>
               <artifactId>junit-jupiter-engine</artifactId>
               <version>${junit.jupiter.version}</version>
               <scope>test</scope>
           </dependency>
           <dependency>
               <groupId>org.junit.platform</groupId>
               <artifactId>junit-platform-commons</artifactId>
               <version>${junit.platform.version}</version>
               <scope>test</scope>
           </dependency>
           <dependency>
               <groupId>org.junit.platform</groupId>
               <artifactId>junit-platform-launcher</artifactId>
               <version>${junit.platform.version}</version>
               <scope>test</scope>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>osgi.annotation</artifactId>
               <version>${osgi.annotation.version}</version>
               <scope>provided</scope>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>osgi.core</artifactId>
               <version>${osgi.core.version}</version>
               <scope>provided</scope>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>org.osgi.namespace.extender</artifactId>
               <version>${osgi.namespace.extender.version}</version>
               <scope>provided</scope>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>org.osgi.namespace.implementation</artifactId>
               <version>${osgi.namespace.implementation.version}</version>
               <scope>provided</scope>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>org.osgi.namespace.service</artifactId>
               <version>${osgi.namespace.service.version}</version>
               <scope>provided</scope>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>org.osgi.service.cm</artifactId>
               <version>${osgi.service.cm.version}</version>
               <scope>provided</scope>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>org.osgi.service.component.annotations</artifactId>
               <version>${osgi.service.component.annotations.version}</version>
               <scope>provided</scope>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>org.osgi.service.http.whiteboard</artifactId>
               <version>${osgi.service.http.whiteboard.version}</version>
               <scope>provided</scope>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>org.osgi.service.jaxrs</artifactId>
               <version>${osgi.service.jaxrs.version}</version>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>org.osgi.util.function</artifactId>
               <version>${osgi.util.function.version}</version>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>org.osgi.util.promise</artifactId>
               <version>${osgi.util.promise.version}</version>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>org.osgi.test.assertj.framework</artifactId>
               <version>${osgi.test.version}</version>
               <scope>test</scope>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>org.osgi.test.junit4</artifactId>
               <version>${osgi.test.version}</version>
               <scope>test</scope>
           </dependency>
           <dependency>
               <groupId>org.osgi</groupId>
               <artifactId>org.osgi.test.junit5</artifactId>
               <version>${osgi.test.version}</version>
               <scope>test</scope>
           </dependency>
           <dependency>
               <groupId>org.slf4j</groupId>
               <artifactId>slf4j-api</artifactId>
               <version>${slf4j.version}</version>
           </dependency>
           <dependency>
               <groupId>org.xmlunit</groupId>
               <artifactId>xmlunit-assertj3</artifactId>
               <version>${xmlunit.assertj3.version}</version>
               <scope>test</scope>
           </dependency>

           <dependency>
               <groupId>org.apache.felix</groupId>
               <artifactId>org.apache.felix.gogo.bom</artifactId>
               <version>${felix.gogo.bom.version}</version>
               <type>pom</type>
               <scope>import</scope>
           </dependency>
       </dependencies>
   </dependencyManagement>

   <dependencies>
       <dependency>
           <groupId>org.apache.geronimo.specs</groupId>
           <artifactId>geronimo-jaxrs_2.1_spec</artifactId>
       </dependency>
       <dependency>
           <groupId>biz.aQute.bnd</groupId>
           <artifactId>biz.aQute.bnd.annotation</artifactId>
       </dependency>
       <dependency>
           <groupId>org.osgi</groupId>
           <artifactId>org.osgi.service.jaxrs</artifactId>
       </dependency>
       <dependency>
           <groupId>org.osgi</groupId>
           <artifactId>osgi.core</artifactId>
       </dependency>
   </dependencies>

   <build>
       <pluginManagement>
           <plugins>
               <plugin>
                   <groupId>biz.aQute.bnd</groupId>
                   <artifactId>bnd-baseline-maven-plugin</artifactId>
                   <version>${bnd.version}</version>
                   <configuration>
                       <includeDistributionManagement>false</includeDistributionManagement>
                       <fullReport>true</fullReport>
                   </configuration>
                   <executions>
                       <execution>
                           <id>baseline</id>
                           <goals>
                               <goal>baseline</goal>
                           </goals>
                       </execution>
                   </executions>
               </plugin>
               <plugin>
                   <groupId>biz.aQute.bnd</groupId>
                   <artifactId>bnd-export-maven-plugin</artifactId>
                   <version>${bnd.version}</version>
                   <executions>
                       <execution>
                           <id>export</id>
                           <goals>
                               <goal>export</goal>
                           </goals>
                       </execution>
                   </executions>
               </plugin>
               <plugin>
                   <groupId>biz.aQute.bnd</groupId>
                   <artifactId>bnd-indexer-maven-plugin</artifactId>
                   <version>${bnd.version}</version>
                   <executions>
                       <execution>
                           <id>index</id>
                           <goals>
                               <goal>index</goal>
                           </goals>
                       </execution>
                   </executions>
               </plugin>
               <plugin>
                   <groupId>biz.aQute.bnd</groupId>
                   <artifactId>bnd-maven-plugin</artifactId>
                   <version>${bnd.version}</version>
                   <extensions>true</extensions>
                   <executions>
                       <execution>
                           <id>jar</id>
                           <goals>
                               <goal>jar</goal>
                           </goals>
                           <configuration>
                               <skipIfEmpty>true</skipIfEmpty>
                           </configuration>
                       </execution>
                       <execution>
                           <id>test-jar</id>
                           <goals>
                               <goal>test-jar</goal>
                           </goals>
                           <configuration>
                               <skipIfEmpty>true</skipIfEmpty>
                           </configuration>
                       </execution>
                   </executions>
               </plugin>
               <plugin>
                   <groupId>biz.aQute.bnd</groupId>
                   <artifactId>bnd-resolver-maven-plugin</artifactId>
                   <version>${bnd.version}</version>
                   <executions>
                       <execution>
                           <id>resolve</id>
                           <goals>
                               <goal>resolve</goal>
                           </goals>
                           <phase>package</phase>
                           <configuration>
                               <reportOptional>false</reportOptional>
                               <failOnChanges>false</failOnChanges>
                           </configuration>
                       </execution>
                   </executions>
               </plugin>
               <plugin>
                   <groupId>biz.aQute.bnd</groupId>
                   <artifactId>bnd-run-maven-plugin</artifactId>
                   <version>${bnd.version}</version>
                   <configuration>
                       <failOnChanges>false</failOnChanges>
                       <includeDependencyManagement>true</includeDependencyManagement>
                   </configuration>
               </plugin>
               <plugin>
                   <groupId>biz.aQute.bnd</groupId>
                   <artifactId>bnd-testing-maven-plugin</artifactId>
                   <version>${bnd.version}</version>
                   <executions>
                       <execution>
                           <id>testing</id>
                           <goals>
                               <goal>testing</goal>
                           </goals>
                       </execution>
                   </executions>
               </plugin>
               <plugin>
                   <groupId>org.apache.maven.plugins</groupId>
                   <artifactId>maven-compiler-plugin</artifactId>
                   <version>3.10.1</version>
               </plugin>
               <plugin>
                   <groupId>org.eclipse.m2e</groupId>
                   <artifactId>lifecycle-mapping</artifactId>
                   <version>1.0.0</version>
                   <configuration>
                       <lifecycleMappingMetadata>
                           <pluginExecutions>
                               <pluginExecution>
                                   <pluginExecutionFilter>
                                       <groupId>org.apache.maven.plugins</groupId>
                                       <artifactId>maven-invoker-plugin</artifactId>
                                       <versionRange>[1.0,)</versionRange>
                                       <goals>
                                           <goal>install</goal>
                                       </goals>
                                   </pluginExecutionFilter>
                                   <action>
                                       <ignore>
                                       </ignore>
                                   </action>
                               </pluginExecution>
                               <pluginExecution>
                                   <pluginExecutionFilter>
                                       <groupId>org.apache.maven.plugins</groupId>
                                       <artifactId>maven-remote-resources-plugin</artifactId>
                                       <versionRange>[1.0,)</versionRange>
                                       <goals>
                                           <goal>process</goal>
                                       </goals>
                                   </pluginExecutionFilter>
                                   <action>
                                       <ignore>
                                       </ignore>
                                   </action>
                               </pluginExecution>
                               <pluginExecution>
                                   <pluginExecutionFilter>
                                       <groupId>
                                           org.codehaus.mojo
                                       </groupId>
                                       <artifactId>
                                           flatten-maven-plugin
                                       </artifactId>
                                       <versionRange>
                                           [1.2.5,)
                                       </versionRange>
                                       <goals>
                                           <goal>flatten</goal>
                                       </goals>
                                   </pluginExecutionFilter>
                                   <action>
                                       <ignore />
                                   </action>
                               </pluginExecution>
                           </pluginExecutions>
                       </lifecycleMappingMetadata>
                   </configuration>
               </plugin>
           </plugins>
       </pluginManagement>
       <plugins>
           <plugin>
               <!--
                   This is used for diagnostics by invoking it like:

                   mvn antrun:run@props [-N]
               -->
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-antrun-plugin</artifactId>
               <version>3.1.0</version>
               <executions>
                   <execution>
                       <id>props</id>
                       <goals>
                           <goal>run</goal>
                       </goals>
                       <configuration>
                           <target>
                               <echoproperties />
                           </target>
                       </configuration>
                   </execution>
               </executions>
           </plugin>
           <plugin>
               <groupId>org.codehaus.mojo</groupId>
               <artifactId>flatten-maven-plugin</artifactId>
               <version>1.3.0</version>
               <configuration>
                   <flattenMode>oss</flattenMode>
               </configuration>
               <executions>
                   <execution>
                       <id>flatten</id>
                       <phase>process-resources</phase>
                       <goals>
                           <goal>flatten</goal>
                       </goals>
                   </execution>
                   <execution>
                       <id>flatten-clean</id>
                       <phase>clean</phase>
                       <goals>
                           <goal>clean</goal>
                       </goals>
                   </execution>
               </executions>
           </plugin>
       </plugins>
   </build>

   <reporting>
       <plugins>
           <plugin>
               <groupId>org.codehaus.mojo</groupId>
               <artifactId>findbugs-maven-plugin</artifactId>
               <version>3.0.5</version>
           </plugin>
       </plugins>
   </reporting>

   <repositories>
       <repository>
           <id>ossrh</id>
           <url>https://oss.sonatype.org/content/repositories/snapshots</url>
           <releases><enabled>false</enabled></releases>
           <snapshots><enabled>true</enabled></snapshots>
       </repository>
       <repository>
           <id>bnd-snapshots</id>
           <url>https://bndtools.jfrog.io/bndtools/libs-snapshot/</url>
           <releases><enabled>false</enabled></releases>
           <snapshots><enabled>true</enabled></snapshots>
       </repository>
       <repository>
           <id>bnd-release</id>
           <url>https://bndtools.jfrog.io/bndtools/libs-release/</url>
           <layout>default</layout>
       </repository>
   </repositories>

   <pluginRepositories>
       <pluginRepository>
           <id>bnd-snapshots</id>
           <url>https://bndtools.jfrog.io/bndtools/libs-snapshot/</url>
           <layout>default</layout>
           <releases>
               <enabled>false</enabled>
           </releases>
       </pluginRepository>
       <pluginRepository>
           <id>bnd-release</id>
           <url>https://bndtools.jfrog.io/bndtools/libs-release/</url>
           <layout>default</layout>
       </pluginRepository>
   </pluginRepositories>
</project>