mirror of
https://github.com/apache/maven.git
synced 2025-02-10 03:56:01 +00:00
[MNG-2318] - resolution of parent pom.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@767640 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b401496dca
commit
034562a96f
@ -716,7 +716,7 @@ private List<DomainModel> getDomainModelParentsFromLocalPath( PomClassicDomainMo
|
||||
{
|
||||
if ( isParentLocal( parentDomainModel.getRelativePathOfParent(), parentFile.getParentFile() ) )
|
||||
{
|
||||
domainModels.addAll( getDomainModelParentsFromLocalPath( parentDomainModel, localRepository, remoteRepositories, topProject.getFile(), projectBuilderConfiguration ) );
|
||||
domainModels.addAll( getDomainModelParentsFromLocalPath( parentDomainModel, localRepository, remoteRepositories, topProject.getFile().getParentFile(), projectBuilderConfiguration ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1410,14 +1410,7 @@ public void testDistributionManagement()
|
||||
PomTestWrapper pom = this.buildPom( "distribution-management");
|
||||
assertEquals("legacy", pom.getValue( "distributionManagement/repository/layout" ));
|
||||
}
|
||||
/*
|
||||
public void testRelativePath()
|
||||
throws Exception
|
||||
{
|
||||
PomTestWrapper pom = this.buildPom( "relative-path/C");
|
||||
System.out.println(pom.getDomainModel().asString());
|
||||
}
|
||||
*/
|
||||
|
||||
private void assertPathSuffixEquals( String expected, Object actual )
|
||||
{
|
||||
String a = actual.toString();
|
||||
|
Loading…
x
Reference in New Issue
Block a user