Install library in databricks from private maven repository

Viewed 747

I'm trying to install a library from Maven in Databricks. The repository is private. I'm trying to install it using a repository like https://user:pass@host/, but it gives me 'unresolved dependency'. When I try to download it from mvn cli, then it works.

Any ideas?

1 Answers

Unfortunately, installing libraries from Maven private repositories is not support in Azure Databricks.

As per the documentation, Azure Databricks has the ability to install third-party or custom libraries from the Maven public repository and not from private maven repository.

As an alternate solution, you can upload library file in dbfs and install from there.

Related