Maven Configuration setting. xml detailed description, mavensetting. xml
<? Xml version = "1.0" encoding = "UTF-8"?> <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"> <! -- Specifies the local repository storage path. The default value is ~ /. M2/repository is $ {user. home}/. m2/repository. --> <LocalRepository> d:/. m2/repository </localRepository> <! -- Specifies whether Maven needs to interact with user input. True: interaction with the user; false: Use a reasonable default value. The default value is true. --> <InteractiveMode> true </interactiveMode> <! -- Specifies whether to use plugin-registry.xml files to manage plug-in versions. Set true to use. The default value is false. --> <UsePluginRegistry> false </usePluginRegistry> <! -- Specifies whether to run in offline mode. If it is set to true, the project is to be run in offline mode. The default value is false. --> <Offline> false </offline> <! -- Specifies the groupId list of the plug-in. The groupId of the plug-in is not specified for search. --> <PluginGroups> <! -- Specify to use the plug-in to find further group identifiers --> <pluginGroup> com. micmiu. plugins </pluginGroup> </pluginGroups> <! -- Specifies the list of proxy servers that the machine connects to the network. Unless otherwise specified (system properties or command line switch), the first proxy configured in the list will be activated for use. --> <Proxies> <! -- Configure relevant parameters of the proxy server --> <proxy> <! -- Proxy ID. default Value: default --> <id> micmiuProxy </id> <! -- Specifies whether to activate. Default Value: true --> <active> true </active> <! -- Specifies the proxy protocol. Default Value: http --> <protocol> http </protocol> <! -- Specify the username for proxy authentication --> <username> micmiu </username> <! -- Specify the password used by the proxy to authenticate the user --> <password> mypwd </password> <! -- Specify the proxy server host name -->