Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-538

Deploy through Nexus instead of using SCP

    XMLWordPrintable

Details

    • 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.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: