主题 : common等包下载不下来,,求助
级别: 童生
UID: 135089
积分:10 加为好友
威望: 0 精华: 0
主题:1 回复:6
注册时间:2020-07-04
在线时长:0
1#   发表于:2020-07-06 12:25:19  IP:114.228.*.*
com.jeecms:jeecms-common  x1.3.5
com.jeecms:jeecms-component x1.3.5  下载不下来
idea2019  jdk1.8 

parent打包报错
Could not transfer artifact com.jeecms:jeecms-core:pom:v1.3.4t from/to jeecms-nexus (http://maven.jeecms.com/repository/jeecms-public/): Failed to transfer file http://maven.jeecms.com/repository/jeecms-public/com/jeecms/jeecms-core/v1.3.4t/jeecms-core-v1.3.4t.pom with status code 502


http://maven.jeecms.com/这个地址访问502
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
2#   发表于:2020-07-06 13:31:49  IP:59.48.*.*
maven的产库改为阿里的镜像地址
每天告诉自己一次,“我真的很不错”。
级别: 童生
UID: 135089
积分:10 加为好友
威望: 0 精华: 0
主题:1 回复:6
注册时间:2020-07-04
在线时长:0
3#   发表于:2020-07-06 13:43:05  IP:114.228.*.*
回复第2楼


我settings.xml是这样的  包含了阿里的镜像地址~但还是不行
<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>D:\m2\repository</localRepository>


  <pluginGroups>
  </pluginGroups>


  <proxies>
  </proxies>


  <servers>
<server>
      <id>releases</id>
      <username>visitant</username>
      <password>jeecms!@#098</password>
    </server>
    <server>
      <id>snapshots</id>
      <username>visitant</username>
     <password>jeecms!@#098</password>
    </server>
<server>
      <id>jeecms-nexus</id>
      <username>visitant</username>
      <password>jeecms!@#098</password>
    </server>
  </servers>


  <mirrors>
<mirror>
      <id>alimaven</id>
      <mirrorOf>central</mirrorOf>  
      <name>aliyun maven</name>
      <url>http://maven.aliyun.com/nexus/content/groups/public/</url>      
    </mirror>
<mirror>
  <id>jeecms-nexus</id>
  <mirrorOf>jeecms-repo</mirrorOf>
  <name>localhost nexus</name>
  <url>http://maven.jeecms.com/repository/jeecms-public/</url>
</mirror>
  </mirrors>

  <profiles>
<profile>
      <id>dev</id>
      <repositories>
<repository>
          <id>jeecms-repo</id>
          <url>http://maven.jeecms.com/repository/jeecms-all/</url>
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
      </repositories>
    </profile>
  </profiles>

  <activeProfiles>
    <activeProfile>dev</activeProfile>
  </activeProfiles>
</settings>
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
4#   发表于:2020-07-06 13:48:17  IP:59.48.*.*
把我们的maven仓库链接注释下吧  然后换个本地的maven的jiar包存放路劲   重新拉取下jar包  在打包
每天告诉自己一次,“我真的很不错”。
级别: 童生
UID: 135089
积分:10 加为好友
威望: 0 精华: 0
主题:1 回复:6
注册时间:2020-07-04
在线时长:0
5#   发表于:2020-07-06 14:24:53  IP:114.228.*.*
打包成功 感谢
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
6#   发表于:2020-07-06 14:28:42  IP:59.48.*.*
好的
每天告诉自己一次,“我真的很不错”。
1 共1页