Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Unable to locally deploy generated Java client with Maven #35

@syedashrafulla

Description

@syedashrafulla

I used the following commands:

> cd ~
> virtualenv test
> cd test
> source bin/activate
> pip install google-apis-client-generator
> curl -o discovery.json "https://monitoring.googleapis.com/\$discovery/rest?version=v3"
> generate_library --input=discovery.json --language=java --output_dir=monitoring-client-library
> mkdir repo
> cd monitoring-client-library
> mvn deploy -DaltDeploymentRepository=snapshot-repo::default::file:///$HOME/test/repo/

The error I get is
[ERROR] Failed to execute goal on project google-api-services-monitoring: Could not resolve dependencies for project com.google.apis:google-api-services-monitoring:jar:v3-rev20171115-1.22.0-SNAPSHOT: Failure to find com.google.api-client:google-api-client:jar:1.22.0-SNAPSHOT in https://oss.sonatype.org/content/repositories/snapshots was cached in the local repos

The Nexus repo manager only has 1.15-beta.

P.S. I'm new to Java and Maven so it's probable I just don't know what to modify in the generated pom.xml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions