Skip to content

Conversation

@cstamas
Copy link
Member

@cstamas cstamas commented Jan 27, 2026

Revert partially (connector only) commit:
09c3fa9

Fixes #1737

Revert partially (connector only) commit:
09c3fa9

Fixes apache#1737
@cstamas cstamas self-assigned this Jan 27, 2026
@cstamas cstamas added the enhancement New feature or request label Jan 27, 2026
@cstamas cstamas added this to the 2.0.15 milestone Jan 27, 2026
Copy link
Member

@kwin kwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good. But deserves an clarification in the documentation of https://maven.apache.org/resolver/configuration.html for aether.connector.basic.parallelPut.

@cstamas cstamas marked this pull request as ready for review January 27, 2026 15:34
| `"aether.conflictResolver.versionSelector.selectionStrategy"` | `String` | The name of the version selection strategy to use in conflict resolution: "nearest" (default) or "highest". | `"nearest"` | 2.0.11 | No | Session Configuration |
| `"aether.connector.basic.downstreamThreads"` | `Integer` | Number of threads in basic connector for downloading. | `5` | 2.0.0 | Yes | Session Configuration |
| `"aether.connector.basic.parallelPut"` | `Boolean` | Enables or disables parallel PUT processing (parallel deploys) on basic connector globally or per remote repository. When disabled, connector behaves exactly as in Maven 3.8.x did: GETs are parallel while PUTs are sequential. | `true` | 1.9.5 | Yes | Session Configuration |
| `"aether.connector.basic.parallelPut"` | `Boolean` | Enables or disables parallel PUT processing (parallel deploys) on basic connector globally or per remote repository. When disabled, connector behaves exactly as in Maven 3.8.x did: GETs are parallel while PUTs are sequential. When enabled, connector will issue first PUT sequentially and the rest of PUTs in parallel. | `true` | 1.9.5 | Yes | Session Configuration |
Copy link
Member

@kwin kwin Jan 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| `"aether.connector.basic.parallelPut"` | `Boolean` | Enables or disables parallel PUT processing (parallel deploys) on basic connector globally or per remote repository. When disabled, connector behaves exactly as in Maven 3.8.x did: GETs are parallel while PUTs are sequential. When enabled, connector will issue first PUT sequentially and the rest of PUTs in parallel. | `true` | 1.9.5 | Yes | Session Configuration |
| `"aether.connector.basic.parallelPut"` | `Boolean` | Enables or disables parallel PUT processing (parallel deploys) on basic connector globally or per remote repository. When disabled, connector behaves exactly as in Maven 3.8.x did: GETs are parallel while PUTs are sequential. When enabled, connector will issue first PUT individually and only once completed the rest of PUTs in parallel. This is to make sure that receiving repository managers will be able to correctly prepare things like staging repos with the first request and associate the subsequent parallel ones to the first one. | `true` | 1.9.5 | Yes | Session Configuration |

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kwin this is generated markdown from Javadoc (and we did not know better than to check in generated file). The source is in Javadoc of this file:
https://github.com/apache/maven-resolver/pull/1765/changes#diff-53426dfed2b513628c93a211ce19725fb3fc8512f02e2ac2f2a093d871481ef2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider changing aether.connector.basic.parallelPut feature

2 participants