Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.0.2
-
Fix Version/s: 2.0.3
-
Component/s: Inheritance and Interpolation
-
Labels:None
-
Environment:Maven 2.0.2
Continuum 1.0.2 with maven-scm-*-1.0-beta-3-20060115.041342-*.jar
-
Complexity:Intermediate
-
Number of attachments :
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
Issue Links
| This issue relates to: | ||||
| MNG-3134 | DefaultModelInheritence::assembleDistributionInheritence should be childPathAdjustment aware |
|
|
|
| MNG-4763 | SCM entry is determined wrongly when aggregating project is not a parent |
|
|
|
| MNG-4878 | Inheritance of URLs behaves differently for aggregated and non-aggregated child projects |
|
|
|
| MNG-3848 | [regression] Inheritance of project/site/scm URLs does not take child's relative location to parent into account |
|
|
|
| MNG-4994 | [regression] Inheritance of project/site/scm URLs does not take child's relative location to parent into account |
|
|
|
It's required for Continuum