Skip to content

Override aether settings #85

@danischroeter

Description

@danischroeter

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions