maven settings.xml cloudwise hosts

<?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>/opt/repository</localRepository>
  <pluginGroups></pluginGroups>
  <proxies></proxies>
  <servers>
    <server>
      <id>cloudwise</id>
      <username>judy.zhang</username>
      <password>judy.zhang</password>
    </server>
    <server>
      <id>releases</id>
      <username>judy.zhang</username>
      <password>judy.zhang</password>
    </server>
    <server>
      <id>internal</id>
      <username>developer</username>
      <password>yunzhihui123</password>
    </server>
  </servers>

  <mirrors></mirrors>

  <profiles>       

    <profile>
        <id>spring-proxy</id>
        <repositories>
            <repository>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
                <id>spring-libs-milestone</id>
                <name>spring libs milestone</name>
                <url>http://repo.spring.io/libs-milestone/</url>
            </repository>
            <repository>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
                <id>spring-libs-release</id>
                <name>spring libs release</name>
                <url>http://repo.spring.io/libs-release/</url>
            </repository>
            <repository>
                <snapshots/>
                <id>spring-libs-snapshot</id>
                <name>spring libs snapshot</name>
                <url>https://repo.spring.io/libs-snapshot</url>
            </repository>
        </repositories>
        <pluginRepositories>
            <pluginRepository>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
                <id>spring plugins milestone</id>
                <name>spring-plugins-milestone</name>
                <url>https://repo.spring.io/plugins-milestone</url>
            </pluginRepository>
            <pluginRepository>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
                <id>spring plugins release</id>
                <name>spring-plugins-release</name>
                <url>https://repo.spring.io/plugins-release</url>
            </pluginRepository>
            <pluginRepository>
                <snapshots/>
                <id>spring-plugins-snapshot</id>
                <name>spring plugins snapshot</name>
                <url>https://repo.spring.io/plugins-snapshot</url>
            </pluginRepository>
        </pluginRepositories>
    </profile>

    <profile>
      <id>apache-proxy</id>
      <repositories>
        <repository>
          <id>apache-releases</id>
          <name>Apache Development Releases Repository</name>
          <url>https://repository.apache.org/content/repositories/releases/</url>
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
        <repository>
          <id>apache-snapshots</id>
          <name>Apache Development Snapshot Repository</name>
          <url>https://repository.apache.org/content/repositories/snapshots/</url>
          <releases>
            <enabled>false</enabled>
          </releases>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
        </repository>
      </repositories>
    </profile>

    <profile>
      <id>maven-proxy</id>
      <repositories>
        <repository>
          <id>mvnrepository</id>
          <url>https://mvnrepository.com/</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
            <id>mvnrepository</id>
            <url>https://mvnrepository.com/</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>

    <profile>
      <id>aliyun-proxy</id>
      <repositories>            
        <repository>
            <id>aliyun-public</id>
            <name>aliyun public</name>
            <url>https://maven.aliyun.com/repository/public</url>
        </repository>

        <repository>
            <id>aliyun-spring</id>
            <name>aliyun spring</name>
            <url>https://maven.aliyun.com/repository/spring</url>
        </repository>

        <repository>
          <id>aliyun-google</id>
          <name>阿里云代理的google库</name>
          <url>https://maven.aliyun.com/repository/google</url>
        </repository>

        <repository>
          <id>aliyun-apache-snapshots</id>
          <name>阿里云代理的apache snapshots库</name>
          <url>https://maven.aliyun.com/repository/apache-snapshots</url>
          <releases>
            <enabled>false</enabled>
          </releases>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
        </repository>

        <repository>
          <id>aliyun-grails-core</id>
          <name>阿里云代理的grails-core库</name>
          <url>https://maven.aliyun.com/repository/grails-core</url>
        </repository>

        <repository>
          <id>aliyun-gradle-plugin</id>
          <name>阿里云代理的gradle-plugin库</name>
          <url>https://maven.aliyun.com/repository/gradle-plugin</url>
        </repository>
      </repositories>

      <pluginRepositories>
        <pluginRepository>
            <id>aliyun-public</id>
            <name>aliyun public</name>
            <url>https://maven.aliyun.com/repository/public</url>
        </pluginRepository>
        <pluginRepository>
            <id>aliyun-spring-plugin</id>
            <name>aliyun spring plugin</name>
            <url>hhttps://maven.aliyun.com/repository/spring-plugin</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>

    <profile>
      <id>osgeo-proxy</id>
      <repositories>
        <repository>
          <id>osgeo</id>
          <name>OSGeo Release Repository</name>
          <url>https://repo.osgeo.org/repository/release/</url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
          <releases>
            <enabled>true</enabled>
          </releases>
        </repository>
        <repository>
          <id>osgeo-snapshot</id>
          <name>OSGeo Snapshot Repository</name>
          <url>https://repo.osgeo.org/repository/snapshot/</url>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
          <releases>
            <enabled>false</enabled>
          </releases>
        </repository>
      </repositories>
    </profile>

    <profile>
      <id>cloudwise-proxy</id>
      <repositories>
        <repository>
          <id>cloudwise</id>
          <url>http://repo.yunzhihui.com:18081/content/groups/public/</url>
        </repository>
      </repositories>
    </profile>

  </profiles>

  <activeProfiles>
    <activeProfile>spring-proxy</activeProfile>
    <activeProfile>apache-proxy</activeProfile>
    <activeProfile>maven-proxy</activeProfile>
    <activeProfile>aliyun-proxy</activeProfile>
    <activeProfile>osgeo-proxy</activeProfile>
    <activeProfile>cloudwise-proxy</activeProfile>
  </activeProfiles>
