Maven
On this page
This plugin provides the Maven repository as accessor to nitto.
To enable this plugin, put plugin "maven"
at the top of your buildfile.
The maven plugin was one of the first; it's still needs a major overhaul!
Hash validation of downloaded dependencies is currently not implemented!
Use maven dependencies
To use maven dependencies you first need to also use the java plugin. Then simply use the accessor:
mvn://<groupId>:<artifactId>:(<version>|latest)
Commands
The maven plugin also adds the maven
top-level (file) command. It purpose is to add additional maven repositories or the maven central one:
# Adds maven central to the list of available maven repositories: https://repo1.maven.org/maven2
maven central
# Adds an user defined maven repository
maven repo "https://some.maven.repo/path"
repo
Arguments | |||
---|---|---|---|
# | Name | Type | Info |
0 |
repo
|
sym
|
Needs to be the symbol "repo". |
1 |
url
|
str
|
The repositories url. Expanded?: ❌ |