<?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright 2022 Google LLC

 Licensed 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>
  <name>Tink Cryptography API with Google Cloud KMS</name>
  <description>This is a plugin that integrates Tink with Google Cloud KMS.</description>

  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>7</version>
  </parent>

  <groupId>com.google.crypto.tink</groupId>
  <artifactId>tink-gcpkms</artifactId>
  <version>1.12.0</version>
  <packaging>jar</packaging>
  <url>http://github.com/tink-crypto/tink-java-gcpkms</url>

  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <distributionManagement>
    <snapshotRepository>
      <id>sonatype-nexus-snapshots</id>
      <url>https://central.sonatype.com/repository/maven-snapshots</url>
    </snapshotRepository>
  </distributionManagement>

  <issueManagement>
    <system>GitHub</system>
    <url>https://github.com/tink-crypto/tink-java-gcpkms/issues</url>
  </issueManagement>

  <mailingLists>
    <mailingList>
      <name>tink-users</name>
      <subscribe>tink-users+subscribe@googlegroups.com</subscribe>
      <unsubscribe>tink-users+unsubscribe@googlegroups.com</unsubscribe>
      <post>tink-users@googlegroups.com</post>
      <archive>https://groups.google.com/group/tink-users</archive>
    </mailingList>
  </mailingLists>

  <developers>
    <developer>
      <organization>Google LLC</organization>
      <organizationUrl>https://www.google.com</organizationUrl>
    </developer>
  </developers>

  <scm>
    <connection>scm:git:git@github.com:tink-crypto/tink-java-gcpkms.git</connection>
    <developerConnection>scm:git:git@github.com:tink-crypto/tink-java-gcpkms.git</developerConnection>
    <url>https://github.com/tink-crypto/tink-java-gcpkms.git</url>
    <tag>HEAD</tag>
  </scm>

  <properties>
    <java.version>11</java.version>
    <google-api-client.version>2.7.2</google-api-client.version>
    <google-api-grpc-proto-cloud-kms-v1.version>2.96.0</google-api-grpc-proto-cloud-kms-v1.version>
    <google-api-services-cloudkms.version>v1-rev20241111-2.0.0</google-api-services-cloudkms.version>
    <google-cloud-google-cloud-kms.version>2.96.0</google-cloud-google-cloud-kms.version>
    <google-auth-library-oauth2-http.version>1.48.0</google-auth-library-oauth2-http.version>
    <auto-service-annotations.version>1.1.1</auto-service-annotations.version>
    <jsr305.version>3.0.2</jsr305.version>
    <error_prone_annotations.version>2.48.0</error_prone_annotations.version>
    <google-http-client.version>2.1.0</google-http-client.version>
    <google-http-client-gson.version>2.1.0</google-http-client-gson.version>
    <google-oauth-client.version>1.39.0</google-oauth-client.version>
    <google-guava.version>33.5.0-jre</google-guava.version>
    <google-protobuf-java.version>4.33.6</google-protobuf-java.version>
    <bouncycastle.version>1.84</bouncycastle.version>
    <tink.version>1.23.0</tink.version>
  </properties>

  <dependencies>
    <!--
      Required only for external-mu ML-DSA signing, which uses BouncyCastle's SHAKE-256 to compute
      the message representative. Marked optional so consumers that do not sign with external-mu keys
      are not forced to depend on it; those that do must add it to their runtime classpath.
    -->
    <dependency>
      <groupId>org.bouncycastle</groupId>
      <artifactId>bcprov-jdk18on</artifactId>
      <version>${bouncycastle.version}</version>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>com.google.api-client</groupId>
      <artifactId>google-api-client</artifactId>
      <version>${google-api-client.version}</version>
    </dependency>
    <dependency>
      <groupId>com.google.apis</groupId>
      <artifactId>google-api-services-cloudkms</artifactId>
      <version>${google-api-services-cloudkms.version}</version>
    </dependency>
    <dependency>
      <groupId>com.google.cloud</groupId>
      <artifactId>google-cloud-kms</artifactId>
      <version>${google-cloud-google-cloud-kms.version}</version>
    </dependency>
    <dependency>
      <groupId>com.google.auth</groupId>
      <artifactId>google-auth-library-oauth2-http</artifactId>
      <version>${google-auth-library-oauth2-http.version}</version>
    </dependency>
    <dependency>
      <groupId>com.google.auto.service</groupId>
      <artifactId>auto-service-annotations</artifactId>
      <version>${auto-service-annotations.version}</version>
    </dependency>
    <dependency>
      <groupId>com.google.code.findbugs</groupId>
      <artifactId>jsr305</artifactId>
      <version>${jsr305.version}</version>
    </dependency>
    <dependency>
      <groupId>com.google.errorprone</groupId>
      <artifactId>error_prone_annotations</artifactId>
      <version>${error_prone_annotations.version}</version>
    </dependency>
    <dependency>
      <groupId>com.google.http-client</groupId>
      <artifactId>google-http-client</artifactId>
      <version>${google-http-client.version}</version>
    </dependency>
    <dependency>
      <groupId>com.google.http-client</groupId>
      <artifactId>google-http-client-gson</artifactId>
      <version>${google-http-client-gson.version}</version>
    </dependency>
    <dependency>
      <groupId>com.google.oauth-client</groupId>
      <artifactId>google-oauth-client</artifactId>
      <version>${google-oauth-client.version}</version>
    </dependency>
    <dependency>
        <groupId>com.google.api.grpc</groupId>
        <artifactId>proto-google-cloud-kms-v1</artifactId>
        <version>${google-api-grpc-proto-cloud-kms-v1.version}</version>
    </dependency>
    <dependency>
      <groupId>com.google.protobuf</groupId>
      <artifactId>protobuf-java</artifactId>
      <version>${google-protobuf-java.version}</version>
    </dependency>
    <dependency>
      <groupId>com.google.crypto.tink</groupId>
      <artifactId>tink</artifactId>
      <version>${tink.version}</version>
    </dependency>
    <dependency>
        <groupId>com.google.guava</groupId>
        <artifactId>guava</artifactId>
        <version>${google-guava.version}</version>
    </dependency>
  </dependencies>
</project>
