Maven Nexus人工制品上传失败

Maven Nexus人工制品上传失败,maven,nexus,maven-deploy-plugin,Maven,Nexus,Maven Deploy Plugin,使用maven deploy命令,我尝试在Nexus存储库(Nexus版本:Nexus-professional-2.13.0-01)中上传大小为440mb的人工制品。Maven版本是3.5.2。在settings.xml中配置了我的代理服务器详细信息 mvn -e -X deploy:deploy-file -DgroupId=de.test.oca -DartifactId=wildfly-image -Dversion=0.0.1-SNAPSHOT -Dpackaging=tar.gz

使用maven deploy命令,我尝试在Nexus存储库(Nexus版本:Nexus-professional-2.13.0-01)中上传大小为440mb的人工制品。Maven版本是3.5.2。在settings.xml中配置了我的代理服务器详细信息

mvn -e -X deploy:deploy-file -DgroupId=de.test.oca -DartifactId=wildfly-image  -Dversion=0.0.1-SNAPSHOT -Dpackaging=tar.gz -Dfile=oca-wildfly-image-0.0.1-snapshot.tar.gz -DrepositoryId=oca-snapshots -Durl=http://xx.xx.xx:8081/nexus/content/repositories/oca-snapshots 
错误消息:

Uploaded to oca-snapshots: http://xx.xx.xx:8081/nexus/content/repositories/oca-snapshots/de/test/oca/wildfly-image/0.0.1-SNAPSHOT/wildfly-image-0.0.1-20180117.094348-1.pom (446 B at 1.2 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:07 min
[INFO] Finished at: 2018-01-17T10:50:54+01:00
[INFO] Final Memory: 10M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file (default-cli) on project standalone-pom: Failed to deploy artifacts: Could not transfer artifact de.test.oca:wildfly-image:tar.gz:0.0.1-20180117.094348-1 from/to oca-snapshots (http://xx.xx.xx:8081/nexus/content/repositories/oca-snapshots): Connection reset -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file (default-cli) on project standalone-pom: Failed to deploy artifacts: Could not transfer artifact de.test.oca:wildfly-image:tar.gz:0.0.1-20180117.094348-1 from/to oca-snapshots (http://xx.xx.xx:8081/nexus/content/repositories/oca-snapshots): Connection reset
在NexusGUI中,我可以找到上传的tar.gz文件。当我检查nexus.log时,我发现错误消息为

jvm 1    | 2018-01-17 14:27:17,706+0100 INFO  [qtp1148931253-265705] admin com.sonatype.nexus.plugins.outreach.internal.outreach.SonatypeOutreach - Could not download page bundle
jvm 1    | org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection from pool
jvm 1    | 2018-01-17 14:27:47,710+0100 INFO  [qtp1148931253-265708] admin com.sonatype.nexus.plugins.outreach.internal.outreach.SonatypeOutreach - Could not download page bundle
jvm 1    | org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection from pool
我试着上传另一个文件大小为300MB的文件,效果很好


Nexus中是否有文件大小限制。

Nexus本身没有文件大小限制。但是,应用程序可能存在超时问题、性能问题或底层操作系统和文件系统的其他问题