美文网首页
Artifactory

Artifactory

作者: 金泽祺 | 来源:发表于2020-02-13 16:08 被阅读0次

配置文件

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>

谢谢阅读!

相关文章

网友评论

      本文标题:Artifactory

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