<?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/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>

   <parent>
       <groupId>org.apache.felix</groupId>
       <artifactId>felix-parent</artifactId>
       <version>9</version>
       <relativePath />
   </parent>

   <artifactId>org.apache.felix.healthcheck.core</artifactId>
   <version>2.3.0</version>

   <name>Apache Felix Health Check Core</name>
   <inceptionYear>2013</inceptionYear>

   <description>
       The Felix Health Check Core
   </description>

   <properties>
       <felix.java.version>11</felix.java.version>
       <pax-exam.version>4.14.0</pax-exam.version>
       <pax-link.version>2.6.7</pax-link.version>
       <org.ops4j.pax.logging.DefaultServiceLog.level>INFO</org.ops4j.pax.logging.DefaultServiceLog.level>
       <felix.shell>false</felix.shell>
       <project.bundle.file>${project.build.directory}/${project.build.finalName}.jar</project.bundle.file>
       <project.build.outputTimestamp>1744647793</project.build.outputTimestamp>
       <servlet.api>5.0.0</servlet.api>
   </properties>

   <scm>
       <connection>scm:git:https://github.com/apache/felix-dev.git</connection>
       <developerConnection>scm:git:https://github.com/apache/felix-dev.git</developerConnection>
       <url>https://gitbox.apache.org/repos/asf?p=felix-dev.git</url>
     <tag>org.apache.felix.healthcheck.core-2.3.0</tag>
 </scm>

   <build>
       <plugins>

           <plugin>
               <groupId>biz.aQute.bnd</groupId>
               <artifactId>bnd-maven-plugin</artifactId>
               <version>6.4.0</version>
               <executions>
                   <execution>
                       <goals>
                           <goal>bnd-process</goal>
                       </goals>
                   </execution>
               </executions>
           </plugin>
           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-jar-plugin</artifactId>
               <configuration>
                   <archive>
                       <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
                   </archive>
               </configuration>
           </plugin>
           <plugin>
               <groupId>org.jacoco</groupId>
               <artifactId>jacoco-maven-plugin</artifactId>
               <version>0.8.13</version>
               <executions>
                   <execution>
                       <id>prepare-agent-integration</id>
                       <goals>
                           <goal>prepare-agent-integration</goal>
                       </goals>
                       <configuration>
                           <propertyName>coverage.command</propertyName>
                       </configuration>
                   </execution>
               </executions>
           </plugin>
           <plugin>
               <groupId>org.apache.servicemix.tooling</groupId>
               <artifactId>depends-maven-plugin</artifactId>
               <version>1.5.0</version>
               <executions>
                   <execution>
                       <goals>
                           <goal>generate-depends-file</goal>
                       </goals>
                   </execution>
               </executions>
           </plugin>

           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-failsafe-plugin</artifactId>
               <version>3.5.3</version>
               <executions>
                   <execution>
                       <goals>
                           <goal>integration-test</goal>
                           <goal>verify</goal>
                       </goals>
                   </execution>
               </executions>
               <configuration>
                   <systemProperties>
                       <org.ops4j.pax.logging.DefaultServiceLog.level>${org.ops4j.pax.logging.DefaultServiceLog.level}</org.ops4j.pax.logging.DefaultServiceLog.level>
                       <felix.shell>${felix.shell}</felix.shell>
                       <coverage.command>${coverage.command}</coverage.command>
                       <project.bundle.file>${project.bundle.file}</project.bundle.file>
                   </systemProperties>
               </configuration>
           </plugin>
       </plugins>
   </build>

   <dependencies>
       <dependency>
           <groupId>org.osgi</groupId>
           <artifactId>osgi.core</artifactId>
           <version>8.0.0</version>
           <scope>provided</scope>
       </dependency>
       <dependency>
           <groupId>org.osgi</groupId>
           <artifactId>org.osgi.service.servlet</artifactId>
           <version>2.0.0</version>
           <scope>provided</scope>
       </dependency>
       <dependency>
           <groupId>org.osgi</groupId>
           <artifactId>org.osgi.service.cm</artifactId>
           <version>1.6.0</version>
           <scope>provided</scope>
       </dependency>
       <dependency>
           <groupId>org.osgi</groupId>
           <artifactId>org.osgi.service.component</artifactId>
           <version>1.4.0</version>
           <scope>provided</scope>
       </dependency>
       <dependency>
           <groupId>org.osgi</groupId>
           <artifactId>org.osgi.service.component.annotations</artifactId>
           <version>1.4.0</version>
           <scope>provided</scope>
       </dependency>
       <dependency>
           <groupId>org.osgi</groupId>
           <artifactId>org.osgi.service.event</artifactId>
           <version>1.4.1</version>
           <scope>provided</scope>
       </dependency>
       <dependency>
           <groupId>org.osgi</groupId>
           <artifactId>org.osgi.service.metatype.annotations</artifactId>
           <version>1.4.0</version>
           <scope>provided</scope>
       </dependency>
       <dependency>
           <groupId>org.apache.felix</groupId>
           <artifactId>org.apache.felix.healthcheck.api</artifactId>
           <version>2.0.4</version>
           <scope>provided</scope>
       </dependency>

       <dependency>
           <groupId>org.slf4j</groupId>
           <artifactId>slf4j-api</artifactId>
           <version>1.7.6</version>
           <scope>provided</scope>
       </dependency>

       <dependency>
           <groupId>jakarta.servlet</groupId>
           <artifactId>jakarta.servlet-api</artifactId>
           <version>${servlet.api}</version>
           <scope>provided</scope>
           <!-- servlet api optional: only add configs for servlets/filters your setup includes the servlet runtime! -->
           <optional>true</optional>
       </dependency>

       <dependency>
           <groupId>org.apache.servicemix.bundles</groupId>
           <artifactId>org.apache.servicemix.bundles.quartz</artifactId>
           <version>2.3.2_1</version>
           <scope>provided</scope>
           <!-- if not present in runtime, there is no support for async health checks -->
           <optional>true</optional>
       </dependency>

       <!-- used for JSONWriter, included in bundle via Conditional-Package -->
       <dependency>
           <groupId>org.apache.felix</groupId>
           <artifactId>org.apache.felix.utils</artifactId>
           <version>1.11.8</version>
           <scope>provided</scope>
       </dependency>

       <!-- START test scope dependencies -->
       <dependency>
           <groupId>junit</groupId>
           <artifactId>junit</artifactId>
           <version>4.13.2</version>
           <scope>test</scope>
       </dependency>
       <dependency>
           <groupId>org.mockito</groupId>
           <artifactId>mockito-core</artifactId>
           <version>5.17.0</version>
           <scope>test</scope>
       </dependency>
       <dependency>
           <groupId>org.slf4j</groupId>
           <artifactId>slf4j-simple</artifactId>
           <version>1.7.6</version>
           <scope>test</scope>
       </dependency>
       <dependency>
           <groupId>org.ops4j.pax.exam</groupId>
           <artifactId>pax-exam-container-forked</artifactId>
           <version>${pax-exam.version}</version>
           <scope>test</scope>
       </dependency>
       <dependency>
           <groupId>org.ops4j.pax.exam</groupId>
           <artifactId>pax-exam-junit4</artifactId>
           <version>${pax-exam.version}</version>
           <scope>test</scope>
       </dependency>
       <dependency>
           <groupId>org.ops4j.pax.exam</groupId>
           <artifactId>pax-exam-link-mvn</artifactId>
           <version>${pax-exam.version}</version>
           <scope>test</scope>
       </dependency>
       <dependency>
           <groupId>org.ops4j.pax.url</groupId>
           <artifactId>pax-url-aether</artifactId>
           <version>${pax-link.version}</version>
           <scope>test</scope>
       </dependency>
       <dependency>
           <groupId>org.ops4j.pax.url</groupId>
           <artifactId>pax-url-wrap</artifactId>
           <version>${pax-link.version}</version>
           <scope>test</scope>
       </dependency>
       <dependency>
           <groupId>org.apache.geronimo.specs</groupId>
           <artifactId>geronimo-atinject_1.0_spec</artifactId>
           <version>1.0</version>
           <scope>test</scope>
       </dependency>
       <dependency>
           <groupId>org.apache.felix</groupId>
           <artifactId>org.apache.felix.framework</artifactId>
           <version>7.0.5</version>
           <scope>test</scope>
       </dependency>
       <!-- END test scope dependencies -->

   </dependencies>
</project>