Skip to content

Commit 36ec58d

Browse files
authored
samples: fix samples library versions (#137)
1 parent f5a2c8e commit 36ec58d

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,4 +313,13 @@
313313
</plugin>
314314
</plugins>
315315
</reporting>
316+
317+
<profiles>
318+
<profile>
319+
<id>enable-samples</id>
320+
<modules>
321+
<module>samples</module>
322+
</modules>
323+
</profile>
324+
</profiles>
316325
</project>

samples/install-without-bom/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<dependency>
3030
<groupId>com.google.cloud</groupId>
3131
<artifactId>google-cloud-spanner</artifactId>
32-
<version></version>
32+
<version>1.52.0</version>
3333
</dependency>
3434
<!-- [END spanner_install_without_bom] -->
3535

samples/snapshot/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@
2323
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2424
</properties>
2525

26-
<!-- {x-version-update-start::current} -->
2726
<dependencies>
27+
<!-- {x-version-update-start:google-cloud-spanner:current} -->
2828
<dependency>
2929
<groupId>com.google.cloud</groupId>
3030
<artifactId>google-cloud-spanner</artifactId>
31-
<version></version>
31+
<version>1.52.1-SNAPSHOT</version>
3232
</dependency>
33+
<!-- {x-version-update-end} -->
3334

3435
<dependency>
3536
<groupId>junit</groupId>
@@ -44,7 +45,6 @@
4445
<scope>test</scope>
4546
</dependency>
4647
</dependencies>
47-
<!-- {x-version-update-end} -->
4848

4949
<!-- compile and run all snippet tests -->
5050
<build>

samples/snippets/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<dependency>
3131
<groupId>com.google.cloud</groupId>
3232
<artifactId>libraries-bom</artifactId>
33-
<version></version>
33+
<version>4.3.0</version>
3434
<type>pom</type>
3535
<scope>import</scope>
3636
</dependency>

0 commit comments

Comments
 (0)