Skip to content

Commit fc255cd

Browse files
deps: bump hamcrest dep version and artifactId (#136)
* deps: bump hamcrest dep version and artifactId address build error: https://source.cloud.google.com/results/invocations/146b9fcc-cf53-41f1-a52e-e6ff1f857b2e/targets/cloud-devrel%2Fclient-libraries%2Fjava%2Fjava-bigquery%2Fpresubmit%2Fdependencies/log [WARNING] Used undeclared dependencies found: [WARNING] org.hamcrest:hamcrest:jar:2.2:test [WARNING] Unused declared dependencies found: [WARNING] org.hamcrest:hamcrest-core:jar:2.2:test * declaring hamcrest-core too to fix build error build error: https://source.cloud.google.com/results/invocations/47658b43-45f4-436e-baa7-7f709f5f3863/targets/cloud-devrel%2Fclient-libraries%2Fjava%2Fjava-bigquery%2Fpresubmit%2Fdependencies/log [WARNING] Used undeclared dependencies found: [WARNING] org.hamcrest:hamcrest-core:jar:1.3:test [WARNING] Unused declared dependencies found: [WARNING] org.hamcrest:hamcrest:jar:2.2:test * removing hamcrest-core, again since build error re-occurred saying it's unused https://source.cloud.google.com/results/invocations/c11a77e3-59fc-49e2-ae8b-4e10f4d968d4/targets/cloud-devrel%2Fclient-libraries%2Fjava%2Fjava-bigquery%2Fpresubmit%2Fdependencies/log [WARNING] Unused declared dependencies found: [WARNING] org.hamcrest:hamcrest-core:jar:2.2:test * move hamcrest to be above junit to fix build error * remove hamcrest-core since it's claimed as unused in build
1 parent 076cd2c commit fc255cd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

google-cloud-bigquery/pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@
8585
</dependency>
8686

8787
<!-- Test dependencies -->
88+
<dependency>
89+
<groupId>org.hamcrest</groupId>
90+
<artifactId>hamcrest</artifactId>
91+
<version>2.2</version>
92+
<scope>test</scope>
93+
</dependency>
8894
<dependency>
8995
<groupId>junit</groupId>
9096
<artifactId>junit</artifactId>
@@ -102,12 +108,6 @@
102108
<groupId>org.objenesis</groupId>
103109
<artifactId>objenesis</artifactId>
104110
</dependency>
105-
<dependency>
106-
<groupId>org.hamcrest</groupId>
107-
<artifactId>hamcrest-core</artifactId>
108-
<version>1.3</version>
109-
<scope>test</scope>
110-
</dependency>
111111
</dependencies>
112112

113113
<build>

0 commit comments

Comments
 (0)