From 12b7abf3943163c4ca492a15ca07698ccbabba3e Mon Sep 17 00:00:00 2001 From: Britton Isbell Date: Thu, 18 Sep 2008 16:37:59 +0000 Subject: [PATCH] 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 --- .../maven/project/builder/impl/DefaultProjectBuilder.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maven-project/src/main/java/org/apache/maven/project/builder/impl/DefaultProjectBuilder.java b/maven-project/src/main/java/org/apache/maven/project/builder/impl/DefaultProjectBuilder.java index d32ce81157..56f35f06fc 100644 --- a/maven-project/src/main/java/org/apache/maven/project/builder/impl/DefaultProjectBuilder.java +++ b/maven-project/src/main/java/org/apache/maven/project/builder/impl/DefaultProjectBuilder.java @@ -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 );