Skip to content

Commit d00226f

Browse files
jabubakejsimonweb
authored andcommitted
Adding Spanner STRUCT param samples (#1128)
* Adding Spanner STRUCT param samples * updating tests * updating pom.xml * equals => isEqualTo * updating BOM to 0.52.0-alpha * test updates * test updates * fixing checkstyle errors
1 parent 466f558 commit d00226f

File tree

3 files changed

+313
-120
lines changed

3 files changed

+313
-120
lines changed

spanner/cloud-client/pom.xml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ limitations under the License.
2626
<parent>
2727
<groupId>com.google.cloud.samples</groupId>
2828
<artifactId>shared-configuration</artifactId>
29-
<version>1.0.9</version>
29+
<version>1.0.10</version>
3030
</parent>
3131

3232
<properties>
@@ -36,8 +36,22 @@ limitations under the License.
3636
<opencensus.version>0.14.0</opencensus.version>
3737
</properties>
3838

39+
<!-- Include the BOM to ensure compatibility across multiple google-cloud-* libraries -->
40+
<dependencyManagement>
41+
<dependencies>
42+
<dependency>
43+
<groupId>com.google.cloud</groupId>
44+
<artifactId>google-cloud-bom</artifactId>
45+
<version>0.52.0-alpha</version>
46+
<type>pom</type>
47+
<scope>import</scope>
48+
</dependency>
49+
</dependencies>
50+
</dependencyManagement>
51+
<!-- End of BOM -->
3952
<dependencies>
4053
<dependency>
54+
<!-- Version auto-managed by BOM -->
4155
<groupId>com.google.cloud</groupId>
4256
<artifactId>google-cloud-spanner</artifactId>
4357
<exclusions>
@@ -100,10 +114,12 @@ limitations under the License.
100114
<artifactId>opencensus-contrib-grpc-metrics</artifactId>
101115
<version>${opencensus.version}</version>
102116
</dependency>
117+
<!-- Version auto-managed by BOM -->
103118
<dependency>
104119
<groupId>com.google.cloud</groupId>
105120
<artifactId>google-cloud-trace</artifactId>
106121
</dependency>
122+
<!-- Version auto-managed by BOM -->
107123
<dependency>
108124
<groupId>com.google.cloud</groupId>
109125
<artifactId>google-cloud-monitoring</artifactId>
@@ -123,17 +139,6 @@ limitations under the License.
123139
<scope>test</scope>
124140
</dependency>
125141
</dependencies>
126-
<dependencyManagement>
127-
<dependencies>
128-
<dependency>
129-
<groupId>com.google.cloud</groupId>
130-
<artifactId>google-cloud-bom</artifactId>
131-
<version>0.42.0-alpha</version>
132-
<type>pom</type>
133-
<scope>import</scope>
134-
</dependency>
135-
</dependencies>
136-
</dependencyManagement>
137142
<build>
138143
<plugins>
139144
<plugin>

0 commit comments

Comments
 (0)