Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26954

clone.py fails to clone addons-core in 10.10- from 11.1+ checkout

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 11.1-SNAPSHOT
    • Fix Version/s: None
    • Component/s: Dev Tools

      Description

      Cloning does not work with multiple addons folders (i.e. addons, addons-core).

      This leads to issues during the build:

      $ git clone https://github.com/nuxeo/nuxeo.git
      $ cd nuxeo
      $ ./clone.py release-9.10-HF28
      $ mvn install -DskipTests -Paddons,distrib
      [INFO] Scanning for projects...
      [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      [ERROR] Child module /export/data/rlgavli/dev/nuxeo/nuxeo-build/nuxeo/addons-core/nuxeo-core-storage-marklogic of /export/data/rlgavli/dev/nuxeo/nuxeo-build/nuxeo/addons-core/pom.xml does not exist @ 
       @ 
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]   
      [ERROR]   The project org.nuxeo:nuxeo-addons-core-parent:9.10-HF28 (/export/data/rlgavli/dev/nuxeo/nuxeo-build/nuxeo/addons-core/pom.xml) has 1 error
      [ERROR]     Child module /export/data/rlgavli/dev/nuxeo/nuxeo-build/nuxeo/addons-core/nuxeo-core-storage-marklogic of /export/data/rlgavli/dev/nuxeo/nuxeo-build/nuxeo/addons-core/pom.xml does not exist
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
      

      This is due to the script not cloning the addons inside the addons-core folder (i.e. marklogic).

      Workaround: start twice the script. For example:

      python clone.py release-9.10-HF28 -a
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ffischer Frantz Fischer
                Reporter:
                ffischer Frantz Fischer
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 30 minutes
                  2h 30m