Description Usage Arguments Details
set_mvn_repos will overwrite any existing repos and
add_mvn_repos will append/prepend to existing.
1 2 3 | set_mvn_repos(repos)
add_mvn_repos(repos, prepend = FALSE)
|
repos |
Character vector. Should be maven repo URLs |
prepend |
Logical. If |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.