lic*_*gwu 24
是:
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>${user.home}/.m2/repository</localRepository>
<interactiveMode>true</interactiveMode>
<usePluginRegistry>false</usePluginRegistry>
<offline>false</offline>
...
</settings>
Run Code Online (Sandbox Code Playgroud)
localRepository:此值是此构建系统的本地存储库的路径.默认值为$ {user.home} /.m2/repository.此元素对主构建服务器特别有用,允许所有登录用户从公共本地存储库构建.
interactiveMode:如果Maven应尝试与用户进行交互以进行输入,则为true,否则为false.默认为true.
usePluginRegistry:如果Maven应使用$ {user.home} /.m2/plugin-registry.xml文件来管理插件版本,则为 true,默认为false.请注意,对于当前版本的Maven 2.0,不应依赖plugin-registry.xml文件.现在考虑它处于休眠状态.
offline:如果此构建系统应在脱机模式下运行,则为true,默认为false.由于网络设置或安全原因,此元素对无法连接到远程存储库的构建服务器很有用.