From f2f7b8558de27fc3c6e941edc484d0f9fcb463ec Mon Sep 17 00:00:00 2001 From: Lukas Lieb Date: Thu, 19 Dec 2024 08:36:43 +0100 Subject: [PATCH] XIVY-10541 Improve doc for ValidateMojo --- .../java/ch/ivyteam/ivy/maven/validate/ValidateMojo.java | 5 +++++ src/site/apt/lifecycle.apt.vm | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/main/java/ch/ivyteam/ivy/maven/validate/ValidateMojo.java b/src/main/java/ch/ivyteam/ivy/maven/validate/ValidateMojo.java index 225c2c14..7fb3705c 100644 --- a/src/main/java/ch/ivyteam/ivy/maven/validate/ValidateMojo.java +++ b/src/main/java/ch/ivyteam/ivy/maven/validate/ValidateMojo.java @@ -19,6 +19,11 @@ import org.apache.maven.plugins.annotations.Parameter; import org.apache.maven.project.MavenProject; +/** + * Validates that only one version of the project-build-plugin is active in one maven reactor. + * + * @since 12.0.1 + */ @Mojo(name = ValidateMojo.GOAL, requiresProject = true) public class ValidateMojo extends AbstractMojo { diff --git a/src/site/apt/lifecycle.apt.vm b/src/site/apt/lifecycle.apt.vm index 2137cde0..a177abc3 100644 --- a/src/site/apt/lifecycle.apt.vm +++ b/src/site/apt/lifecycle.apt.vm @@ -6,6 +6,8 @@ iar Lifecycle <> | <> *--------*---------* clean | ${project.groupId}:${project.artifactId}:{{{./maven-dependency-cleanup-mojo.html}maven-dependency-cleanup}} +*--------*---------* + validate | ${project.groupId}:${project.artifactId}:{{{./validate-mojo.html}validate}} *--------*---------* initialize | ${project.groupId}:${project.artifactId}:{{{./installEngine-mojo.html}installEngine}} *--------*---------*