无法deploy

来源:5-3 从Maven私服下载制品

Mydream_come_true

2020-09-21

谢谢老师,我还是早上问你的那位,你让我粘贴setting.xml文件。这个应该不是密码问题,如果是密码报错是401.

<?xml version="1.0" encoding="UTF-8"?>




admin
AP26D6E7uSffjcq8R7FBuRqWgq1
central


admin
AP26D6E7uSffjcq8R7FBuRqWgq1
snapshots

D:/repository



jdk-1.8

true
1.8


<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>






false

central
libs-release
http://localhost:8081/artifactory/libs-release



snapshots
libs-snapshot
http://localhost:8081/artifactory/libs-snapshot





false

central
libs-release
http://localhost:8081/artifactory/libs-release



snapshots
libs-snapshot
http://localhost:8081/artifactory/libs-snapshot


artifactory



artifactory


里面的密码我是通过artifactory中的edit profile里面粘贴出来的。
报错还是
“Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project TestArtifactory: Failed to deploy artifacts: Could not transfer artifact org.example:TestArtifactory:jar:1.0-20200921.052350-1 from/to central (http://localhost:8081/artifactory/libs-release): Connection reset by peer: socket write error

写回答

1回答

清风

2020-09-24

使用命名的密码就可以

0
0

SpringCloud+Kubernetes 微服务容器化交付实战

学习业界领先的持续交付方案

665 学习 · 109 问题

查看课程