Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-816

Can't bootstrap or checkout project with child module

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 1.9.4
    • Fix Version/s: 1.9.5
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:

      Description

      I don't know if it's a maven or a scm plugin issue.
      But, when we try to bootstrap or checkout a project using its single pom description, Maven fail complaining about missing child modules. Which is annoying since retrieving child modules is just why we try to boostrap the project...
      steps to reproduce :
      1- lets say we get a pom file from nexus :
      mvn dependency:copy -Dartifact=my.organisation:sample-pack:1.0.0.0:pom -DoutputDirectory=.

      The retrieved pom file contains scm information and some sub-modules declaration

      2- try to scm:bootstrap or scm:checkout it with maven :
      mvn scm:bootstrap -Dusername=<username> -Dpassword=<password> -f sample-pack-1.0.0.0.pom

      fail with maven error :
      [ERROR] Child module /path/to/some/where/./moduleb of /path/to/some/where/sample-pack-1.0.0.0.pom does not exist
      [ERROR] Child module /path/to/some/where/./sample of /path/to/some/where/sample-pack-1.0.0.0.pom does not exist
      [ERROR] Child module /path/to/some/where/./modulea of /path/to/some/where/sample-pack-1.0.0.0.pom does not exist

        Attachments

          Activity

            People

            • Assignee:
              rfscholte Robert Scholte
              Reporter:
              fbonin franck bonin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: