| <?xml version="1.0" encoding="UTF-8"?> | 
 | <!-- | 
 |  | 
 |     Copyright (c) 2010, 2024 Oracle and/or its affiliates. All rights reserved. | 
 |  | 
 |     This program and the accompanying materials are made available under the | 
 |     terms of the Eclipse Public License v. 2.0, which is available at | 
 |     http://www.eclipse.org/legal/epl-2.0. | 
 |  | 
 |     This Source Code may also be made available under the following Secondary | 
 |     Licenses when the conditions for such availability set forth in the | 
 |     Eclipse Public License v. 2.0 are satisfied: GNU General Public License, | 
 |     version 2 with the GNU Classpath Exception, which is available at | 
 |     https://www.gnu.org/software/classpath/license.html. | 
 |  | 
 |     SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 | 
 |  | 
 | --> | 
 |  | 
 | <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/maven-v4_0_0.xsd"> | 
 |  | 
 |     <modelVersion>4.0.0</modelVersion> | 
 |  | 
 |     <parent> | 
 |         <groupId>org.glassfish.jersey.tests.osgi</groupId> | 
 |         <artifactId>project</artifactId> | 
 |         <version>2.47-SNAPSHOT</version> | 
 |     </parent> | 
 |  | 
 |     <artifactId>jersey-tests-osgi-functional</artifactId> | 
 |     <packaging>pom</packaging> | 
 |     <name>jersey-tests-osgi-functional</name> | 
 |     <description> | 
 |         Functional Jersey OSGi tests | 
 |     </description> | 
 |  | 
 |     <build> | 
 |         <plugins> | 
 |             <plugin> | 
 |                 <groupId>org.apache.maven.plugins</groupId> | 
 |                 <artifactId>maven-compiler-plugin</artifactId> | 
 |                 <executions> | 
 |                     <execution> | 
 |                         <id>test-compile</id> | 
 |                         <phase>test-compile</phase> | 
 |                         <goals> | 
 |                             <goal>testCompile</goal> | 
 |                         </goals> | 
 |                     </execution> | 
 |                 </executions> | 
 |             </plugin> | 
 |             <plugin> | 
 |                 <artifactId>maven-resources-plugin</artifactId> | 
 |                 <executions> | 
 |                     <execution> | 
 |                         <phase>process-test-resources</phase> | 
 |                         <goals> | 
 |                             <goal>testResources</goal> | 
 |                         </goals> | 
 |                     </execution> | 
 |                 </executions> | 
 |             </plugin> | 
 |             <plugin> | 
 |                 <artifactId>maven-surefire-plugin</artifactId> | 
 |                 <configuration> | 
 |                     <forkCount>1</forkCount> | 
 |                     <reuseForks>false</reuseForks> | 
 |                     <enableAssertions>false</enableAssertions> | 
 |                 </configuration> | 
 |                 <executions> | 
 |                     <execution> | 
 |                         <id>test</id> | 
 |                         <phase>test</phase> | 
 |                         <goals> | 
 |                             <goal>test</goal> | 
 |                         </goals> | 
 |                     </execution> | 
 |                 </executions> | 
 |                 <dependencies> | 
 |                     <dependency> | 
 |                         <groupId>org.apache.maven.surefire</groupId> | 
 |                         <artifactId>surefire-junit47</artifactId> | 
 |                         <version>${surefire.mvn.plugin.version}</version> | 
 |                     </dependency> | 
 |                 </dependencies> | 
 |             </plugin> | 
 |             <!-- use pax exam maven plugin --> | 
 |             <plugin> | 
 |                 <groupId>org.ops4j.pax.exam</groupId> | 
 |                 <artifactId>maven-paxexam-plugin</artifactId> | 
 |                 <executions> | 
 |                     <execution> | 
 |                         <id>generate-config</id> | 
 |                         <goals> | 
 |                             <goal>generate-depends-file</goal> | 
 |                         </goals> | 
 |                     </execution> | 
 |                 </executions> | 
 |             </plugin> | 
 |  | 
 |         </plugins> | 
 |     </build> | 
 |  | 
 |     <dependencies> | 
 |         <dependency> | 
 |             <groupId>jakarta.annotation</groupId> | 
 |             <artifactId>jakarta.annotation-api</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.osgi</groupId> | 
 |             <artifactId>org.osgi.service.cm</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.ops4j.pax.exam</groupId> | 
 |             <artifactId>pax-exam</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.ops4j.pax.exam</groupId> | 
 |             <artifactId>pax-exam-junit4</artifactId> | 
 |             <scope>test</scope> | 
 |             <exclusions> | 
 |                 <exclusion> | 
 |                     <groupId>commons-logging</groupId> | 
 |                     <artifactId>commons-logging</artifactId> | 
 |                 </exclusion> | 
 |             </exclusions> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>commons-logging</groupId> | 
 |             <artifactId>commons-logging</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.ops4j.pax.exam</groupId> | 
 |             <artifactId>pax-exam-container-forked</artifactId> | 
 |             <scope>test</scope> | 
 |             <exclusions> | 
 |                 <exclusion> | 
 |                     <groupId>org.slf4j</groupId> | 
 |                     <artifactId>slf4j-api</artifactId> | 
 |                 </exclusion> | 
 |             </exclusions> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.ops4j.pax.exam</groupId> | 
 |             <artifactId>pax-exam-junit-extender-impl</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.apache.felix</groupId> | 
 |             <artifactId>org.apache.felix.framework</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.ops4j.pax.exam</groupId> | 
 |             <artifactId>pax-exam-link-mvn</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.ops4j.pax.url</groupId> | 
 |             <artifactId>pax-url-aether</artifactId> | 
 |             <version>2.6.14</version> | 
 |             <exclusions> | 
 |                 <exclusion> | 
 |                     <groupId>org.slf4j</groupId> | 
 |                     <artifactId>jcl-over-slf4j</artifactId> | 
 |                 </exclusion> | 
 |             </exclusions> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish.jersey.containers</groupId> | 
 |             <artifactId>jersey-container-grizzly2-http</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish.jersey.containers</groupId> | 
 |             <artifactId>jersey-container-grizzly2-servlet</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish.grizzly</groupId> | 
 |             <artifactId>grizzly-http-servlet</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish.jersey.core</groupId> | 
 |             <artifactId>jersey-client</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |  | 
 |         <!-- dependecies for OSGi test with Apache connector --> | 
 |         <dependency> | 
 |             <groupId>org.glassfish.jersey.connectors</groupId> | 
 |             <artifactId>jersey-apache-connector</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.ops4j.pax.logging</groupId> | 
 |             <artifactId>pax-logging-api</artifactId> | 
 |             <scope>test</scope> | 
 |             <version>1.11.17</version> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.apache.httpcomponents</groupId> | 
 |             <artifactId>httpcore-osgi</artifactId> | 
 |             <scope>test</scope> | 
 |             <version>4.4.6</version> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.apache.httpcomponents</groupId> | 
 |             <artifactId>httpclient-osgi</artifactId> | 
 |             <scope>test</scope> | 
 |             <version>${httpclient.version}</version> | 
 |         </dependency> | 
 |  | 
 |         <dependency> | 
 |             <groupId>org.glassfish.jersey.media</groupId> | 
 |             <artifactId>jersey-media-json-jackson</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish.jersey.media</groupId> | 
 |             <artifactId>jersey-media-json-jackson1</artifactId> | 
 |             <version>${project.version}</version> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish.jersey.media</groupId> | 
 |             <artifactId>jersey-media-json-jettison</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish.jersey.media</groupId> | 
 |             <artifactId>jersey-media-moxy</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish.jersey.media</groupId> | 
 |             <artifactId>jersey-media-json-processing</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish.jersey.ext</groupId> | 
 |             <artifactId>jersey-bean-validation</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish.jersey.ext</groupId> | 
 |             <artifactId>jersey-entity-filtering</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish.jersey.media</groupId> | 
 |             <artifactId>jersey-media-multipart</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish.jersey.media</groupId> | 
 |             <artifactId>jersey-media-sse</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish.jersey.ext</groupId> | 
 |             <artifactId>jersey-proxy-client</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish.jersey.test-framework</groupId> | 
 |             <artifactId>jersey-test-framework-core</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish.jersey.bundles</groupId> | 
 |             <artifactId>jaxrs-ri</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.mortbay.jetty</groupId> | 
 |             <artifactId>jetty</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.mortbay.jetty</groupId> | 
 |             <artifactId>jetty-util</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.mortbay.jetty</groupId> | 
 |             <artifactId>servlet-api-2.5</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>jakarta.validation</groupId> | 
 |             <artifactId>jakarta.validation-api</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.hibernate.validator</groupId> | 
 |             <artifactId>hibernate-validator</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>com.fasterxml</groupId> | 
 |             <artifactId>classmate</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish</groupId> | 
 |             <artifactId>jakarta.el</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish</groupId> | 
 |             <artifactId>jakarta.json</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish</groupId> | 
 |             <artifactId>jsonp-jaxrs</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.glassfish.hk2.external</groupId> | 
 |             <artifactId>aopalliance-repackaged</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.javassist</groupId> | 
 |             <artifactId>javassist</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |  | 
 |         <dependency> | 
 |             <groupId>com.fasterxml.jackson.core</groupId> | 
 |             <artifactId>jackson-core</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>com.fasterxml.jackson.core</groupId> | 
 |             <artifactId>jackson-databind</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>com.fasterxml.jackson.module</groupId> | 
 |             <artifactId>jackson-module-jaxb-annotations</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>com.fasterxml.jackson.core</groupId> | 
 |             <artifactId>jackson-annotations</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>com.fasterxml.jackson.jaxrs</groupId> | 
 |             <artifactId>jackson-jaxrs-base</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>com.fasterxml.jackson.jaxrs</groupId> | 
 |             <artifactId>jackson-jaxrs-json-provider</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |  | 
 |         <dependency> | 
 |             <groupId>org.codehaus.jackson</groupId> | 
 |             <artifactId>jackson-core-asl</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.codehaus.jackson</groupId> | 
 |             <artifactId>jackson-mapper-asl</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.codehaus.jackson</groupId> | 
 |             <artifactId>jackson-jaxrs</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>org.codehaus.jackson</groupId> | 
 |             <artifactId>jackson-xc</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |  | 
 |         <dependency> | 
 |             <groupId>com.sun.xml.bind</groupId> | 
 |             <artifactId>jaxb-osgi</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>jakarta.xml.bind</groupId> | 
 |             <artifactId>jakarta.xml.bind-api</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |         <dependency> | 
 |             <groupId>junit</groupId> | 
 |             <artifactId>junit</artifactId> | 
 |             <version>${junit4.version}</version> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |  | 
 |         <dependency> | 
 |             <groupId>org.slf4j</groupId> | 
 |             <artifactId>slf4j-api</artifactId> | 
 |             <version>${slf4j.version}</version> | 
 |         </dependency> | 
 |  | 
 |     </dependencies> | 
 |  | 
 |     <profiles> | 
 |         <profile> | 
 |             <id>jdk11dependency</id> | 
 |             <activation> | 
 |                 <jdk>[11,)</jdk> | 
 |             </activation> | 
 |             <dependencies> | 
 |                 <dependency> | 
 |                     <groupId>com.sun.activation</groupId> | 
 |                     <artifactId>jakarta.activation</artifactId> | 
 |                     <version>${jakarta.activation.version}</version> | 
 |                 </dependency> | 
 |             </dependencies> | 
 |         </profile> | 
 |         <profile> | 
 |             <id>sonar</id> | 
 |             <build> | 
 |                 <pluginManagement> | 
 |                     <plugins> | 
 |                         <plugin> | 
 |                             <groupId>org.apache.maven.plugins</groupId> | 
 |                             <artifactId>maven-surefire-plugin</artifactId> | 
 |                             <configuration> | 
 |                                 <!-- disable JaCoCo listener because it's not working with <forkMode>always</fork> (<reuseForks>false</reuseForks> respectively) | 
 |                                 https://jira.sonarsource.com/browse/SONARJAVA-728 (https://github.com/SonarSource/sonar-java/pull/324) --> | 
 |                                 <properties combine.self="override" /> | 
 |                             </configuration> | 
 |                         </plugin> | 
 |                     </plugins> | 
 |                 </pluginManagement> | 
 |             </build> | 
 |         </profile> | 
 |     </profiles> | 
 |  | 
 |     <properties> | 
 |         <enforcer.skip>true</enforcer.skip> | 
 |     </properties> | 
 |  | 
 | </project> |