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

Module SCM URL is resolved as [...]/parent/module regardless of relativePath

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0.2
    • 2.0.3
    • None
    • Maven 2.0.2
      Continuum 1.0.2 with maven-scm-*-1.0-beta-3-20060115.041342-*.jar

    Description

      Quoting Emmanuel Venisse from user list :
      Ok, it's a bug in
      http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java?rev=306518&view=markup
      in assembleScmInheritance method.
      This method append parent scm connection url and artifactId without look at relativePath.

      For detailed description see http://www.nabble.com/-m2-Multiprojects-and-inherited-SCM-URLs-t951105.html

      Project structure :
      PROJECT
      PROJECT/parent
      PROJECT/parent/pom.xml
      PROJECT/module
      PROJECT/module/pom.xml

      parent/pom.xml :
      <connection>scm:svn:svn://host/PROJECT/parent/</connection>
      <module>../module</module>

      module/pom.xml :
      <relativePath>../parent/pom.xml</relativePath>

      When I add module in Continuum, its url is resolved as :
      scm:svn:svn://host/PROJECT/parent/module

      Attachments

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              le.du.yann@gmail.com Yann Le Du
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: