Use maven idea carried deploy operation failed error:
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project proengine-db-sdk:
Failed to deploy artifacts: Could not transfer artifact com:-proengine-db-sdk:jar:1.1.9-20191115.105829-3
from/to snapshots (http://XXX:8081/nexus/content/repositories/snapshots):
Failed to transfer file http://nexus.dmall.com:8081/nexus/content/repositories/snapshots/com/-proengine-db-sdk/1.1.9-SNAPSHOT/proengine-db-sdk-1.1.9-20191115.105829-3.jar with status code 401
Solution:
Mvn command directly to package, to be packaged successfully
mvn clean package deploy