maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From htesgaard <helge.tesga...@gmail.com>
Subject Re: MNG-4706 - aether.connector.basic.threads & aether.connector.resumeDownloads
Date Thu, 14 Dec 2017 09:37:37 GMT
-Daether.connector.resumeDownloads=false or
-Daether.connector.resumeDownloads.<REPO_ID>=false 
disables resume of partial downloads from a maven repo. It seams like Nexus
in some cases/configuration does not support the continue feature. 

There is another property -Daether.connector.resumeThreshold=<filesize in
bytes> that defines how big files must be in bytes, before the feature is
enabled. 

For implementation details see the code here: 
https://github.com/apache/maven-resolver/blob/master/maven-resolver-connector-basic/src/main/java/org/eclipse/aether/connector/basic/BasicRepositoryConnector.java

https://github.com/eclipse/aether-core/blob/master/aether-connector-basic/src/main/java/org/eclipse/aether/connector/basic/PartialFile.java

Here is an example of a problem related to nexus and how
-Daether.connector.resumeDownloads=false solves the issue: 
https://issues.apache.org/jira/browse/MRESOLVER-25

-Daether.connector.basic.threads=1 specifies how many threads are used for
downloading dependencies in parallel. The default on the code referenced
above is 5.



--
Sent from: http://maven.40175.n5.nabble.com/Maven-Users-f40176.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message