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

Can't bootstrap or checkout project with child module

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.9.4
    • 1.9.5
    • maven-plugin
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: