Artifactory

配置文件

CentOS: /usr/share/maven/conf/settings.xml

  <servers>
   <server>
     <id>bingo</id>
     <username>jenkins</username>
     <password>B$c2019Arti</password>
   </server>
  </servers>

  <mirrors>
    <mirror>
      <id>bingo</id>
      <mirrorOf>bingo</mirrorOf>
      <name>Bingo</name>
      <url>http://176.72.71.78:8081/artifactory/bingo</url>
    </mirror>
  </mirrors>

  <profiles>
    <profile>
     <repositories>
       <repository>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
            <id>fingo</id>
            <name>bingo</name>
            <url>http://176.72.71.78:8081/artifactory/bingo</url>
        </repository>
      </repositories>
      <pluginRepositories>
       <pluginRepository>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
            <id>bingo</id>
            <name>bingo</name>
            <url>http://176.72.71.78:8081/artifactory/bingo</url>
        </pluginRepository>
      </pluginRepositories>
      <id>bingo</id>
    </profile>
  </profiles>

  <activeProfiles>
    <activeProfile>bingo</activeProfile>
  </activeProfiles>

Mac: /usr/local/Cellar/maven/3.6.0/libexec/conf/settings.xml

  <servers>
   <server>
     <id>bingo</id>
     <username>kinshu</username>
     <password>FIGHT2020</password>
   </server>
  </servers>

  <mirrors>
    <mirror>
      <id>fingo</id>
      <mirrorOf>bingo</mirrorOf>
      <name>Bingo</name>
      <url>http://176.72.71.78:8081/artifactory/bingo</url>
    </mirror>
  </mirrors>

  <profiles>
   <profile>
     <repositories>
       <repository>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
            <id>fingo</id>
            <name>bingo</name>
            <url>http://176.72.71.78:8081/artifactory/bingo</url>
        </repository>
      </repositories>
      <pluginRepositories>
       <pluginRepository>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
            <id>bingo</id>
            <name>bingo</name>
            <url>http://176.72.71.78:8081/artifactory/bingo</url>
        </pluginRepository>
      </pluginRepositories>
      <id>bingo</id>
    </profile>
  </profiles>

  <activeProfiles>
    <activeProfile>bingo</activeProfile>
  </activeProfiles>

谢谢阅读!

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容