Disable parallel PUT on release#566
Conversation
Such Nexus has a concurrency bug, parallel PUT cause to create many staging repositories so disable on release
|
This looks okay. OTOH, this https://lists.apache.org/thread/8ssxkqj5tg0f2vcs4my50xwov7b6onvm would not work, repository session does not get project properties. |
|
Maybe fix should be done in resolver not here only? Other users may complain for Maven 3 behavior change |
|
This is for "urgent fix" of ASF parent, but yes, there is a resolver issue apache/maven-resolver#1737 |
It should be put in settings.xml - not project |
For nexus 2.x only staging is affected |
|
This option for no reason defers deployments with Maven < 3.9.12 (which only did the first two PUTs sequentially, all others in parallel) |
I hope will be not a big problem for ASF projects, it is only in release process. |
|
it can be also simple override by property - |
add "-Daether.connector.basic.parallelPut=false" to command line as mentioned in sonatype/nexus-public#885 / apache/maven-apache-parent#566

Such Nexus has a concurrency bug, parallel PUT cause to create many staging repositories so disable on release