datastax / cdc-apache-cassandra

Datastax CDC for Apache Cassandra
Apache License 2.0
35 stars 21 forks source link

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

Open yarkhinephyo opened 1 year ago

yarkhinephyo commented 1 year ago

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