diff --git a/maven-plugin-plugin/src/it/java-basic-annotations/pom.xml b/maven-plugin-plugin/src/it/java-basic-annotations/pom.xml index 70868c9a4..472fee107 100644 --- a/maven-plugin-plugin/src/it/java-basic-annotations/pom.xml +++ b/maven-plugin-plugin/src/it/java-basic-annotations/pom.xml @@ -82,6 +82,8 @@ under the License. true prefix + auto + auto diff --git a/maven-plugin-plugin/src/it/v4api/pom.xml b/maven-plugin-plugin/src/it/v4api/pom.xml index ed3dd8a4c..078f2627a 100644 --- a/maven-plugin-plugin/src/it/v4api/pom.xml +++ b/maven-plugin-plugin/src/it/v4api/pom.xml @@ -66,6 +66,8 @@ under the License. @project.version@ prefix + auto + auto diff --git a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/DescriptorGeneratorMojo.java b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/DescriptorGeneratorMojo.java index 862edeaec..c0764a468 100644 --- a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/DescriptorGeneratorMojo.java +++ b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/DescriptorGeneratorMojo.java @@ -233,11 +233,12 @@ public class DescriptorGeneratorMojo extends AbstractGeneratorMojo { * form for {@code "[1.8,)"}, i.e. denotes the minimum version required. *
  • {@code "auto"} to determine the minimum Java version from the binary class version being generated during * compilation (determined by the extractor).
  • + *
  • By default is not set.
  • * * * @since 3.8.0 */ - @Parameter(defaultValue = VALUE_AUTO) + @Parameter String requiredJavaVersion; /** @@ -250,13 +251,14 @@ public class DescriptorGeneratorMojo extends AbstractGeneratorMojo { * form for {@code "[2.2.1,)"}, i.e. denotes the minimum version required. *
  • {@code "auto"} to determine the minimum Maven version from the POM's Maven prerequisite, or if not set the * referenced Maven Plugin API version.
  • + *
  • By default is not set.
  • * * This value takes precedence over the * POM's Maven prerequisite in Maven 4. * * @since 3.8.0 */ - @Parameter(defaultValue = VALUE_AUTO) + @Parameter String requiredMavenVersion; /** diff --git a/maven-plugin-report-plugin/src/it/plugin-report-annotations/pom.xml b/maven-plugin-report-plugin/src/it/plugin-report-annotations/pom.xml index 864caed1f..dca910e4e 100644 --- a/maven-plugin-report-plugin/src/it/plugin-report-annotations/pom.xml +++ b/maven-plugin-report-plugin/src/it/plugin-report-annotations/pom.xml @@ -91,6 +91,8 @@ under the License. true prefix + auto + auto diff --git a/maven-plugin-report-plugin/src/it/plugin-report/pom.xml b/maven-plugin-report-plugin/src/it/plugin-report/pom.xml index ae23b4892..0f8ff532c 100644 --- a/maven-plugin-report-plugin/src/it/plugin-report/pom.xml +++ b/maven-plugin-report-plugin/src/it/plugin-report/pom.xml @@ -87,6 +87,8 @@ under the License. @project.version@ prefix + auto + auto