Howdy, I made a somewhat big change in the very first paragraph: this is not a Maven "bug", but the change happened in Maven revealed a "concurrency bug" in Nexus 2. It is not Maven that wrongly creates multiple staging repositories, but it is Nexus.
I think the same is worded in Maven GH issue too: https://github.com/apache/maven/issues/11634 "Due to improvements in parallel PUT method ... bugs of concurrency processing in some repository managers can be disclosed." Thanks T On Wed, Jan 28, 2026 at 3:51 PM Andrew Wetmore <[email protected]> wrote: > > I have drafted a blog post based on what I have learned. If Tamás or others > could review it, I would be very grateful > > https://docs.google.com/document/d/1eQlnCIP_HN5-4Q3kNZtMKkdPE1mi7Cq5DzpdUYBqyOY/edit?usp=drive_link > > a > > > Andrew Wetmore > Assistant VP, Marketing and Publicity, The ASF > Editor-Writer, Infra team, The ASF > > Editor, moosehousepress.com > > > On Tue, Jan 27, 2026 at 10:28 AM Andrew Wetmore <[email protected]> wrote: >> >> Very helpful. Thank you! >> >> >> Andrew Wetmore >> Assistant VP, Marketing and Publicity, The ASF >> Editor-Writer, Infra team, The ASF >> >> Editor, moosehousepress.com >> >> >> On Tue, Jan 27, 2026 at 10:27 AM Tamás Cservenák <[email protected]> wrote: >>> >>> (sent too quickly) >>> >>> Hence, it must be passed as _user property_ to the Maven instance >>> doing deploy (against staging endpoint): >>> * can be done as in ASF Parent POM (release plugin passes it to >>> invoked Maven instance performing deploy to RAO) >>> * can be done by adding `-Daether.connector.basic.parallelPut=false` >>> user property on CLI >>> * can be done by adding file in project root `.mvn/maven.config` with >>> contents `-Daether.connector.basic.parallelPut=false` (see >>> https://maven.apache.org/configure.html#mvn-maven-config-file) >>> * can be done in user ~/.m2/settings.xml by adding a property to a >>> profile that is always enabled >>> >>> Thanks >>> T >>> >>> On Tue, Jan 27, 2026 at 3:22 PM Tamás Cservenák <[email protected]> wrote: >>> > >>> > Howdy, >>> > >>> > Workaround (done in ASF Parent POM 37) is to disable parallel PUTs. >>> > See >>> > https://maven.apache.org/resolver-archives/resolver-1.9.25/configuration.html >>> > and look for the configuration key `aether.connector.basic.parallelPut`. >>> > >>> > Note: this is a resolver property, and cannot be set as POM project >>> > property! >>> > The workaround implemented in ASF Parent POM passes it to the release >>> > plugin, >>> > that _invokes_ Maven to perform release on the checkout. >>> > >>> > HTH >>> > Tamas >>> > >>> > On Tue, Jan 27, 2026 at 3:13 PM Andrew Wetmore <[email protected]> >>> > wrote: >>> > > >>> > > Hi: >>> > > >>> > > https://issues.apache.org/jira/browse/INFRA-27597 is about an issue in >>> > > Maven 3.9.1.2 causing problems with parallel uploads in a build. Infra >>> > > would like to put out an announcement about the issue and its >>> > > workaround, >>> > > and I wonder if someone can help me with the wording. >>> > > >>> > > At the moment, what I think I understand: >>> > > >>> > > -- trying to build using parallel uploads causes Maven to create >>> > > multiple >>> > > staging repos instead of a single one >>> > > -- The issue will be fixed in upcoming Maven versions >>> > > -- There is a workaround in ASF Parent POM 37 >>> > > >>> > > Can you explain to me (a mere writer) what the workaround is and how a >>> > > project release manager would deploy it? >>> > > >>> > > Thanks in advance! >>> > > >>> > > >>> > > Andrew Wetmore >>> > > Assistant VP, Marketing and Publicity, The ASF <https://apache.org> >>> > > Editor-Writer, Infra team, The ASF >>> > > >>> > > >>> > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> >>> > > Virus-free.www.avast.com >>> > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> >>> > > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
