diff --git a/src/main/java/org/codehaus/mojo/flatten/FlattenMojo.java b/src/main/java/org/codehaus/mojo/flatten/FlattenMojo.java index 558a0d8f..438198fe 100644 --- a/src/main/java/org/codehaus/mojo/flatten/FlattenMojo.java +++ b/src/main/java/org/codehaus/mojo/flatten/FlattenMojo.java @@ -370,8 +370,11 @@ public class FlattenMojo /** * The core maven model readers/writers are discarding the comments of the pom.xml. * By setting keepCommentsInPom to true the current comments are moved to the flattened pom.xml. + * Default value is false (= not re-adding comments). + * + * @since 1.2.8 */ - @Parameter( property = "flatten.dependency.keepComments", required = false ) + @Parameter( property = "flatten.dependency.keepComments", required = false , defaultValue = "false") private Boolean keepCommentsInPom; @Component