Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.0.2
-
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
- relates to
-
MNG-3134 DefaultModelInheritence::assembleDistributionInheritence should be childPathAdjustment aware
- Closed
-
MNG-4763 SCM entry is determined wrongly when aggregating project is not a parent
- Closed
-
MNG-4878 Inheritance of URLs behaves differently for aggregated and non-aggregated child projects
- Closed
-
MNG-3848 [regression] Inheritance of project/site/scm URLs does not take child's relative location to parent into account
- Closed
-
MNG-4994 [regression] Inheritance of project/site/scm URLs does not take child's relative location to parent into account
- Closed