From 9daca3008f9264541a733586467a788199fdc78c Mon Sep 17 00:00:00 2001 From: Mathieu Carbou Date: Sun, 19 Sep 2021 19:21:06 +0200 Subject: [PATCH] Close #26 --- .../maven/plugin/license/HeaderSection.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/license-maven-plugin/src/main/java/com/mycila/maven/plugin/license/HeaderSection.java b/license-maven-plugin/src/main/java/com/mycila/maven/plugin/license/HeaderSection.java index ae15b88ae..5510dddb1 100755 --- a/license-maven-plugin/src/main/java/com/mycila/maven/plugin/license/HeaderSection.java +++ b/license-maven-plugin/src/main/java/com/mycila/maven/plugin/license/HeaderSection.java @@ -19,12 +19,27 @@ public class HeaderSection { + /** + * The name of this section to match. Example: + *

+ * {@code COPYRIGHT_SECTION} + */ @Parameter String key; + /** + * The default value that will be used. Example: + *

+ * {@code Copyright (C) 2011 http://code.google.com/p/maven-license-plugin/} + */ @Parameter String defaultValue; + /** + * The pattern to use to match this section in the header. Example: + *

+ * {@code Copyright \(C\) \d{4} .*} + */ @Parameter String ensureMatch;