<!--
 ~ Copyright (c) Microsoft Corporation. All rights reserved.
 ~ Licensed under the MIT License.
 ~ Code generated by Microsoft (R) TypeSpec Code Generator.
 -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>com.azure</groupId>
    <artifactId>azure-client-sdk-parent</artifactId>
    <version>1.7.0</version> <!-- {x-version-update;com.azure:azure-client-sdk-parent;current} -->
    <relativePath>../../parents/azure-client-sdk-parent</relativePath>
  </parent>

  <groupId>com.azure</groupId>
  <artifactId>azure-ai-agents</artifactId>
  <version>2.6.0</version> <!-- {x-version-update;com.azure:azure-ai-agents;current} -->
  <packaging>jar</packaging>

  <name>Microsoft Azure SDK for Agents</name>
  <description>This package contains Microsoft Azure Agents client library.</description>
  <url>https://github.com/Azure/azure-sdk-for-java</url>

  <licenses>
    <license>
      <name>The MIT License (MIT)</name>
      <url>http://opensource.org/licenses/MIT</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <scm>
    <url>https://github.com/Azure/azure-sdk-for-java</url>
    <connection>scm:git:git@github.com:Azure/azure-sdk-for-java.git</connection>
    <developerConnection>scm:git:git@github.com:Azure/azure-sdk-for-java.git</developerConnection>
    <tag>HEAD</tag>
  </scm>
  <developers>
    <developer>
      <id>microsoft</id>
      <name>Microsoft</name>
    </developer>
  </developers>
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <!-- TODO: remove on Public Preview release -->
    <jacoco.min.linecoverage>0.0</jacoco.min.linecoverage>
    <jacoco.min.branchcoverage>0.0</jacoco.min.branchcoverage>
    <javaModulesSurefireArgLine>
      --add-modules java.desktop
      --add-reads com.azure.ai.agents=java.desktop
      --add-exports com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
      --add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
    </javaModulesSurefireArgLine>
  </properties>
  <dependencies>
    <!-- compile scope -->
    <dependency>
      <groupId>com.openai</groupId>
      <artifactId>openai-java</artifactId>
      <version>4.45.0</version> <!-- {x-version-update;com.openai:openai-java;external_dependency} -->
    </dependency>
    <dependency>
      <groupId>com.azure</groupId>
      <artifactId>azure-core</artifactId>
      <version>1.59.1</version> <!-- {x-version-update;com.azure:azure-core;dependency} -->
    </dependency>
    <dependency>
      <groupId>com.azure</groupId>
      <artifactId>azure-core-http-netty</artifactId>
      <version>1.16.7</version> <!-- {x-version-update;com.azure:azure-core-http-netty;dependency} -->
    </dependency>
    <dependency>
      <groupId>io.projectreactor.netty</groupId>
      <artifactId>reactor-netty-http</artifactId>
      <version>1.2.18</version> <!-- {x-version-update;io.projectreactor.netty:reactor-netty-http;external_dependency} -->
    </dependency>
    <dependency>
      <groupId>io.netty</groupId>
      <artifactId>netty-codec-http</artifactId>
      <version>4.1.137.Final</version> <!-- {x-version-update;io.netty:netty-codec-http;external_dependency} -->
    </dependency>
    <dependency>
      <groupId>io.netty</groupId>
      <artifactId>netty-transport</artifactId>
      <version>4.1.137.Final</version> <!-- {x-version-update;io.netty:netty-transport;external_dependency} -->
    </dependency>
    <dependency>
      <groupId>io.netty</groupId>
      <artifactId>netty-common</artifactId>
      <version>4.1.137.Final</version> <!-- {x-version-update;io.netty:netty-common;external_dependency} -->
    </dependency>
    <dependency>
      <groupId>io.netty</groupId>
      <artifactId>netty-codec</artifactId>
      <version>4.1.137.Final</version> <!-- {x-version-update;io.netty:netty-codec;external_dependency} -->
    </dependency>
    <dependency>
      <groupId>io.netty</groupId>
      <artifactId>netty-buffer</artifactId>
      <version>4.1.137.Final</version> <!-- {x-version-update;io.netty:netty-buffer;external_dependency} -->
    </dependency>
    <dependency>
      <groupId>com.squareup.okhttp3</groupId>
      <artifactId>okhttp</artifactId>
      <version>4.12.0</version> <!-- {x-version-update;com.squareup.okhttp3:okhttp;external_dependency} -->
      <exclusions>
        <exclusion>
          <groupId>com.squareup.okio</groupId>
          <artifactId>okio</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.squareup.okio</groupId>
      <artifactId>okio-jvm</artifactId>
      <version>3.18.1</version> <!-- {x-version-update;com.squareup.okio:okio-jvm;external_dependency} -->
    </dependency>

    <!-- test scope -->
    <dependency>
      <groupId>com.azure</groupId>
      <artifactId>azure-core-http-okhttp</artifactId>
      <version>1.13.7</version> <!-- {x-version-update;com.azure:azure-core-http-okhttp;dependency} -->
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.azure</groupId>
      <artifactId>azure-identity</artifactId>
      <version>1.18.6</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.azure</groupId>
      <artifactId>azure-core-test</artifactId>
      <version>1.27.0-beta.18</version> <!-- {x-version-update;com.azure:azure-core-test;dependency} -->
      <scope>test</scope>
    </dependency>

  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
        <version>3.6.3</version> <!-- {x-version-update;org.apache.maven.plugins:maven-enforcer-plugin;external_dependency} -->
        <configuration>
          <rules>
            <bannedDependencies>
              <includes>
                <include>com.openai:openai-java:[4.45.0]</include> <!-- {x-include-update;com.openai:openai-java;external_dependency} -->
                <include>io.projectreactor.netty:reactor-netty-http:[1.2.18]</include> <!-- {x-include-update;io.projectreactor.netty:reactor-netty-http;external_dependency} -->
                <include>io.netty:netty-codec-http:[4.1.137.Final]</include> <!-- {x-include-update;io.netty:netty-codec-http;external_dependency} -->
                <include>io.netty:netty-transport:[4.1.137.Final]</include> <!-- {x-include-update;io.netty:netty-transport;external_dependency} -->
                <include>io.netty:netty-common:[4.1.137.Final]</include> <!-- {x-include-update;io.netty:netty-common;external_dependency} -->
                <include>io.netty:netty-codec:[4.1.137.Final]</include> <!-- {x-include-update;io.netty:netty-codec;external_dependency} -->
                <include>io.netty:netty-buffer:[4.1.137.Final]</include> <!-- {x-include-update;io.netty:netty-buffer;external_dependency} -->
                <include>com.squareup.okhttp3:okhttp:[4.12.0]</include> <!-- {x-include-update;com.squareup.okhttp3:okhttp;external_dependency} -->
                <include>com.squareup.okio:okio-jvm:[3.18.1]</include> <!-- {x-include-update;com.squareup.okio:okio-jvm;external_dependency} -->
              </includes>
            </bannedDependencies>
            <requireReleaseDeps>
              <excludes>
                <exclude>com.openai:*</exclude>
              </excludes>
            </requireReleaseDeps>
          </rules>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.revapi</groupId>
        <artifactId>revapi-maven-plugin</artifactId>
        <version>0.15.1</version> <!-- {x-version-update;org.revapi:revapi-maven-plugin;external_dependency} -->
        <configuration>
          <pipelineConfiguration>
            <filters>
              <include combine.children="append">
                <item>revapi.filter</item>
              </include>
            </filters>
          </pipelineConfiguration>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
