diff --git a/src/main/java/spoon/support/compiler/SpoonPom.java b/src/main/java/spoon/support/compiler/SpoonPom.java index 7b35617f34e..1b7693c65a1 100644 --- a/src/main/java/spoon/support/compiler/SpoonPom.java +++ b/src/main/java/spoon/support/compiler/SpoonPom.java @@ -133,7 +133,7 @@ public SpoonPom(String path, SpoonPom parent, MavenLauncher.SOURCE_TYPE sourceTy } } - public void addModule(SpoonPom module) { + private void addModule(SpoonPom module) { modules.add(module); } diff --git a/src/test/resources/maven-launcher/hierarchy/child/src/Test.java b/src/test/resources/maven-launcher/hierarchy/child/src/Test.java new file mode 100644 index 00000000000..6595d2962dd --- /dev/null +++ b/src/test/resources/maven-launcher/hierarchy/child/src/Test.java @@ -0,0 +1,5 @@ +package maven-launcher.hierarchy.child.src; + +public class Test { + +} \ No newline at end of file