set_mvn_repos: Set/Append Maven Artifact Repositories

Description Usage Arguments Details

View source: R/configure.R

Description

set_mvn_repos will overwrite any existing repos and add_mvn_repos will append/prepend to existing.

Usage

1
2
3
set_mvn_repos(repos)

add_mvn_repos(repos, prepend = FALSE)

Arguments

repos

Character vector. Should be maven repo URLs

prepend

Logical. If TRUE the new paths will come before the old.

Details

These repositories are only used by the dependency:get maven plugin, so they will be used when calling get_dependencies but not when calling build_classpath (which uses the dependency:build-classpath maven plugin under the hood). To set repositories for building classpaths it is necessary to update the maven settings.xml file. This is typically found in ~/.m2/settings.xml.


mitre/mvndeps documentation built on Feb. 18, 2020, 6:13 p.m.