Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override aether settings #85

Open
danischroeter opened this issue Oct 17, 2024 · 0 comments
Open

Override aether settings #85

danischroeter opened this issue Oct 17, 2024 · 0 comments

Comments

@danischroeter
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant