Skip to content

Commit

Permalink
deps: Explicitly declare dependencies instead of using shared-depende…
Browse files Browse the repository at this point in the history
…ncies-bom (#1115)
  • Loading branch information
blakeli0 committed Dec 9, 2022
1 parent 4fa72d0 commit 5299228
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions gapic-generator-java/gapic-generator-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,25 @@
<sonar.projectBaseDir>..</sonar.projectBaseDir>
<sonar.sources>../src/main/java,pom.xml</sonar.sources>
<sonar.working.directory>../target/sonar</sonar.working.directory>
<gax.version>2.20.1</gax.version>
<grpc.version>1.51.0</grpc.version>
<protobuf.version>3.21.10</protobuf.version>
<auto-value.version>1.10.1</auto-value.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-shared-dependencies</artifactId>
<version>3.0.6</version>
<groupId>com.google.api</groupId>
<artifactId>gax-bom</artifactId>
<version>${gax.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-bom</artifactId>
<version>${grpc.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -56,7 +67,7 @@
<path>
<groupId>com.google.auto.value</groupId>
<artifactId>auto-value</artifactId>
<version>1.10.1</version>
<version>${auto-value.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand Down Expand Up @@ -189,7 +200,7 @@
<artifactId>protobuf-maven-plugin</artifactId>
<version>0.6.1</version>
<configuration>
<protocArtifact>com.google.protobuf:protoc:3.21.7:exe:${os.detected.classifier}
<protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}
</protocArtifact>
</configuration>
<executions>
Expand Down Expand Up @@ -306,6 +317,7 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>31.1-jre</version>
</dependency>
<dependency>
<groupId>com.google.api</groupId>
Expand Down Expand Up @@ -337,10 +349,12 @@
<dependency>
<groupId>com.google.auto.value</groupId>
<artifactId>auto-value-annotations</artifactId>
<version>${auto-value.version}</version>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java-util</artifactId>
<version>${protobuf.version}</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
Expand Down Expand Up @@ -373,6 +387,7 @@
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>

<dependency>
Expand Down

0 comments on commit 5299228

Please sign in to comment.