Using the CDS 3 Powered by Apache Spark Maven Repository
If you want to build applications or tools for use with CDS Powered by Apache Spark, and you are using Maven or Ivy for dependency management, you can pull the CDS artifacts from the Cloudera Maven repository. The repository is available at https://archive.cloudera.com/p/spark3/2.99.7110.0/maven-repository/.
The following is a sample POM (pom.xml
) file:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <repositories> <repository> <id>cloudera</id> <url>https://archive.cloudera.com/p/spark3/2.99.7110.0/maven-repository/</url> </repository> </repositories> </project>
To specify credentials to access the repository, add or modify the
servers
section in the Maven
settings.xml
file as follows:
<servers> <server> <id>cloudera</id> <username>username</username> <password>password</password> </server>
If you do not know your username or password, contact your Cloudera account representative.