Repository navigation
Expand file tree
/
Copy pathpom.xml
More file actions
92 lines (88 loc) · 3.76 KB
/
Copy pathpom.xml
File metadata and controls
92 lines (88 loc) · 3.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>com.google.auth</groupId>
<artifactId>google-auth-library-bom</artifactId>
<version>1.57.0</version><!-- {x-version-update:google-auth-library-bom:current} -->
<packaging>pom</packaging>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-shared-config</artifactId>
<!-- Do not depend on the version in this monorepo. It causes the publication order problem. -->
<version>1.17.0</version>
</parent>
<name>Google Auth Library for Java BOM</name>
<description>
BOM for Google Auth Library for Java
</description>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.auth</groupId>
<artifactId>google-auth-library-credentials</artifactId>
<version>1.57.0</version><!-- {x-version-update:google-auth-library-parent:current} -->
</dependency>
<dependency>
<groupId>com.google.auth</groupId>
<artifactId>google-auth-library-oauth2-http</artifactId>
<version>1.57.0</version><!-- {x-version-update:google-auth-library-parent:current} -->
</dependency>
<dependency>
<groupId>com.google.auth</groupId>
<artifactId>google-auth-library-appengine</artifactId>
<version>1.57.0</version><!-- {x-version-update:google-auth-library-parent:current} -->
</dependency>
<dependency>
<groupId>com.google.auth</groupId>
<artifactId>google-auth-library-cab-token-generator</artifactId>
<version>1.57.0</version><!-- {x-version-update:google-auth-library-parent:current} -->
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<!-- Temporary enforcer configuration override until a new version of google-cloud-shared-config is released to Maven Central.
Because this module inherits a released version of google-cloud-shared-config from Central (which includes banDuplicateClasses in its default enforce execution),
we override the enforce execution here to avoid running banDuplicateClasses on standard PRs where intra-repo SNAPSHOT JARs are unbuilt.
Remove this override once the parent version is bumped to the newly released google-cloud-shared-config. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce</id>
<configuration>
<rules combine.self="override">
<requireMavenVersion>
<version>[3.8.0,)</version>
</requireMavenVersion>
<requireJavaVersion>
<version>[1.8,)</version>
</requireJavaVersion>
<requireUpperBoundDeps/>
</rules>
</configuration>
</execution>
<execution>
<id>enforce-banned-duplicate-classes</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<banDuplicateClasses>
<scopes>
<scope>compile</scope>
<scope>provided</scope>
</scopes>
<findAllDuplicates>true</findAllDuplicates>
<ignoreWhenIdentical>true</ignoreWhenIdentical>
</banDuplicateClasses>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>