MavenLibrary Class

Specifies a Maven library for use in a DatabricksStep pipeline step.

For an example of working with a DatabricksStep and specifying libraries, see the notebook https://aka.ms/pl-databricks.

Initialize MavenLibrary.

Inheritance
azureml._base_sdk_common.abstract_run_config_element._AbstractRunConfigElement
MavenLibrary

Constructor

MavenLibrary(coordinates=None, repo=None, exclusions=None)

Parameters

Name Description
coordinates
str

Gradle-style maven coordinates. For example: 'org.jsoup:jsoup:1.7.2'.

Default value: None
repo
str

The Maven repo to install the Maven package from. If omitted, both Maven Central Repository and Spark Packages are searched.

Default value: None
exclusions

A List of dependencies to exclude. For more information on Maven dependency exclusions, see https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html.

Default value: None