From b08c5bbc4e63355b6065e14eed598b168632649f Mon Sep 17 00:00:00 2001 From: Ashley <73482956+ascopes@users.noreply.github.com> Date: Tue, 19 Mar 2024 08:02:52 +0000 Subject: [PATCH] Update AbstractGenerateMojo.java defaults --- .../AbstractGenerateMojo.java | 28 +++++-------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/src/main/java/io/github/ascopes/protobufmavenplugin/AbstractGenerateMojo.java b/src/main/java/io/github/ascopes/protobufmavenplugin/AbstractGenerateMojo.java index 94f749e1..06c46547 100644 --- a/src/main/java/io/github/ascopes/protobufmavenplugin/AbstractGenerateMojo.java +++ b/src/main/java/io/github/ascopes/protobufmavenplugin/AbstractGenerateMojo.java @@ -92,11 +92,9 @@ public abstract class AbstractGenerateMojo extends AbstractMojo { * *
Leave unspecified or explicitly null/empty to use the defaults. * - *
Default: {@code null}.
- *
* @since 0.0.1
*/
- @Parameter
+ @Parameter(defaultValue = "null")
private @Nullable List If you wish to depend on a JAR containing protobuf sources, add it as a dependency
* with the {@code provided} or {@code test} scope instead.
*
- * Default: {@code null}.
- *
* @since 0.1.0
*/
- @Parameter
+ @Parameter(defaultValue = "null")
private @Nullable List Default: {@code null}.
- *
* @since 0.3.0
*/
- @Parameter
+ @Parameter(defaultValue = "null")
private @Nullable List Default: {@code null}.
- *
* @since 0.3.0
*/
- @Parameter
+ @Parameter(defaultValue = "null")
private @Nullable List Default: {@code null}.
- *
* @since 0.4.0
*/
- @Parameter
+ @Parameter(defaultValue = "null")
private @Nullable List This mechanism allows plugin vendors to implement their plugins in
* Java and just distribute platform-independent JAR instead.
*
- * Default: {@code null}.
- *
* @since 0.3.0
*/
- @Parameter
+ @Parameter(defaultValue = "null")
private @Nullable List Leave unspecified or explicitly null to use the default for the
* goal. This defaults to the Maven generated sources directory within {@code target/}.
*
- * Default: {@code null}.
- *
* @since 0.1.0
*/
- @Parameter
+ @Parameter(defaultValue = "null")
private @Nullable Path outputDirectory;
/**