diff --git a/maven-plugin-plugin/src/it/annotation-with-inheritance-from-deps/pom.xml b/maven-plugin-plugin/src/it/annotation-with-inheritance-from-deps/pom.xml index c3d9fd3a4..7361a7b21 100644 --- a/maven-plugin-plugin/src/it/annotation-with-inheritance-from-deps/pom.xml +++ b/maven-plugin-plugin/src/it/annotation-with-inheritance-from-deps/pom.xml @@ -91,6 +91,7 @@ under the License. @project.version@ true + prefix diff --git a/maven-plugin-plugin/src/it/annotation-with-inheritance-reactor/module-mojo/pom.xml b/maven-plugin-plugin/src/it/annotation-with-inheritance-reactor/module-mojo/pom.xml index b6502d817..4d16c1444 100644 --- a/maven-plugin-plugin/src/it/annotation-with-inheritance-reactor/module-mojo/pom.xml +++ b/maven-plugin-plugin/src/it/annotation-with-inheritance-reactor/module-mojo/pom.xml @@ -47,6 +47,7 @@ under the License. @project.version@ true + prefix diff --git a/maven-plugin-plugin/src/it/annotation-with-inheritance/pom.xml b/maven-plugin-plugin/src/it/annotation-with-inheritance/pom.xml index e8a0f5853..08aa04afd 100644 --- a/maven-plugin-plugin/src/it/annotation-with-inheritance/pom.xml +++ b/maven-plugin-plugin/src/it/annotation-with-inheritance/pom.xml @@ -87,6 +87,7 @@ under the License. @project.version@ true + prefix diff --git a/maven-plugin-plugin/src/it/ant-basic/pom.xml b/maven-plugin-plugin/src/it/ant-basic/pom.xml index 1e6763419..86e0a1fe6 100644 --- a/maven-plugin-plugin/src/it/ant-basic/pom.xml +++ b/maven-plugin-plugin/src/it/ant-basic/pom.xml @@ -54,7 +54,7 @@ maven-plugin-plugin ${pluginPluginVersion} - antBasic + antBasic diff --git a/maven-plugin-plugin/src/it/ant-simple-usage/plugin/pom.xml b/maven-plugin-plugin/src/it/ant-simple-usage/plugin/pom.xml index 1cd1a9b60..315fa01e6 100644 --- a/maven-plugin-plugin/src/it/ant-simple-usage/plugin/pom.xml +++ b/maven-plugin-plugin/src/it/ant-simple-usage/plugin/pom.xml @@ -54,7 +54,7 @@ maven-plugin-plugin ${pluginPluginVersion} - antSimpleUsage + antSimpleUsage diff --git a/maven-plugin-plugin/src/it/ant-since-maven-plugin/pom.xml b/maven-plugin-plugin/src/it/ant-since-maven-plugin/pom.xml index 3b882f696..74669006a 100644 --- a/maven-plugin-plugin/src/it/ant-since-maven-plugin/pom.xml +++ b/maven-plugin-plugin/src/it/ant-since-maven-plugin/pom.xml @@ -42,6 +42,9 @@ @project.version@ + + prefix + diff --git a/maven-plugin-plugin/src/it/asm-failure/pom.xml b/maven-plugin-plugin/src/it/asm-failure/pom.xml index 9da9f6d08..ffe0213aa 100644 --- a/maven-plugin-plugin/src/it/asm-failure/pom.xml +++ b/maven-plugin-plugin/src/it/asm-failure/pom.xml @@ -43,6 +43,9 @@ maven-plugin-plugin @project.version@ + + prefix + diff --git a/maven-plugin-plugin/src/it/beanshell-simple/pom.xml b/maven-plugin-plugin/src/it/beanshell-simple/pom.xml index 8caf4be96..713f2ac2a 100644 --- a/maven-plugin-plugin/src/it/beanshell-simple/pom.xml +++ b/maven-plugin-plugin/src/it/beanshell-simple/pom.xml @@ -53,7 +53,7 @@ maven-plugin-plugin ${pluginPluginVersion} - beanshellBasic + beanshellBasic diff --git a/maven-plugin-plugin/src/it/help-basic-deprecated-annotation-only/pom.xml b/maven-plugin-plugin/src/it/help-basic-deprecated-annotation-only/pom.xml index cb3004a7a..5b48429cd 100644 --- a/maven-plugin-plugin/src/it/help-basic-deprecated-annotation-only/pom.xml +++ b/maven-plugin-plugin/src/it/help-basic-deprecated-annotation-only/pom.xml @@ -65,6 +65,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin @project.version@ + + help-deprecated-annotation-only + help-goal diff --git a/maven-plugin-plugin/src/it/help-basic-jdk11/pom.xml b/maven-plugin-plugin/src/it/help-basic-jdk11/pom.xml index a8f72562e..d24a6c8a5 100644 --- a/maven-plugin-plugin/src/it/help-basic-jdk11/pom.xml +++ b/maven-plugin-plugin/src/it/help-basic-jdk11/pom.xml @@ -70,6 +70,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin @project.version@ + + help-jdk11 + default-descriptor diff --git a/maven-plugin-plugin/src/it/help-basic/pom.xml b/maven-plugin-plugin/src/it/help-basic/pom.xml index 016730e1d..b964ad6d2 100644 --- a/maven-plugin-plugin/src/it/help-basic/pom.xml +++ b/maven-plugin-plugin/src/it/help-basic/pom.xml @@ -65,6 +65,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin @project.version@ + + help + default-descriptor diff --git a/maven-plugin-plugin/src/it/help-package/pom.xml b/maven-plugin-plugin/src/it/help-package/pom.xml index d5314d9dc..193af71f4 100644 --- a/maven-plugin-plugin/src/it/help-package/pom.xml +++ b/maven-plugin-plugin/src/it/help-package/pom.xml @@ -61,6 +61,7 @@ under the License. @project.version@ test.help + prefix diff --git a/maven-plugin-plugin/src/it/ignore-plugin-class-realm/pom.xml b/maven-plugin-plugin/src/it/ignore-plugin-class-realm/pom.xml index 7b98666a8..2175f9a82 100644 --- a/maven-plugin-plugin/src/it/ignore-plugin-class-realm/pom.xml +++ b/maven-plugin-plugin/src/it/ignore-plugin-class-realm/pom.xml @@ -55,6 +55,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin @project.version@ + + prefix + diff --git a/maven-plugin-plugin/src/it/ignore-plugin-class-realm/test/pom.xml b/maven-plugin-plugin/src/it/ignore-plugin-class-realm/test/pom.xml index c616620d8..0d64c4b03 100644 --- a/maven-plugin-plugin/src/it/ignore-plugin-class-realm/test/pom.xml +++ b/maven-plugin-plugin/src/it/ignore-plugin-class-realm/test/pom.xml @@ -54,6 +54,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin + + prefix + org.apache.maven.its.plugin diff --git a/maven-plugin-plugin/src/it/java-basic-annotations-jdk8/pom.xml b/maven-plugin-plugin/src/it/java-basic-annotations-jdk8/pom.xml index eae3d7e06..2d69b01c0 100644 --- a/maven-plugin-plugin/src/it/java-basic-annotations-jdk8/pom.xml +++ b/maven-plugin-plugin/src/it/java-basic-annotations-jdk8/pom.xml @@ -84,6 +84,7 @@ under the License. @project.version@ true + prefix diff --git a/maven-plugin-plugin/src/it/java-basic-annotations-jdkcurrent/pom.xml b/maven-plugin-plugin/src/it/java-basic-annotations-jdkcurrent/pom.xml index 13db79f65..60f728af3 100644 --- a/maven-plugin-plugin/src/it/java-basic-annotations-jdkcurrent/pom.xml +++ b/maven-plugin-plugin/src/it/java-basic-annotations-jdkcurrent/pom.xml @@ -79,6 +79,7 @@ under the License. @project.version@ true + prefix 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 a00a13819..a30a4ddb9 100644 --- a/maven-plugin-plugin/src/it/java-basic-annotations/pom.xml +++ b/maven-plugin-plugin/src/it/java-basic-annotations/pom.xml @@ -81,6 +81,7 @@ under the License. @project.version@ true + prefix diff --git a/maven-plugin-plugin/src/it/java-basic/pom.xml b/maven-plugin-plugin/src/it/java-basic/pom.xml index 847e4a93d..11a0edc24 100644 --- a/maven-plugin-plugin/src/it/java-basic/pom.xml +++ b/maven-plugin-plugin/src/it/java-basic/pom.xml @@ -59,6 +59,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin @project.version@ + + prefix + diff --git a/maven-plugin-plugin/src/it/mplugin-223/pom.xml b/maven-plugin-plugin/src/it/mplugin-223/pom.xml index 35c9bca14..3c59fbc1a 100644 --- a/maven-plugin-plugin/src/it/mplugin-223/pom.xml +++ b/maven-plugin-plugin/src/it/mplugin-223/pom.xml @@ -64,6 +64,7 @@ java-annotations true + prefix diff --git a/maven-plugin-plugin/src/it/mplugin-272_java8/pom.xml b/maven-plugin-plugin/src/it/mplugin-272_java8/pom.xml index 236cb5df3..a6b042896 100644 --- a/maven-plugin-plugin/src/it/mplugin-272_java8/pom.xml +++ b/maven-plugin-plugin/src/it/mplugin-272_java8/pom.xml @@ -68,6 +68,7 @@ descriptor + prefix process-classes diff --git a/maven-plugin-plugin/src/it/mplugin-299_no-configuration/pom.xml b/maven-plugin-plugin/src/it/mplugin-299_no-configuration/pom.xml index 1d92deaa7..6c3ea2945 100644 --- a/maven-plugin-plugin/src/it/mplugin-299_no-configuration/pom.xml +++ b/maven-plugin-plugin/src/it/mplugin-299_no-configuration/pom.xml @@ -65,6 +65,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin @project.version@ + + prefix + default-descriptor diff --git a/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/pom.xml b/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/pom.xml index 133264305..60d1c48bf 100644 --- a/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/pom.xml +++ b/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/pom.xml @@ -68,6 +68,7 @@ java-annotations true + prefix diff --git a/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/pom.xml b/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/pom.xml index 2e4bed7a9..a5363a2e0 100644 --- a/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/pom.xml +++ b/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/pom.xml @@ -68,6 +68,7 @@ java-annotations true + prefix diff --git a/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/pom.xml b/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/pom.xml index b6c3a5fa4..dea284dcf 100644 --- a/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/pom.xml +++ b/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/pom.xml @@ -71,6 +71,7 @@ org.apache.maven.surefire:maven-surefire-common + prefix diff --git a/maven-plugin-plugin/src/it/mplugin-324_javadoc/pom.xml b/maven-plugin-plugin/src/it/mplugin-324_javadoc/pom.xml index e356357f3..389d7b071 100644 --- a/maven-plugin-plugin/src/it/mplugin-324_javadoc/pom.xml +++ b/maven-plugin-plugin/src/it/mplugin-324_javadoc/pom.xml @@ -73,6 +73,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin @project.version@ + + prefix + default-descriptor diff --git a/maven-plugin-plugin/src/it/mplugin-363_help-reproducible/pom.xml b/maven-plugin-plugin/src/it/mplugin-363_help-reproducible/pom.xml index 3a1542428..6759ca18d 100644 --- a/maven-plugin-plugin/src/it/mplugin-363_help-reproducible/pom.xml +++ b/maven-plugin-plugin/src/it/mplugin-363_help-reproducible/pom.xml @@ -65,6 +65,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin @project.version@ + + prefix + help-goal diff --git a/maven-plugin-plugin/src/it/mplugin-370-maven-deps-scope-bad/pom.xml b/maven-plugin-plugin/src/it/mplugin-370-maven-deps-scope-bad/pom.xml index 2798708ae..517fa0177 100644 --- a/maven-plugin-plugin/src/it/mplugin-370-maven-deps-scope-bad/pom.xml +++ b/maven-plugin-plugin/src/it/mplugin-370-maven-deps-scope-bad/pom.xml @@ -73,6 +73,7 @@ under the License. @project.version@ true + prefix diff --git a/maven-plugin-plugin/src/it/mplugin-370-maven-deps-scope-good/pom.xml b/maven-plugin-plugin/src/it/mplugin-370-maven-deps-scope-good/pom.xml index 88b49f4ac..599488a52 100644 --- a/maven-plugin-plugin/src/it/mplugin-370-maven-deps-scope-good/pom.xml +++ b/maven-plugin-plugin/src/it/mplugin-370-maven-deps-scope-good/pom.xml @@ -79,6 +79,7 @@ under the License. @project.version@ true + prefix diff --git a/maven-plugin-plugin/src/it/mplugin-372-annotation-with-inheritance-from-provided-deps/pom.xml b/maven-plugin-plugin/src/it/mplugin-372-annotation-with-inheritance-from-provided-deps/pom.xml index 6d739ec71..502732187 100644 --- a/maven-plugin-plugin/src/it/mplugin-372-annotation-with-inheritance-from-provided-deps/pom.xml +++ b/maven-plugin-plugin/src/it/mplugin-372-annotation-with-inheritance-from-provided-deps/pom.xml @@ -94,6 +94,7 @@ under the License. @project.version@ true + prefix diff --git a/maven-plugin-plugin/src/it/mplugin-382-exclude-provided-dependency/pom.xml b/maven-plugin-plugin/src/it/mplugin-382-exclude-provided-dependency/pom.xml index e40e1f034..7ec23225a 100644 --- a/maven-plugin-plugin/src/it/mplugin-382-exclude-provided-dependency/pom.xml +++ b/maven-plugin-plugin/src/it/mplugin-382-exclude-provided-dependency/pom.xml @@ -87,6 +87,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin @project.version@ + + prefix + diff --git a/maven-plugin-plugin/src/it/mplugin-390/pom.xml b/maven-plugin-plugin/src/it/mplugin-390/pom.xml index 0f7aa5bd3..bb0aeccbe 100644 --- a/maven-plugin-plugin/src/it/mplugin-390/pom.xml +++ b/maven-plugin-plugin/src/it/mplugin-390/pom.xml @@ -107,6 +107,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin @project.version@ + + prefix + diff --git a/maven-plugin-plugin/src/it/packaging-jar/pom.xml b/maven-plugin-plugin/src/it/packaging-jar/pom.xml index 5b4b8c3f7..174467dc8 100644 --- a/maven-plugin-plugin/src/it/packaging-jar/pom.xml +++ b/maven-plugin-plugin/src/it/packaging-jar/pom.xml @@ -72,6 +72,7 @@ under the License. jar + prefix diff --git a/maven-plugin-plugin/src/it/skip/pom.xml b/maven-plugin-plugin/src/it/skip/pom.xml index 4e6e897d7..aae11e5e8 100644 --- a/maven-plugin-plugin/src/it/skip/pom.xml +++ b/maven-plugin-plugin/src/it/skip/pom.xml @@ -50,6 +50,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin @project.version@ + + prefix + diff --git a/maven-plugin-plugin/src/it/source-encoding/latin-1/pom.xml b/maven-plugin-plugin/src/it/source-encoding/latin-1/pom.xml index 5c2ce92e7..7775a2f07 100644 --- a/maven-plugin-plugin/src/it/source-encoding/latin-1/pom.xml +++ b/maven-plugin-plugin/src/it/source-encoding/latin-1/pom.xml @@ -61,6 +61,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin @project.version@ + + prefix + diff --git a/maven-plugin-plugin/src/it/source-encoding/utf-8/pom.xml b/maven-plugin-plugin/src/it/source-encoding/utf-8/pom.xml index a68864f6a..015c2d94c 100644 --- a/maven-plugin-plugin/src/it/source-encoding/utf-8/pom.xml +++ b/maven-plugin-plugin/src/it/source-encoding/utf-8/pom.xml @@ -61,6 +61,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin @project.version@ + + prefix + diff --git a/maven-plugin-plugin/src/it/v4api/pom.xml b/maven-plugin-plugin/src/it/v4api/pom.xml index a763c68b9..ed3dd8a4c 100644 --- a/maven-plugin-plugin/src/it/v4api/pom.xml +++ b/maven-plugin-plugin/src/it/v4api/pom.xml @@ -64,6 +64,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin @project.version@ + + prefix + help-goal diff --git a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java index 9399c22cf..031aeb9f0 100644 --- a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java +++ b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java @@ -23,7 +23,6 @@ import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugin.descriptor.PluginDescriptor; import org.apache.maven.plugins.annotations.Parameter; import org.apache.maven.project.MavenProject; @@ -81,28 +80,24 @@ public void execute() throws MojoExecutionException { return; } - String defaultGoalPrefix = getDefaultGoalPrefix(project); - - if (goalPrefix == null) { - goalPrefix = defaultGoalPrefix; - } else if (!goalPrefix.equals(defaultGoalPrefix)) { - getLog().warn(LS + LS + "Goal prefix is specified as: '" + goalPrefix + "'. " - + "Maven currently expects it to be '" + defaultGoalPrefix + "'." + LS); + if (goalPrefix == null || goalPrefix.isEmpty()) { + goalPrefix = getDefaultGoalPrefix(project); + } + if (goalPrefix == null || goalPrefix.isEmpty()) { + throw new MojoExecutionException("You need to specify a goalPrefix as it can not be correctly computed"); } generate(); } static String getDefaultGoalPrefix(MavenProject project) { - String defaultGoalPrefix; - if ("maven-plugin-report-plugin".equalsIgnoreCase(project.getArtifactId())) { - defaultGoalPrefix = "plugin-report"; - } else if ("maven-plugin".equalsIgnoreCase(project.getArtifactId())) { - defaultGoalPrefix = - project.getGroupId().substring(project.getGroupId().lastIndexOf('.') + 1); + String artifactId = project.getArtifactId(); + if (artifactId.endsWith("-maven-plugin")) { + return artifactId.substring(0, artifactId.length() - "-maven-plugin".length()); + } else if (artifactId.startsWith("maven-") && artifactId.endsWith("-plugin")) { + return artifactId.substring("maven-".length(), artifactId.length() - "-plugin".length()); } else { - defaultGoalPrefix = PluginDescriptor.getGoalPrefixFromArtifactId(project.getArtifactId()); + return null; } - return defaultGoalPrefix; } } diff --git a/maven-plugin-plugin/src/test/java/org/apache/maven/plugin/plugin/DescriptorGeneratorMojoTest.java b/maven-plugin-plugin/src/test/java/org/apache/maven/plugin/plugin/DescriptorGeneratorMojoTest.java index daf24f736..4956340ea 100644 --- a/maven-plugin-plugin/src/test/java/org/apache/maven/plugin/plugin/DescriptorGeneratorMojoTest.java +++ b/maven-plugin-plugin/src/test/java/org/apache/maven/plugin/plugin/DescriptorGeneratorMojoTest.java @@ -36,10 +36,7 @@ public static Stream goalPrefixes() { arguments(null, "maven-plugin-plugin", "plugin"), arguments(null, "maven-plugin-report-plugin", "plugin-report"), arguments(null, "maven-default-plugin", "default"), - arguments(null, "default-maven-plugin", "default"), - arguments(null, "default-maven-plugin", "default"), - arguments("foo.bar", "maven-plugin", "bar"), - arguments("foo", "maven-plugin", "foo")); + arguments(null, "default-maven-plugin", "default")); } @ParameterizedTest diff --git a/maven-plugin-report-plugin/src/it/mplugin-191/pom.xml b/maven-plugin-report-plugin/src/it/mplugin-191/pom.xml index 2dd1074c3..0e870e7a1 100644 --- a/maven-plugin-report-plugin/src/it/mplugin-191/pom.xml +++ b/maven-plugin-report-plugin/src/it/mplugin-191/pom.xml @@ -61,6 +61,7 @@ under the License. @project.version@ true + prefix diff --git a/maven-plugin-report-plugin/src/it/mplugin-319_report-since/pom.xml b/maven-plugin-report-plugin/src/it/mplugin-319_report-since/pom.xml index 9fece222a..d3a7eb7a2 100644 --- a/maven-plugin-report-plugin/src/it/mplugin-319_report-since/pom.xml +++ b/maven-plugin-report-plugin/src/it/mplugin-319_report-since/pom.xml @@ -53,6 +53,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin @project.version@ + + prefix + org.apache.maven.plugins diff --git a/maven-plugin-report-plugin/src/it/mplugin-394_report-encoding/pom.xml b/maven-plugin-report-plugin/src/it/mplugin-394_report-encoding/pom.xml index 2a813a356..a2edf9955 100644 --- a/maven-plugin-report-plugin/src/it/mplugin-394_report-encoding/pom.xml +++ b/maven-plugin-report-plugin/src/it/mplugin-394_report-encoding/pom.xml @@ -65,6 +65,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin @project.version@ + + prefix + org.apache.maven.plugins diff --git a/maven-plugin-report-plugin/src/it/plugin-info-jdk-default-version/pom.xml b/maven-plugin-report-plugin/src/it/plugin-info-jdk-default-version/pom.xml index 3dafd9415..9789d6508 100644 --- a/maven-plugin-report-plugin/src/it/plugin-info-jdk-default-version/pom.xml +++ b/maven-plugin-report-plugin/src/it/plugin-info-jdk-default-version/pom.xml @@ -57,6 +57,7 @@ under the License. java-javadoc + prefix diff --git a/maven-plugin-report-plugin/src/it/plugin-info-jdk/pom.xml b/maven-plugin-report-plugin/src/it/plugin-info-jdk/pom.xml index 83c6d7165..20130c55d 100644 --- a/maven-plugin-report-plugin/src/it/plugin-info-jdk/pom.xml +++ b/maven-plugin-report-plugin/src/it/plugin-info-jdk/pom.xml @@ -61,6 +61,7 @@ under the License. @project.version@ true + prefix 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 3d740f1ec..0c5087a51 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 @@ -90,6 +90,7 @@ under the License. @project.version@ true + prefix diff --git a/maven-plugin-report-plugin/src/it/plugin-report-requirements-history/pom.xml b/maven-plugin-report-plugin/src/it/plugin-report-requirements-history/pom.xml index 0d77f3388..88bba2a8c 100644 --- a/maven-plugin-report-plugin/src/it/plugin-report-requirements-history/pom.xml +++ b/maven-plugin-report-plugin/src/it/plugin-report-requirements-history/pom.xml @@ -69,6 +69,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin @project.version@ + + prefix + diff --git a/maven-plugin-report-plugin/src/it/plugin-report-with-javadoc-links/pom.xml b/maven-plugin-report-plugin/src/it/plugin-report-with-javadoc-links/pom.xml index cabb67cf9..11f88cfb6 100644 --- a/maven-plugin-report-plugin/src/it/plugin-report-with-javadoc-links/pom.xml +++ b/maven-plugin-report-plugin/src/it/plugin-report-with-javadoc-links/pom.xml @@ -94,6 +94,7 @@ under the License. https://docs.oracle.com/javase/8/docs/api/ + prefix 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 a6559802d..43f0afd73 100644 --- a/maven-plugin-report-plugin/src/it/plugin-report/pom.xml +++ b/maven-plugin-report-plugin/src/it/plugin-report/pom.xml @@ -85,6 +85,9 @@ under the License. org.apache.maven.plugins maven-plugin-plugin @project.version@ + + prefix + org.apache.maven.plugins