Improved error message when pom parent ids do not match.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@696698 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Britton Isbell 2008-09-18 16:37:59 +00:00
parent 1d10a62086
commit 12b7abf394
1 changed files with 2 additions and 1 deletions

View File

@ -308,7 +308,8 @@ public final class DefaultProjectBuilder
if ( !parentDomainModel.matchesParent( domainModel.getModel().getParent() ) )
{
logger.warn( "Parent pom ids do not match: Parent File = " + parentFile.getAbsolutePath() + ", Parent ID = "
+ parentDomainModel.getId() + ": Child ID = " + domainModel.getId() );
+ parentDomainModel.getId() + ", Child ID = " + domainModel.getId() + ", Expected Parent ID = "
+ domainModel.getModel().getParent().getId() );
}
domainModels.add( parentDomainModel );