-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Hi there
We have randomly occurring issues uploading artifacts to nexus
(org.eclipse.aether.deployment.DeploymentException: Failed to deploy artifacts... failed: Connect timed out.)
Since we could not identify an issue with nexus directly we want to try to adapt the aether settings to possibly narrow down the issue. The settings we would like to use are documented here:
https://maven.apache.org/components/resolver-archives/resolver-1.9.16/configuration.html
(aether.connector.connectTimeout, aether.connector.basic.parallelPut, aether.connector.http.reuseConnections seem helpful/interesting)
Setting these properties as JVM args did not help (assume: aether.connector.http.useSystemPropertie:false is the issue).
It also seems the ~/.m2/settings.xml is not used when aether is used in sbt-aether-deploy...
Is there a way to configure aether.connector settings when used in sbt-aether-deploy?