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

scm plugin does not respect maven aggregation specifications

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Auto Closed
    • Affects Version/s: 1.4
    • Fix Version/s: None
    • Component/s: maven-plugin
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              tcazali Thomas Cazali
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: