Skip to content

Commit db41581

Browse files
deps: restrict -annotation deps (#402)
1 parent 69b9d84 commit db41581

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

google-cloud-bigquery/pom.xml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
<dependency>
3737
<groupId>com.google.auto.value</groupId>
3838
<artifactId>auto-value-annotations</artifactId>
39+
<scope>provided</scope>
3940
</dependency>
4041
<dependency>
4142
<groupId>com.google.http-client</groupId>
@@ -134,21 +135,4 @@
134135
</plugin>
135136
</plugins>
136137
</build>
137-
138-
<profiles>
139-
<profile>
140-
<id>java9</id>
141-
<activation>
142-
<jdk>[9,)</jdk>
143-
</activation>
144-
<dependencies>
145-
<dependency>
146-
<groupId>javax.annotation</groupId>
147-
<artifactId>javax.annotation-api</artifactId>
148-
<!-- Adding version here because flatten cannot interpret this -->
149-
<version>${javax.annotations.version}</version>
150-
</dependency>
151-
</dependencies>
152-
</profile>
153-
</profiles>
154138
</project>

pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
6464
<github.global.server>github</github.global.server>
6565
<site.installationModule>google-cloud-bigquery-parent</site.installationModule>
66-
<javax.annotations.version>1.3.2</javax.annotations.version>
6766
<google-api-services-bigquery.version>v2-rev20200429-1.30.9
6867
</google-api-services-bigquery.version>
6968
</properties>
@@ -217,5 +216,4 @@
217216
</modules>
218217
</profile>
219218
</profiles>
220-
221219
</project>

0 commit comments

Comments
 (0)