Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4670

SCM uses artifactId in multi module builds, regardeless of the module name

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • None
    • None
    • None
    • linux, java 1.4, maven 2.0.7

    Description

      hallo

      in a multi-module build, when the changelog plugin is configured within the parent pom the location in scm is created using the artifactId. In our projects the actual modules are not named like this.

      we have:
      parentpom.xml

      • module.a.core.stuff (artifactId module-a-core-stuff)
      • module.b.core.things (artifactId module-b-core-stuff)
      • ...

      the parent pom contains the modules section referring to the modules with module.a.core.stuff (the actual folder name)

      the changelog plugin will use the artifactId to look up changes in scm, which will create a wrong path (http://localhost/trunk/module-a-core-stuff instead of http://localhost/trunk/module.a.core.stuff)

      i would like some configuration option in the parent pom to define what name shall be used (${project.artifactId} or ${project.name} for example). so the module name can be matched if it is not the same as the artifactId.

      thanks

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              werner.mueller@mimacom.ch Werner Mueller
              Votes:
              10 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: