Skip to content

Commit dfca2f6

Browse files
authored
Add google-auth-library-bom artifact (#256)
1 parent 124aea5 commit dfca2f6

File tree

3 files changed

+149
-0
lines changed

3 files changed

+149
-0
lines changed

bom/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Google Auth Library Bill of Materials
2+
3+
The `google-auth-library-bom` is a pom that can be used to import consistent versions of
4+
`google-auth-library` components plus its dependencies.
5+
6+
To use it in Maven, add the following to your `pom.xml`:
7+
8+
[//]: # ({x-version-update-start:google-auth-library-bom:released})
9+
```xml
10+
<dependencyManagement>
11+
<dependencies>
12+
<dependency>
13+
<groupId>com.google.auth</groupId>
14+
<artifactId>google-auth-libary-bom</artifactId>
15+
<version>0.15.0</version>
16+
<type>pom</type>
17+
<scope>import</scope>
18+
</dependency>
19+
</dependencies>
20+
</dependencyManagement>
21+
```
22+
[//]: # ({x-version-update-end})
23+
24+
## License
25+
26+
Apache 2.0 - See [LICENSE] for more information.
27+
28+
[LICENSE]: https://github.com/googleapis/google-auth-library-java/blob/master/LICENSE

bom/pom.xml

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
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>0.15.1-SNAPSHOT</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+
<licenses>
15+
<license>
16+
<name>Apache-2.0</name>
17+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
18+
<distribution>repo</distribution>
19+
</license>
20+
</licenses>
21+
22+
<organization>
23+
<name>Google</name>
24+
<url>http://www.google.com/</url>
25+
</organization>
26+
27+
<scm>
28+
<connection>scm:git:https://github.com/googleapis/google-auth-library-java.git</connection>
29+
<developerConnection>scm:git:https://github.com/googleapis/google-auth-library-java.git</developerConnection>
30+
<url>https://github.com/googleapis/google-auth-library-java</url>
31+
</scm>
32+
33+
<dependencyManagement>
34+
<dependencies>
35+
<dependency>
36+
<groupId>com.google.auth</groupId>
37+
<artifactId>google-auth-library-credentials</artifactId>
38+
<version>${project.version}</version>
39+
</dependency>
40+
<dependency>
41+
<groupId>com.google.auth</groupId>
42+
<artifactId>google-auth-library-oauth2-http</artifactId>
43+
<version>${project.version}</version>
44+
</dependency>
45+
<dependency>
46+
<groupId>com.google.auth</groupId>
47+
<artifactId>google-auth-library-oauth2-appengine</artifactId>
48+
<version>${project.version}</version>
49+
</dependency>
50+
</dependencies>
51+
</dependencyManagement>
52+
53+
<build>
54+
<plugins>
55+
<plugin>
56+
<groupId>org.sonatype.plugins</groupId>
57+
<artifactId>nexus-staging-maven-plugin</artifactId>
58+
<version>1.6.5</version>
59+
<extensions>true</extensions>
60+
<configuration>
61+
<serverId>ossrh</serverId>
62+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
63+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
64+
</configuration>
65+
</plugin>
66+
<plugin>
67+
<groupId>org.apache.maven.plugins</groupId>
68+
<artifactId>maven-javadoc-plugin</artifactId>
69+
<version>3.1.0</version>
70+
<configuration>
71+
<skip>true</skip>
72+
</configuration>
73+
</plugin>
74+
<plugin>
75+
<groupId>org.apache.maven.plugins</groupId>
76+
<artifactId>maven-site-plugin</artifactId>
77+
<version>3.7.1</version>
78+
<configuration>
79+
<skip>true</skip>
80+
</configuration>
81+
</plugin>
82+
</plugins>
83+
</build>
84+
85+
<profiles>
86+
<profile>
87+
<id>release-sign-artifacts</id>
88+
<activation>
89+
<property>
90+
<name>performRelease</name>
91+
<value>true</value>
92+
</property>
93+
</activation>
94+
<build>
95+
<plugins>
96+
<plugin>
97+
<groupId>org.apache.maven.plugins</groupId>
98+
<artifactId>maven-gpg-plugin</artifactId>
99+
<version>1.6</version>
100+
<executions>
101+
<execution>
102+
<id>sign-artifacts</id>
103+
<phase>verify</phase>
104+
<goals>
105+
<goal>sign</goal>
106+
</goals>
107+
<configuration>
108+
<gpgArguments>
109+
<arg>--pinentry-mode</arg>
110+
<arg>loopback</arg>
111+
</gpgArguments>
112+
</configuration>
113+
</execution>
114+
</executions>
115+
</plugin>
116+
</plugins>
117+
</build>
118+
</profile>
119+
</profiles>
120+
</project>

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
<module>credentials</module>
4343
<module>oauth2_http</module>
4444
<module>appengine</module>
45+
<module>bom</module>
4546
</modules>
4647

4748
<scm>

0 commit comments

Comments
 (0)