美文网首页
java中关于maven的配置settings.xml

java中关于maven的配置settings.xml

作者: Mracale | 来源:发表于2022-07-01 10:32 被阅读0次

    apache-maven-3.5.4\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">
      
      <pluginGroups>
    
      </pluginGroups>
    
      <proxies>
    
      </proxies>
    
      <servers>
        
      </servers>
    
      <localRepository>C:\maven-repository</localRepository>
      <mirrors>
        <mirror> 
          <id>alimaven</id> 
          <mirrorOf>central</mirrorOf> 
          <name>aliyun maven</name> 
          <url>http://maven.aliyun.com/nexus/content/groups/public/</url> 
        </mirror>
      </mirrors>
    
      <profiles>
        <id>jdk-1.8</id> 
        <activation> 
          <activeByDefault>true</activeByDefault> 
          <jdk>1.8</jdk> 
        </activation> 
        <properties> 
          <maven.compiler.source>1.8</maven.compiler.source> 
          <maven.compiler.target>1.8</maven.compiler.target> 
          <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion> 
        </properties>
      </profiles>
    
    </settings>
    
    

    相关文章

      网友评论

          本文标题:java中关于maven的配置settings.xml

          本文链接:https://www.haomeiwen.com/subject/blkcbrtx.html