Skip to content

Commit

Permalink
feat: use libraries-bom for samples (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephaniewang526 committed Dec 17, 2019
1 parent 0a5b137 commit f519da2
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions samples/pom.xml
Expand Up @@ -36,12 +36,25 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<!-- [START bigquery_java_dependencies] -->
<!-- Using libraries-bom to manage versions.
See https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>3.0.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<!-- [START bigquery_java_dependencies] -->
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-bigquery</artifactId>
<version>1.102.0</version>
</dependency>
<!-- [END bigquery_java_dependencies] -->
<dependency>
Expand Down

0 comments on commit f519da2

Please sign in to comment.