Skip to content

Failing to build dse4-agent due to private pom files #174

@yarkhinephyo

Description

@yarkhinephyo

In the README, there is an instruction to build DSE4 agent by running ./gradlew assemble -Pdse4. However, the build fails as it is referencing some private pom files.

$ ./gradlew assemble -Pdse4 
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :agent-dse4:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':agent-dse4:compileJava'.
> Could not resolve all files for configuration ':agent-dse4:compileClasspath'.
   > Could not resolve com.datastax.dse:dse-db:6.8.23.
     Required by:
         project :agent-dse4
      > Could not resolve com.datastax.dse:dse-db:6.8.23.
         > Could not get resource 'https://repo.datastax.com/artifactory/dse/com/datastax/dse/dse-db/6.8.23/dse-db-6.8.23.pom'.
            > Could not GET 'https://repo.datastax.com/artifactory/dse/com/datastax/dse/dse-db/6.8.23/dse-db-6.8.23.pom'. Received status code 401 from server: 
      > Could not resolve com.datastax.dse:dse-db:6.8.23.
         > Could not get resource 'https://repo.aws.dsinternal.org/artifactory/datastax-releases-local/com/datastax/dse/dse-db/6.8.23/dse-db-6.8.23.pom'.
            > Could not GET 'https://repo.aws.dsinternal.org/artifactory/datastax-releases-local/com/datastax/dse/dse-db/6.8.23/dse-db-6.8.23.pom'.
               > repo.aws.dsinternal.org: nodename nor servname provided, or not known

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 10s
36 actionable tasks: 6 executed, 30 up-to-date

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