This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-apache-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new 62692ce  Disable parallel PUT on release
62692ce is described below

commit 62692ce0911d8f3c63b0438fb0bf7125ec937c84
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Thu Jan 8 19:22:35 2026 +0100

    Disable parallel PUT on release
    
    Such Nexus has a concurrency bug, parallel PUT cause to create many staging 
repositories
    so disable on release
---
 docs/src/site/apt/index.apt.vm | 4 ++++
 pom.xml                        | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/docs/src/site/apt/index.apt.vm b/docs/src/site/apt/index.apt.vm
index f8891f0..0eabf80 100644
--- a/docs/src/site/apt/index.apt.vm
+++ b/docs/src/site/apt/index.apt.vm
@@ -86,6 +86,10 @@ Apache Software Foundation Parent POM
 
     []
 
+  ** <<releaseParallelPut>>: When doing a release, this property controls 
whether artifacts are uploaded in parallel (true) or sequentially (false).
+
+    Due to Nexus bug with parallel staging creation default is <<false>>.
+
  * <<pluginManagement>>: The plugin management section specifies versions
     of a list of plugins. See the {{{./plugin-management.html}Plugin 
Management report}} for
     the complete list with versions. 
diff --git a/pom.xml b/pom.xml
index 2ec6393..7fbfefe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -104,6 +104,8 @@ under the License.
     <surefire.version>3.5.4</surefire.version>
     <assembly.tarLongFileMode>posix</assembly.tarLongFileMode>
 
+    <releaseParallelPut>false</releaseParallelPut>
+
     
<project.build.outputTimestamp>2026-01-03T12:11:23Z</project.build.outputTimestamp>
 
     <version.apache-rat-plugin>0.16.1</version.apache-rat-plugin>
@@ -276,6 +278,7 @@ under the License.
             <autoVersionSubmodules>true</autoVersionSubmodules>
             <goals>deploy</goals>
             <releaseProfiles>apache-release</releaseProfiles>
+            
<arguments>-Daether.connector.basic.parallelPut=${releaseParallelPut}</arguments>
           </configuration>
         </plugin>
         <!-- END SNIPPET: release-plugin-configuration -->

Reply via email to