I try to deploy a maven project to azure devops artifact with secure connection, but it has BUILD FAILURE. this is a complete log file about mvn depoly:
[WARNING] Could not transfer metadata demo:maven-demo:0.1-SNAPSHOT/maven-metadata.xml from/to charisma (https://.../_packaging/.../maven/v1): Connection reset[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 1.516 s[INFO] Finished at: ...[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy) on project maven-demo: Failed to retrieve remote metadata demo:maven-demo:0.1-SNAPSHOT/maven-metadata.xml: Could not transfer metadata demo:maven-demo:0.1-SNAPSHOT/maven-metadata.xml from/to charisma (https://.../_packaging/.../maven/v1): Connection reset -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy) on project maven-demo: Failed to retrieve remote metadata demo:maven-demo:0.1-SNAPSHOT/maven-metadata.xml: Could not transfer metadata demo:maven-demo:0.1-SNAPSHOT/maven-metadata.xml from/to charisma (https://.../_packaging/.../maven/v1): Connection reset.........Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to retrieve remote metadata demo:maven-demo:0.1-SNAPSHOT/maven-metadata.xml: Could not transfer metadata demo:maven-demo:0.1-SNAPSHOT/maven-metadata.xml from/to charisma (https://.../_packaging/.../maven/v1): Connection reset.........Caused by: org.eclipse.aether.deployment.DeploymentException: Failed to retrieve remote metadata demo:maven-demo:0.1-SNAPSHOT/maven-metadata.xml: Could not transfer metadata demo:maven-demo:0.1-SNAPSHOT/maven-metadata.xml from/to charisma (https://.../_packaging/.../maven/v1): Connection reset.........Caused by: org.eclipse.aether.transfer.MetadataTransferException: Could not transfer metadata demo:maven-demo:0.1-SNAPSHOT/maven-metadata.xml from/to charisma (https://.../_packaging/.../maven/v1): Connection reset.........Caused by: java.net.SocketException: Connection reset
how can solve this problem?
i try to solve it by set some config on mvn settings and pom file, but they didn't work.