<?xml version="1.0" encoding="UTF-8"?>
<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.opentmf.client</groupId>
    <artifactId>opentmf-http-clients</artifactId>
    <version>2.1.0</version>
  </parent>

  <artifactId>opentmf-http-clients-autoconfigure</artifactId>
  <name>opentmf-http-clients-autoconfigure</name>

  <description>
    Spring Boot auto-configuration for OpenTMF HTTP clients.
    Contains the configuration properties, bean registrars, and factory classes.
    Not intended to be used directly — use one of the starter modules instead.
  </description>

  <dependencies>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>opentmf-http-clients-bearer-provider</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>opentmf-http-clients-rest</artifactId>
      <version>${project.version}</version>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>opentmf-http-clients-reactive</artifactId>
      <version>${project.version}</version>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-autoconfigure</artifactId>
    </dependency>

    <!-- Reactive: optional -->
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-webflux</artifactId>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>io.projectreactor.netty</groupId>
      <artifactId>reactor-netty-http</artifactId>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>org.zalando</groupId>
      <artifactId>logbook-netty</artifactId>
      <version>${logbook.version}</version>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>org.zalando</groupId>
      <artifactId>logbook-spring-boot-autoconfigure</artifactId>
      <version>${logbook.version}</version>
      <optional>true</optional>
    </dependency>

    <!-- Logbook for REST clients: optional -->
    <dependency>
      <groupId>org.zalando</groupId>
      <artifactId>logbook-spring</artifactId>
      <version>${logbook.version}</version>
      <optional>true</optional>
    </dependency>

    <!-- REST HTTP client implementations: optional -->
    <dependency>
      <groupId>org.apache.httpcomponents.client5</groupId>
      <artifactId>httpclient5</artifactId>
      <optional>true</optional>
    </dependency>
  </dependencies>

</project>
