Details
-
Task
-
Resolution: Fixed
-
Major
-
5.4.2
-
None
-
N/A
-
N/A
-
Description
Right now we're using SCP:
<repository>
<id>maven.xwiki.org</id>
<name>XWiki Maven2 Remote Repository for Releases</name>
<url>scp://maven.xwiki.org/home/maven/public_html/releases</url>
</repository>
<snapshotRepository>
<id>maven.xwiki.org</id>
<name>XWiki Maven2 Development Repository for Snapshots</name>
<url>scp://maven.xwiki.org/home/maven/public_html/snapshots</url>
</snapshotRepository>
The issue with this is if we have several agents deploying at the same time there can be contention (see https://issues.sonatype.org/browse/NEXUS-5878 for an example).
The idea is to let Nexus handle concurrency. See https://support.sonatype.com/entries/21283268-Configure-Maven-to-Deploy-to-Nexus for configuration.