mirror of https://github.com/apache/maven.git
[MNG-3134] Use childPathAdjustment when calculating distributionManagement/site/url just like we do for url and scm/*Url.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@565777 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c08d1fa49b
commit
b1517c1421
|
@ -111,7 +111,7 @@ public class DefaultModelInheritanceAssembler
|
|||
}
|
||||
}
|
||||
|
||||
assembleDistributionInheritence( child, parent, appendPaths );
|
||||
assembleDistributionInheritence( child, parent, childPathAdjustment, appendPaths );
|
||||
|
||||
// issueManagement
|
||||
if ( child.getIssueManagement() == null )
|
||||
|
@ -402,7 +402,7 @@ public class DefaultModelInheritanceAssembler
|
|||
}
|
||||
}
|
||||
|
||||
private void assembleDistributionInheritence( Model child, Model parent, boolean appendPaths )
|
||||
private void assembleDistributionInheritence( Model child, Model parent, String childPathAdjustment, boolean appendPaths )
|
||||
{
|
||||
if ( parent.getDistributionManagement() != null )
|
||||
{
|
||||
|
@ -434,7 +434,7 @@ public class DefaultModelInheritanceAssembler
|
|||
if ( site.getUrl() != null )
|
||||
{
|
||||
site.setUrl(
|
||||
appendPath( site.getUrl(), child.getArtifactId(), null, appendPaths ) );
|
||||
appendPath( site.getUrl(), child.getArtifactId(), childPathAdjustment, appendPaths ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue