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

scm plugin does not respect maven aggregation specifications

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 1.4
    • None
    • maven-plugin
    • None

    Description

      Good morning,

      According to http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Aggregation documentation, "the parent project now knows its modules, and if a Maven command is invoked against the parent project, that Maven command will then be executed to the parent's modules as well".

      But it doesn't work for maven-scm-plugin.

      Consider you have this kind of project

      myProject
       |-- my-module
       |   `-- pom.xml
       `-- pom.xml
      

      And you have set a "project.scm.connection" xml element in each pom.xml file.

      if you run scm:checkout goal in parent project (myProject in above example), il will not run this goal in module (my-module in above example) but only in parent project.

      Kind Regards,
      Thomas.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tcazali Thomas Cazali
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: