Skip to content

Commit

Permalink
Update AbstractGenerateMojo.java defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
ascopes authored Mar 19, 2024
1 parent 41a4175 commit b08c5bb
Showing 1 changed file with 7 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,9 @@ public abstract class AbstractGenerateMojo extends AbstractMojo {
*
* <p>Leave unspecified or explicitly null/empty to use the defaults.
*
* <p><strong>Default:</strong> {@code null}.
*
* @since 0.0.1
*/
@Parameter
@Parameter(defaultValue = "null")
private @Nullable List<Path> sourceDirectories;

/**
Expand All @@ -107,11 +105,9 @@ public abstract class AbstractGenerateMojo extends AbstractMojo {
* <p>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.
*
* <p><strong>Default:</strong> {@code null}.
*
* @since 0.1.0
*/
@Parameter
@Parameter(defaultValue = "null")
private @Nullable List<Path> additionalImportPaths;

/**
Expand All @@ -137,11 +133,9 @@ public abstract class AbstractGenerateMojo extends AbstractMojo {
* executable, or are using a more obscure system architecture, then using a
* {@code jvmMavenPlugin} may be more preferrable.
*
* <p><strong>Default:</strong> {@code null}.
*
* @since 0.3.0
*/
@Parameter
@Parameter(defaultValue = "null")
private @Nullable List<DefaultArtifactCoordinate> binaryMavenPlugins;

/**
Expand All @@ -155,11 +149,9 @@ public abstract class AbstractGenerateMojo extends AbstractMojo {
* </binaryPathPlugins>
* }</pre>
*
* <p><strong>Default:</strong> {@code null}.
*
* @since 0.3.0
*/
@Parameter
@Parameter(defaultValue = "null")
private @Nullable List<String> binaryPathPlugins;

/**
Expand All @@ -182,11 +174,9 @@ public abstract class AbstractGenerateMojo extends AbstractMojo {
* </binaryUrlPlugins>
* }</pre>
*
* <p><strong>Default:</strong> {@code null}.
*
* @since 0.4.0
*/
@Parameter
@Parameter(defaultValue = "null")
private @Nullable List<URL> binaryUrlPlugins;

/**
Expand All @@ -210,11 +200,9 @@ public abstract class AbstractGenerateMojo extends AbstractMojo {
* <p>This mechanism allows plugin vendors to implement their plugins in
* Java and just distribute platform-independent JAR instead.
*
* <p><strong>Default:</strong> {@code null}.
*
* @since 0.3.0
*/
@Parameter
@Parameter(defaultValue = "null")
private @Nullable List<DefaultDependableCoordinate> jvmMavenPlugins;

/**
Expand All @@ -223,11 +211,9 @@ public abstract class AbstractGenerateMojo extends AbstractMojo {
* <p>Leave unspecified or explicitly null to use the default for the
* goal. This defaults to the Maven generated sources directory within {@code target/}.
*
* <p><strong>Default:</strong> {@code null}.
*
* @since 0.1.0
*/
@Parameter
@Parameter(defaultValue = "null")
private @Nullable Path outputDirectory;

/**
Expand Down

0 comments on commit b08c5bb

Please sign in to comment.