Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

NullPointerException originating from GoogleStorageRepository.createStorage() #73

@ashkaps

Description

@ashkaps

Error thrown by plugin:
Please configure you google cloud account by logging using gcloud and specify a default project

Reason: keyPath is null

Is there is definite way to pass the value of keyPath?
I am getting this issue in my project which is trying to download artifacts from google buckets.

I am authenticated with my GCP.
I have set value of GOOGLE_APPLICATION_CREDENTIALS correctly. Since keyPath is null code never goes to default.

I have tried providing the value of keyPath in my pom.xml like this:
<plugin> <groupId>com.gkatzioura.maven.cloud</groupId> <artifactId>google-storage-wagon</artifactId> <version>2.3</version> <executions> <execution> <id>download</id> <phase>install</phase> <configuration> <keyPath>../src/test/resources/serviceacc.json</keyPath> </configuration> <goals> <goal>gcs-download</goal> </goals> </execution> </executions> </plugin>
Plugin Version: 2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions