xref: /aosp_15_r20/external/google-auth-library-java/bom/pom.xml (revision af546375c95127f07cb26dd492629ccb2e8b1be1)
1<?xml version="1.0" encoding="UTF-8"?>
2<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">
3  <modelVersion>4.0.0</modelVersion>
4  <groupId>com.google.auth</groupId>
5  <artifactId>google-auth-library-bom</artifactId>
6  <version>1.23.0</version><!-- {x-version-update:google-auth-library-bom:current} -->
7  <packaging>pom</packaging>
8  <name>Google Auth Library for Java BOM</name>
9  <description>
10    BOM for Google Auth Library for Java
11  </description>
12  <url>https://github.com/googleapis/google-auth-library-java</url>
13
14  <distributionManagement>
15    <snapshotRepository>
16      <id>sonatype-nexus-snapshots</id>
17      <url>https://google.oss.sonatype.org/content/repositories/snapshots</url>
18    </snapshotRepository>
19  </distributionManagement>
20
21  <licenses>
22    <license>
23      <name>Apache-2.0</name>
24      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
25      <distribution>repo</distribution>
26    </license>
27  </licenses>
28
29  <organization>
30    <name>Google</name>
31    <url>http://www.google.com/</url>
32  </organization>
33
34  <scm>
35    <connection>scm:git:https://github.com/googleapis/google-auth-library-java.git</connection>
36    <developerConnection>scm:git:https://github.com/googleapis/google-auth-library-java.git</developerConnection>
37    <url>https://github.com/googleapis/google-auth-library-java</url>
38  </scm>
39
40  <developers>
41    <developer>
42      <name>Jeff Ching</name>
43      <email>[email protected]</email>
44      <roles>
45        <role>developer</role>
46      </roles>
47    </developer>
48  </developers>
49
50  <dependencyManagement>
51    <dependencies>
52      <dependency>
53        <groupId>com.google.auth</groupId>
54        <artifactId>google-auth-library-credentials</artifactId>
55        <version>${project.version}</version>
56      </dependency>
57      <dependency>
58        <groupId>com.google.auth</groupId>
59        <artifactId>google-auth-library-oauth2-http</artifactId>
60        <version>${project.version}</version>
61      </dependency>
62      <dependency>
63        <groupId>com.google.auth</groupId>
64        <artifactId>google-auth-library-appengine</artifactId>
65        <version>${project.version}</version>
66      </dependency>
67    </dependencies>
68  </dependencyManagement>
69
70  <build>
71    <plugins>
72      <plugin>
73        <groupId>org.sonatype.plugins</groupId>
74        <artifactId>nexus-staging-maven-plugin</artifactId>
75        <version>1.6.13</version>
76        <extensions>true</extensions>
77        <configuration>
78          <serverId>ossrh</serverId>
79          <nexusUrl>https://google.oss.sonatype.org/</nexusUrl>
80          <autoReleaseAfterClose>false</autoReleaseAfterClose>
81        </configuration>
82      </plugin>
83      <plugin>
84        <groupId>org.apache.maven.plugins</groupId>
85        <artifactId>maven-javadoc-plugin</artifactId>
86        <version>3.6.0</version>
87        <configuration>
88          <skip>true</skip>
89        </configuration>
90      </plugin>
91      <plugin>
92        <groupId>org.apache.maven.plugins</groupId>
93        <artifactId>maven-site-plugin</artifactId>
94        <version>3.12.1</version>
95        <configuration>
96          <skip>true</skip>
97        </configuration>
98      </plugin>
99
100      <plugin>
101        <groupId>com.coveo</groupId>
102        <artifactId>fmt-maven-plugin</artifactId>
103        <version>2.13</version>
104        <configuration>
105          <verbose>true</verbose>
106        </configuration>
107      </plugin>
108    </plugins>
109  </build>
110
111  <profiles>
112    <profile>
113      <id>release-sign-artifacts</id>
114      <activation>
115        <property>
116          <name>performRelease</name>
117          <value>true</value>
118        </property>
119      </activation>
120      <build>
121        <plugins>
122          <plugin>
123            <groupId>org.apache.maven.plugins</groupId>
124            <artifactId>maven-gpg-plugin</artifactId>
125            <version>3.1.0</version>
126            <executions>
127              <execution>
128                <id>sign-artifacts</id>
129                <phase>verify</phase>
130                <goals>
131                  <goal>sign</goal>
132                </goals>
133                <configuration>
134                  <gpgArguments>
135                    <arg>--pinentry-mode</arg>
136                    <arg>loopback</arg>
137                  </gpgArguments>
138                </configuration>
139              </execution>
140            </executions>
141          </plugin>
142        </plugins>
143      </build>
144    </profile>
145  </profiles>
146</project>
147