Maven的conf目录下settings.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">
  
  <localRepository>E:\apache-maven-3.3.9\repolocalRepository>
  
  <interactiveMode>trueinteractiveMode>
  <offline>falseoffline>

  <pluginGroups>
  pluginGroups>

  <proxies>
  proxies>

  <servers>
  servers>

  <mirrors>
    <mirror>
      <id>alimavenid>
      <name>aliyun mavenname>
      <url>http://maven.aliyun.com/nexus/content/groups/publicurl>
      <mirrorOf>centralmirrorOf>
    mirror>
  mirrors>

  <profiles>
  profiles>
  
settings>

 

转载于:https://www.cnblogs.com/yufeng218/p/9865899.html

你可能感兴趣的:(Maven的conf目录下settings.xml的简单配置)