Skip to content

Commit 65b7140

Browse files
committed
Temporary add sonatype-snapshots repository and cel version to fix the build error.
1 parent 87d2e05 commit 65b7140

File tree

1 file changed

+39
-19
lines changed

1 file changed

+39
-19
lines changed

pom.xml

Lines changed: 39 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.google.auth</groupId>
77
<artifactId>google-auth-library-parent</artifactId>
8-
<version>1.29.1-SNAPSHOT</version><!-- {x-version-update:google-auth-library-parent:current} -->
8+
<version>1.29.1-SNAPSHOT
9+
</version><!-- {x-version-update:google-auth-library-parent:current} -->
910
<packaging>pom</packaging>
1011
<name>Google Auth Library for Java</name>
1112
<description>Client libraries providing authentication and
@@ -27,7 +28,8 @@
2728
<site>
2829
<id>googleapis.dev</id>
2930
<name>Google self-hosted documentation site</name>
30-
<url>https://googleapis.dev/java/google-auth-library/${project.version}</url>
31+
<url>https://googleapis.dev/java/google-auth-library/${project.version}
32+
</url>
3133
</site>
3234
</distributionManagement>
3335

@@ -62,8 +64,11 @@
6264
</modules>
6365

6466
<scm>
65-
<connection>scm:git:https://github.com/googleapis/google-auth-library-java.git</connection>
66-
<developerConnection>scm:git:https://github.com/googleapis/google-auth-library-java.git
67+
<connection>
68+
scm:git:https://github.com/googleapis/google-auth-library-java.git
69+
</connection>
70+
<developerConnection>
71+
scm:git:https://github.com/googleapis/google-auth-library-java.git
6772
</developerConnection>
6873
<url>https://github.com/googleapis/google-auth-library-java</url>
6974
</scm>
@@ -81,6 +86,19 @@
8186
<project.cel.version>0.8.0</project.cel.version>
8287
</properties>
8388

89+
<repositories>
90+
<repository>
91+
<id>sonatype-snapshots</id>
92+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
93+
<releases>
94+
<enabled>false</enabled>
95+
</releases>
96+
<snapshots>
97+
<enabled>true</enabled>
98+
</snapshots>
99+
</repository>
100+
</repositories>
101+
84102
<dependencyManagement>
85103
<dependencies>
86104
<dependency>
@@ -114,12 +132,12 @@
114132
<groupId>com.google.guava</groupId>
115133
<artifactId>guava</artifactId>
116134
<version>${project.guava.version}</version>
117-
<exclusions>
118-
<exclusion>
119-
<groupId>com.google.j2objc</groupId>
120-
<artifactId>j2objc-annotations</artifactId>
121-
</exclusion>
122-
</exclusions>
135+
<exclusions>
136+
<exclusion>
137+
<groupId>com.google.j2objc</groupId>
138+
<artifactId>j2objc-annotations</artifactId>
139+
</exclusion>
140+
</exclusions>
123141
</dependency>
124142
<dependency>
125143
<groupId>com.google.code.findbugs</groupId>
@@ -146,10 +164,10 @@
146164
<classifier>testlib</classifier>
147165
</dependency>
148166
<dependency>
149-
<groupId>com.google.errorprone</groupId>
150-
<artifactId>error_prone_annotations</artifactId>
151-
<version>${project.error-prone.version}</version>
152-
<scope>compile</scope>
167+
<groupId>com.google.errorprone</groupId>
168+
<artifactId>error_prone_annotations</artifactId>
169+
<version>${project.error-prone.version}</version>
170+
<scope>compile</scope>
153171
</dependency>
154172
<dependency>
155173
<groupId>com.google.protobuf</groupId>
@@ -159,7 +177,7 @@
159177
<dependency>
160178
<groupId>dev.cel</groupId>
161179
<artifactId>cel</artifactId>
162-
<version>${project.cel.version}</version>
180+
<version>0.9.0-proto3-SNAPSHOT</version>
163181
<exclusions>
164182
<exclusion>
165183
<groupId>com.google.guava</groupId>
@@ -295,7 +313,8 @@
295313
<testSourceDirectories>
296314
<testSourceDirectory>src/test</testSourceDirectory>
297315
</testSourceDirectories>
298-
<excludes>com.google.auth.oauth2.ExternalAccountCredentials</excludes>
316+
<excludes>com.google.auth.oauth2.ExternalAccountCredentials
317+
</excludes>
299318
</configuration>
300319
</execution>
301320
</executions>
@@ -331,7 +350,8 @@
331350
<groupId>org.codehaus.mojo</groupId>
332351
<artifactId>clirr-maven-plugin</artifactId>
333352
<configuration>
334-
<ignoredDifferencesFile>clirr-ignored-differences.xml</ignoredDifferencesFile>
353+
<ignoredDifferencesFile>clirr-ignored-differences.xml
354+
</ignoredDifferencesFile>
335355
<logResults>true</logResults>
336356
</configuration>
337357
<executions>

0 commit comments

Comments
 (0)