You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Debraj Manna <su...@gmail.com> on 2017/06/19 05:51:15 UTC
MNG-4706 - aether.connector.basic.threads & aether.connector.resumeDownloads
HI
Can someone point me to the documentation what does the below two options
mean as mentioned in the comment of MNG-4706
<https://issues.apache.org/jira/browse/MNG-4706>
-Daether.connector.basic.threads=1
-Daether.connector.resumeDownloads=false
Re: MNG-4706 - aether.connector.basic.threads &
aether.connector.resumeDownloads
Posted by htesgaard <he...@gmail.com>.
-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
Re: MNG-4706 - aether.connector.basic.threads &
aether.connector.resumeDownloads
Posted by htesgaard <he...@gmail.com>.
-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, 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