mirror of https://github.com/apache/maven.git
[MNG-4472] [regression] Circular self-referential POM causes network access
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@885105 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d6e0a1b149
commit
f918716071
|
@ -70,7 +70,7 @@ public void validateRawModel( Model model, ModelBuildingRequest request, ModelPr
|
|||
if ( equals( parent.getGroupId(), model.getGroupId() )
|
||||
&& equals( parent.getArtifactId(), model.getArtifactId() ) )
|
||||
{
|
||||
addViolation( problems, Severity.ERROR, "The parent element cannot have the same ID as the project." );
|
||||
addViolation( problems, Severity.FATAL, "The parent element cannot have the same ID as the project." );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue