I would like to use the following function from google java-docs-samples in my code like this:
BigQueryUtils.getPages(...)
I added in pom.xml
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-bigquery</artifactId>
<version>0.5.1</version>
</dependency>
and in my code:
import com.google.cloud.bigquery.samples;
public class MyClass {
public static void method() {
BigQueryUtils.getPages(...);
}
i get this message:
The import com.google.cloud.bigquery.samples cannot be resolved
how can I import above libraries in my project?
EDIT I also tried adding this on the pom, didnt help
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>doc-samples</artifactId>
<version>1.0.0</version>
</dependency>
I get this message in the pom:
Missing artifact com.google.cloud:doc-samples:jar:1.0.0