settings.xml

2018-06-17  本文已影响0人  海边的蜗牛ng
<?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>F:\maven</localRepository>
    <mirrors>
        <mirror>
            <id>alimaven</id>
            <name>aliyun maven</name>
            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
            <mirrorOf>central</mirrorOf>
        </mirror>
    </mirrors>
    <profiles>
        <profile>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <repositories>
                <repository>
                    <id>mvnrepository</id>
                    <url>http://mvnrepository.com/artifact/</url>
                    <!-- <updatePolicy>always</updatePolicy> -->
                </repository>
                <repository>
                    <id>maven2</id>
                    <url>http://repo1.maven.org/maven2/</url>
                </repository>
                <repository>
                    <id>msgpack.org</id>
                    <name>MessagePack Repository for Maven</name>
                    <url>http://msgpack.org/maven2</url>
                    <!-- <updatePolicy>always</updatePolicy> -->
                </repository>
                <repository>
                    <id>releases.costs.com</id>
                    <name>Local Repository for Maven</name>
                    <url>http://192.168.2.206:8081/nexus/content/repositories/releases/</url>
                    <!-- <updatePolicy>always</updatePolicy> -->
                </repository>
                <repository>
                    <id>thirdparty.costs.com</id>
                    <name>Local Repository for Maven</name>
                    <url>http://192.168.2.206:8081/nexus/content/repositories/thirdparty/</url>
                    <!-- <updatePolicy>always</updatePolicy> -->
                </repository>
            </repositories>
            <id>artifactory</id>
        </profile>
        <profile>
            <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>
        </profile>
    </profiles>
    <activeProfiles>
        <activeProfile>artifactory</activeProfile>
    </activeProfiles>
    <servers>
        <server>
            <id>copower.com</id>
            <username>admin</username>
            <password>123456</password>
        </server>
    </servers>
</settings>
上一篇 下一篇

猜你喜欢

热点阅读