Skip to content

Commit

Permalink
default value for keepCommentsInPom is false. mojohaus#269
Browse files Browse the repository at this point in the history
  • Loading branch information
ca-stefan-cordes committed Apr 11, 2022
1 parent d7aa757 commit 522b1a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/org/codehaus/mojo/flatten/FlattenMojo.java
Expand Up @@ -359,8 +359,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
Expand Down

0 comments on commit 522b1a4

Please sign in to comment.