Skip to contents

Maven Library (Scala)

Usage

lib_maven(coordinates, repo = NULL, exclusions = NULL)

Arguments

coordinates

Gradle-style Maven coordinates. For example: org.jsoup:jsoup:1.7.2.

repo

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

exclusions

List of dependencies to exclude. For example: list("slf4j:slf4j", "*:hadoop-client"). Maven dependency exclusions.

See also

libraries()

Other Library Objects: lib_cran(), lib_egg(), lib_jar(), lib_pypi(), lib_whl(), libraries()