mirror of https://github.com/apache/maven.git
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:
parent
1d10a62086
commit
12b7abf394
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue