Skip to content
Permalink
Browse files
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
  • Loading branch information
olavloite committed Jun 11, 2020
1 parent 22ed458 commit e256d22f33d5f091ea90ed81c0b0f8600beae96c
Showing with 3 additions and 1 deletion.
  1. +1 −1 google-cloud-spanner-bom/pom.xml
  2. +1 −0 google-cloud-spanner/pom.xml
  3. +1 −0 grpc-google-cloud-spanner-v1/pom.xml
@@ -90,7 +90,7 @@
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-spanner</artifactId>
<type>test-jar</type>
<version>1.55.1</version><!-- {x-version-update:google-cloud-spanner:current} -->
<version>1.55.2-SNAPSHOT</version><!-- {x-version-update:google-cloud-spanner:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
@@ -336,6 +336,7 @@
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>
</dependencies>
</profile>
@@ -53,6 +53,7 @@
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>
</dependencies>
</profile>

0 comments on commit e256d22

Please sign in to comment.