diff --git a/maven-core/src/test/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssemblerTest.java b/maven-core/src/test/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssemblerTest.java index 8f01746645..a9f3949395 100644 --- a/maven-core/src/test/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssemblerTest.java +++ b/maven-core/src/test/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssemblerTest.java @@ -69,6 +69,8 @@ public class DefaultModelInheritanceAssemblerTest parent.setBuild( parentBuild ); Model child = new Model(); + + child.setType( "plugin" ); Build childBuild = new Build(); @@ -107,5 +109,8 @@ public class DefaultModelInheritanceAssemblerTest assertEquals( "UT resources inherited from parent should be of size 1", 1, utResources.size() ); assertEquals( "first UT resource should have dir == src/test/resources", "src/test/resources", ((Resource) utResources.get( 0 )).getDirectory() ); + + assertEquals( "plugin", child.getType() ); + assertEquals( "jar", parent.getType() ); } } \ No newline at end of file