第一步:看settings.xml的内容解释 <!-- | #用户级别,面向单个用户配置,即每个用户都可以自定义settings.xml供己方使用 | This is the configuration file for Maven. It can be specified at two levels: | 1. User Level. This settings.xml file provides configuration for a single user, | |#其中的CLI选项指的是mvn操作命令的相关参数比如:mvn -v | and is normally provided in ${user.home}/.m2/settings.xml. | NOTE: This location can be overridden with the CLI option: | #全局级别,即面向所有用户同一配置 | | -s /path/to/user/settings.xml | 2. Global Level. This