paascloud友情提供nexus私服

从问卷调查中显示,目前大部分人仍然不能跑起来项目,其中最主要的是两部分原因:
1. spring cloud 配置中心使用不当;
2. maven依赖的三方jar包找不到;

针对第一点详细写了spring cloud 非对称加密的配置和使用,如果不清楚翻看上一篇博客 ,为此给大家带来的不便,笔者深感抱歉,为此决定给大家提供统一免费的私服,来解决jar包找不到而项目无法运行的问题,希望每一个人都能把项目跑起来,来和笔者一起投入到paascloud的开发和维护中来,让越来越多的人和企业能快速的了解和使用paascloud,啰嗦了几句下面开始正题。

私服地址

http://nexus.paascloud.net

用户名:paascloud_develop
密码: https://github.com/paascloud

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">
  <!-- 本地Maven储存库地址,用来定义本地的Maven库的存储地址,即从Maven仓库中下载的文件的存储的位置 -->
  <localRepository>D:/Java/maven/localRepository</localRepository>
  <interactiveMode>true</interactiveMode>
  <offline>false</offline>
  <pluginGroups>
    <pluginGroup>org.mortbay.jetty</pluginGroup>
    <pluginGroup>org.jenkins-ci.tools</pluginGroup>
  </pluginGroups>

  <!--配置权限,使用默认用户-->
  <servers>
    <server>
      <id>my-lib-repo</id>
      <username>paascloud_develop</username>
      <password>https://github.com/paascloud</password>
    </server>
    <server>
      <id>my-lib-repo-3rdparty</id>
      <username>paascloud_develop</username>
      <password>https://github.com/paascloud</password>
    </server>
    <server>
      <id>paascloud-lib-rep</id>
      <username>paascloud_develop</username>
      <password>https://github.com/paascloud</password>
    </server>
  </servers>

  <mirrors>
    <mirror>
      <id>aliyun-repo</id>
      <mirrorOf>central</mirrorOf>
      <name>central mirror</name>
      <url>http://maven.aliyun.com/mvn/repository</url>
    </mirror>
    <mirror>
      <id>my-lib-repo</id>
      <mirrorOf>my-lib-repo</mirrorOf>
      <name>private mirror</name>
      <url>http://nexus.paascloud.net/content/repositories/releases/</url>
    </mirror>
    <mirror>
      <id>my-lib-repo-3rdparty</id>
      <mirrorOf>my-lib-repo-3rdparty</mirrorOf>
      <name>private mirror</name>
      <url>http://nexus.paascloud.net/content/repositories/thirdparty/</url>
    </mirror>
  </mirrors>

  <profiles>
    <profile>
      <id>liuzm</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>
      <repositories>
        <!-- 私有库地址-->
        <repository>
          <id>my-lib-repo</id>
          <url>http://nexus.paascloud.net/content/repositories/releases/</url>
          <releases>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
          </releases>
          <snapshots>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
          </snapshots>
        </repository>
        <repository>
          <id>my-lib-repo-3rdparty</id>
          <url>http://nexus.paascloud.net/content/repositories/thirdparty/</url>
          <releases>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
          </releases>
          <snapshots>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
          </snapshots>
        </repository>
      </repositories>
      <pluginRepositories>
        <!--插件库地址-->
        <pluginRepository>
          <id>my-lib-repo</id>
          <url>http://nexus.paascloud.net/content/repositories/releases/</url>
          <releases>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
          </releases>
          <snapshots>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
          </snapshots>
        </pluginRepository>
        <pluginRepository>
          <id>my-lib-repo-3rdparty</id>
          <url>http://nexus.paascloud.net/content/repositories/thirdparty/</url>
          <releases>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
          </releases>
          <snapshots>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
          </snapshots>
        </pluginRepository>
      </pluginRepositories>

    </profile>
  </profiles>
  <!-- 激活配置,指定哪些配置被激活 -->
  <activeProfiles>
    <activeProfile>liuzm</activeProfile>
  </activeProfiles>
</settings>

我的开源项目

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值