<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         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">
  <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>
  <modelVersion>4.0.0</modelVersion>

  <groupId>com.azure.spring</groupId>
  <artifactId>spring-cloud-azure-service</artifactId>
  <version>4.0.0-beta.3</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-service;current} -->

  <name>Spring Cloud Azure Service</name>
  <description>Spring Cloud Azure Service</description>
  <url>https://microsoft.github.io/spring-cloud-azure</url>
  <developers>
    <developer>
      <name>Spring Cloud Azure</name>
      <email>SpringIntegSupport@microsoft.com</email>
    </developer>
  </developers>
  <scm>
    <connection>scm:git:git@github.com:Azure/azure-sdk-for-java.git</connection>
    <developerConnection>scm:git:ssh://git@github.com:Azure/azure-sdk-for-java.git</developerConnection>
    <url>https://github.com/Azure/azure-sdk-for-java</url>
  </scm>
  <issueManagement>
    <system>GitHub</system>
    <url>https://github.com/Azure/azure-sdk-for-java/issues</url>
  </issueManagement>

  <properties>
    <javaModulesSurefireArgLine>
      --add-modules com.azure.cosmos
      --add-modules com.azure.data.appconfiguration
      --add-modules com.azure.messaging.eventhubs
      --add-modules com.azure.messaging.servicebus
      --add-modules com.azure.security.keyvault.certificates
      --add-modules com.azure.security.keyvault.secrets
      --add-modules com.azure.storage.blob
      --add-modules com.azure.storage.file.share
      --add-modules com.azure.storage.internal.avro
      --add-modules com.azure.storage.queue
      --add-opens com.azure.spring.core/com.azure.spring.core.factory=ALL-UNNAMED
      --add-opens com.azure.spring.service/com.azure.spring.service.eventhubs=ALL-UNNAMED
      --add-opens com.azure.spring.service/com.azure.spring.service.implementation.appconfiguration=ALL-UNNAMED
      --add-opens com.azure.spring.service/com.azure.spring.service.implementation.core=ALL-UNNAMED
      --add-opens com.azure.spring.service/com.azure.spring.service.implementation.cosmos=ALL-UNNAMED
      --add-opens com.azure.spring.service/com.azure.spring.service.implementation.credential=ALL-UNNAMED
      --add-opens com.azure.spring.service/com.azure.spring.service.implementation.converter=ALL-UNNAMED
      --add-opens com.azure.spring.service/com.azure.spring.service.implementation.eventhubs=ALL-UNNAMED
      --add-opens com.azure.spring.service/com.azure.spring.service.implementation.keyvault.certificates=ALL-UNNAMED
      --add-opens com.azure.spring.service/com.azure.spring.service.implementation.keyvault.secret=ALL-UNNAMED
      --add-opens com.azure.spring.service/com.azure.spring.service.implementation.servicebus.factory=ALL-UNNAMED
      --add-opens com.azure.spring.service/com.azure.spring.service.implementation.servicebus=ALL-UNNAMED
      --add-opens com.azure.spring.service/com.azure.spring.service.implementation.storage.credential=ALL-UNNAMED
      --add-opens com.azure.spring.service/com.azure.spring.service.implementation.storage.blob=ALL-UNNAMED
      --add-opens com.azure.spring.service/com.azure.spring.service.implementation.storage.fileshare=ALL-UNNAMED
      --add-opens com.azure.spring.service/com.azure.spring.service.implementation.storage.queue=ALL-UNNAMED
      --add-opens com.azure.spring.service/com.azure.spring.service.implementation=ALL-UNNAMED
    </javaModulesSurefireArgLine>
  </properties>

  <dependencies>
    <dependency>
      <groupId>com.azure.spring</groupId>
      <artifactId>spring-cloud-azure-core</artifactId>
      <version>4.0.0-beta.3</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-core;current} -->
    </dependency>

    <!-- Azure SDKs-->
    <dependency>
      <groupId>com.azure</groupId>
      <artifactId>azure-cosmos</artifactId>
      <version>4.23.0</version> <!-- {x-version-update;com.azure:azure-cosmos;dependency} -->
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>com.azure</groupId>
      <artifactId>azure-data-appconfiguration</artifactId>
      <version>1.2.4</version> <!-- {x-version-update;com.azure:azure-data-appconfiguration;dependency} -->
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>com.azure</groupId>
      <artifactId>azure-messaging-servicebus</artifactId>
      <version>7.5.1</version> <!-- {x-version-update;com.azure:azure-messaging-servicebus;dependency} -->
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>com.azure</groupId>
      <artifactId>azure-messaging-eventhubs</artifactId>
      <version>5.10.3</version> <!-- {x-version-update;com.azure:azure-messaging-eventhubs;dependency} -->
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>com.azure</groupId>
      <artifactId>azure-security-keyvault-certificates</artifactId>
      <version>4.2.5</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;dependency} -->
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>com.azure</groupId>
      <artifactId>azure-security-keyvault-secrets</artifactId>
      <version>4.3.5</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;dependency} -->
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>com.azure</groupId>
      <artifactId>azure-storage-blob</artifactId>
      <version>12.14.2</version> <!-- {x-version-update;com.azure:azure-storage-blob;dependency} -->
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>com.azure</groupId>
      <artifactId>azure-storage-file-share</artifactId>
      <version>12.11.2</version> <!-- {x-version-update;com.azure:azure-storage-file-share;dependency} -->
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>com.azure</groupId>
      <artifactId>azure-storage-queue</artifactId>
      <version>12.11.2</version> <!-- {x-version-update;com.azure:azure-storage-queue;dependency} -->
      <optional>true</optional>
    </dependency>

    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
      <version>4.0.0</version><!-- {x-version-update;org.mockito:mockito-core;external_dependency} -->
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter</artifactId>
      <version>5.8.1</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter;external_dependency} -->
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-test</artifactId>
      <version>5.3.13</version> <!-- {x-version-update;org.springframework:spring-test;external_dependency} -->
      <scope>test</scope>
    </dependency>

    <!-- Used to eliminate warnings when generate Java Docs.
        Added this dependency to include necessary annotations used by reactor core.
        Without this dependency, javadoc throws a warning as it cannot find enum When.MAYBE
        which is used in @Nullable annotation in reactor core classes -->
    <dependency>
      <groupId>com.google.code.findbugs</groupId>
      <artifactId>jsr305</artifactId>
      <version>3.0.2</version> <!-- {x-version-update;com.google.code.findbugs:jsr305;external_dependency} -->
      <scope>provided</scope>
    </dependency>
  </dependencies>

</project>
