install正常,deploy上传jar失败致使打包失败

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building pro-dao 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ pro-dao ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\puggy\common\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ pro-dao ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ pro-dao ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\puggy\common\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ pro-dao ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ pro-dao ---
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ pro-dao ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ pro-dao ---
[INFO] Installing E:\puggy\common\target\pro-dao-1.0.0.jar to C:\Users\Administrator\.m2\repository\com\xxxx\pro-dao\1.0.0\pro-dao-1.0.0.jar
[INFO] Installing E:\puggy\common\pom.xml to C:\Users\Administrator\.m2\repository\com\xxxx\pro-dao\1.0.0\pro-dao-1.0.0.pom
[INFO]
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ pro-dao ---
[INFO] Uploading: http://ip:port/nexus/content/repositories/releases/com/xxxx/pro-dao/1.0.0/pro-dao-1.0.0.jar
[INFO] Uploading: http://ip:port/nexus/content/repositories/releases/com/xxxx/pro-dao/1.0.0/pro-dao-1.0.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.030 s
[INFO] Finished at: 2018-11-23T15:30:16+08:00
[INFO] Final Memory: 17M/211M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "nexus" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project pro-dao: Failed to deploy artifacts: Could not transfer artifact com.xxxx:pro-dao:jar:1.0.0 from/to nexus-snapshots (http://ip:port/nexus/content/repositories/releases/): Failed to transfer http://ip:port/nexus/content/repositories/releases/com/xxxx/pro-dao/1.0.0/pro-dao-1.0.0.jar. Error code 500, Server Error -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

上传失败,报错误吗500,服务器出现问题,服务器磁盘空间不足导致的,需要清理服务器空间

猜你喜欢

转载自www.cnblogs.com/xiaoyao-001/p/10007957.html