Skip to content

Commit 3a8c271

Browse files
vkediakurtisvg
authored andcommitted
Adds dependency on google-cloud bom (#1034)
* Depend on shaded spanner * Use google-cloud bom
1 parent 99506df commit 3a8c271

File tree

1 file changed

+31
-3
lines changed

1 file changed

+31
-3
lines changed

spanner/cloud-client/pom.xml

+31-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ limitations under the License.
4040
<dependency>
4141
<groupId>com.google.cloud</groupId>
4242
<artifactId>google-cloud-spanner</artifactId>
43-
<version>0.34.0-beta</version>
4443
<exclusions>
4544
<exclusion>
4645
<groupId>com.google.guava</groupId>
@@ -78,17 +77,37 @@ limitations under the License.
7877
<groupId>io.opencensus</groupId>
7978
<artifactId>opencensus-exporter-trace-stackdriver</artifactId>
8079
<version>${opencensus.version}</version>
80+
<exclusions>
81+
<exclusion>
82+
<groupId>com.google.cloud</groupId>
83+
<artifactId>google-cloud-trace</artifactId>
84+
</exclusion>
85+
</exclusions>
8186
</dependency>
8287
<dependency>
8388
<groupId>io.opencensus</groupId>
8489
<artifactId>opencensus-exporter-stats-stackdriver</artifactId>
8590
<version>${opencensus.version}</version>
91+
<exclusions>
92+
<exclusion>
93+
<groupId>com.google.cloud</groupId>
94+
<artifactId>google-cloud-monitoring</artifactId>
95+
</exclusion>
96+
</exclusions>
8697
</dependency>
8798
<dependency>
8899
<groupId>io.opencensus</groupId>
89100
<artifactId>opencensus-contrib-grpc-metrics</artifactId>
90101
<version>${opencensus.version}</version>
91102
</dependency>
103+
<dependency>
104+
<groupId>com.google.cloud</groupId>
105+
<artifactId>google-cloud-trace</artifactId>
106+
</dependency>
107+
<dependency>
108+
<groupId>com.google.cloud</groupId>
109+
<artifactId>google-cloud-monitoring</artifactId>
110+
</dependency>
92111

93112
<!-- Test dependencies -->
94113
<dependency>
@@ -103,9 +122,18 @@ limitations under the License.
103122
<version>0.39</version>
104123
<scope>test</scope>
105124
</dependency>
106-
107125
</dependencies>
108-
126+
<dependencyManagement>
127+
<dependencies>
128+
<dependency>
129+
<groupId>com.google.cloud</groupId>
130+
<artifactId>google-cloud-bom</artifactId>
131+
<version>0.34.0-alpha</version>
132+
<type>pom</type>
133+
<scope>import</scope>
134+
</dependency>
135+
</dependencies>
136+
</dependencyManagement>
109137
<build>
110138
<plugins>
111139
<plugin>

0 commit comments

Comments
 (0)