Skip to content

Commit

Permalink
Temporary add sonatype-snapshots repository and cel version to fix th…
Browse files Browse the repository at this point in the history
…e build error.
  • Loading branch information
nbayati committed Dec 19, 2024
1 parent 87d2e05 commit 65b7140
Showing 1 changed file with 39 additions and 19 deletions.
58 changes: 39 additions & 19 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?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">
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-parent</artifactId>
<version>1.29.1-SNAPSHOT</version><!-- {x-version-update:google-auth-library-parent:current} -->
<version>1.29.1-SNAPSHOT
</version><!-- {x-version-update:google-auth-library-parent:current} -->
<packaging>pom</packaging>
<name>Google Auth Library for Java</name>
<description>Client libraries providing authentication and
Expand All @@ -27,7 +28,8 @@
<site>
<id>googleapis.dev</id>
<name>Google self-hosted documentation site</name>
<url>https://googleapis.dev/java/google-auth-library/${project.version}</url>
<url>https://googleapis.dev/java/google-auth-library/${project.version}
</url>
</site>
</distributionManagement>

Expand Down Expand Up @@ -62,8 +64,11 @@
</modules>

<scm>
<connection>scm:git:https://github.com/googleapis/google-auth-library-java.git</connection>
<developerConnection>scm:git:https://github.com/googleapis/google-auth-library-java.git
<connection>
scm:git:https://github.com/googleapis/google-auth-library-java.git
</connection>
<developerConnection>
scm:git:https://github.com/googleapis/google-auth-library-java.git
</developerConnection>
<url>https://github.com/googleapis/google-auth-library-java</url>
</scm>
Expand All @@ -81,6 +86,19 @@
<project.cel.version>0.8.0</project.cel.version>
</properties>

<repositories>
<repository>
<id>sonatype-snapshots</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>

<dependencyManagement>
<dependencies>
<dependency>
Expand Down Expand Up @@ -114,12 +132,12 @@
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${project.guava.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.j2objc</groupId>
<artifactId>j2objc-annotations</artifactId>
</exclusion>
</exclusions>
<exclusions>
<exclusion>
<groupId>com.google.j2objc</groupId>
<artifactId>j2objc-annotations</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
Expand All @@ -146,10 +164,10 @@
<classifier>testlib</classifier>
</dependency>
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
<version>${project.error-prone.version}</version>
<scope>compile</scope>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
<version>${project.error-prone.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
Expand All @@ -159,7 +177,7 @@
<dependency>
<groupId>dev.cel</groupId>
<artifactId>cel</artifactId>
<version>${project.cel.version}</version>
<version>0.9.0-proto3-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>
Expand Down Expand Up @@ -295,7 +313,8 @@
<testSourceDirectories>
<testSourceDirectory>src/test</testSourceDirectory>
</testSourceDirectories>
<excludes>com.google.auth.oauth2.ExternalAccountCredentials</excludes>
<excludes>com.google.auth.oauth2.ExternalAccountCredentials
</excludes>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -331,7 +350,8 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<configuration>
<ignoredDifferencesFile>clirr-ignored-differences.xml</ignoredDifferencesFile>
<ignoredDifferencesFile>clirr-ignored-differences.xml
</ignoredDifferencesFile>
<logResults>true</logResults>
</configuration>
<executions>
Expand Down

0 comments on commit 65b7140

Please sign in to comment.