</settings>

hosts

##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1    localhost
127.0.0.1 www.sublimetext.com
127.0.0.1 license.sublimehq.com
255.255.255.255    broadcasthost
::1             localhost
10.2.3.249 rdep.cloudwise.com
120.92.93.79 jira.cloudwise.com
120.92.93.79 team.cloudwise.com
120.92.93.79 code.cloudwise.com
120.92.101.233 git.cloudwise.com
120.92.15.210 git.toushibao.com
10.0.2.97 repo.yunzhihui.com
# Added by Docker Desktop
# To allow the same kube context to work on the host and the container:
127.0.0.1 kubernetes.docker.internal
# 测试环境、研发环境服务器IP与域名映射
219.148.158.38 portal.toushibao.com portal-a.toushibao.com
219.148.158.38 repo.yunzhihui.com
120.92.101.233 git.cloudwise.com
120.92.45.128 chandao.tianjishuju.com 
192.168.4.130 master master.centos.com 
192.168.4.129 slave1 slave1.centos.com 
192.168.4.131 slave2 slave2.centos.com 
192.168.4.132 slave3 slave3.centos.com 
192.168.124.235 lbjkuat.liby.com.cn screen.liby.com.cn 
127.0.0.1 activate.navicat.com 
10.0.3.120 photon-machine 
192.168.128.201 lbjk.liby.com.cn 
120.92.45.128 wiki.tianjishuju.com chandao.tianjishuju.com  git.tianjishuju.com 
10.0.3.160 portal-local-c.toushibao.com 
192.168.20.18 Screen-JAVA 
10.2.2.220 hadoop-slave 
10.2.2.221 hadoop-master 
10.0.2.160 postgresql-101 
10.0.3.181 postgresql-102 
10.2.2.52 zookeeper-101 
10.2.2.53 zookeeper-102 
10.2.2.54 zookeeper-103 
10.0.1.129 hadoop-101 
10.0.2.159 hadoop-102 
10.0.3.174 hadoop-103 
10.2.2.55 kafka-101 
10.2.2.56 kafka-102 
10.2.2.57 kafka-103 
10.0.1.128 mysql-101 
10.0.3.117 clickhouse-101 
10.0.7.119 clickhouse-102 
10.0.7.133 clickhouse-103 
10.0.3.165 clickhouse-104 
10.2.3.39 hd1 
10.2.3.40 hd2 
10.2.3.41 hd3
# End of section

 

上一篇:CentOS7.6 同步时间ntpdate


下一篇:SpringBoot