Skip to content

Commit e256d22

Browse files
authored
fix: include an explicit version for javax-annotations-api (#261)
The Maven flatten plugin transforms the pom of the project from a set of imports and transitive dependencies into a pom that contains all dependencies and versions explicitly. This process did however miss the javax-annotations-api dependency that is only included for JDK9 and higher. Fixes GoogleCloudPlatform/java-docs-samples#3139
1 parent 22ed458 commit e256d22

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

google-cloud-spanner-bom/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<groupId>com.google.cloud</groupId>
9191
<artifactId>google-cloud-spanner</artifactId>
9292
<type>test-jar</type>
93-
<version>1.55.1</version><!-- {x-version-update:google-cloud-spanner:current} -->
93+
<version>1.55.2-SNAPSHOT</version><!-- {x-version-update:google-cloud-spanner:current} -->
9494
</dependency>
9595
<dependency>
9696
<groupId>com.google.api.grpc</groupId>

google-cloud-spanner/pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@
336336
<dependency>
337337
<groupId>javax.annotation</groupId>
338338
<artifactId>javax.annotation-api</artifactId>
339+
<version>1.3.2</version>
339340
</dependency>
340341
</dependencies>
341342
</profile>

grpc-google-cloud-spanner-v1/pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
<dependency>
5454
<groupId>javax.annotation</groupId>
5555
<artifactId>javax.annotation-api</artifactId>
56+
<version>1.3.2</version>
5657
</dependency>
5758
</dependencies>
5859
</profile>

0 commit comments

Comments
 (0)