spring-boot/spring-boot-project/spring-boot-docs/src/docs/asciidoc/cli/maven-setting.adoc

17 lines
533 B
Plaintext
Raw Normal View History

2021-04-30 00:11:56 +08:00
[[cli.maven-setting]]
2022-10-20 12:53:21 +08:00
== Configuring the CLI With settings.xml
The Spring Boot CLI uses Maven Resolver, Maven's dependency resolution engine, to resolve dependencies.
The CLI makes use of the Maven configuration found in `~/.m2/settings.xml` to configure Maven Resolver.
2021-04-30 00:11:56 +08:00
The following configuration settings are honored by the CLI:
* Offline
* Mirrors
* Servers
* Proxies
* Profiles
** Activation
** Repositories
* Active profiles
See https://maven.apache.org/settings.html[Maven's settings documentation] for further information.