From 0c8916f0e6a7c51605190c8d8f627569aaaf37ca Mon Sep 17 00:00:00 2001 From: Karl Heinz Marbaise Date: Thu, 15 Jun 2017 15:57:41 +0200 Subject: [PATCH] Fixed #37 o Enhanced documentation for aggegator modules. --- src/main/java/org/codehaus/mojo/versions/SetMojo.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/codehaus/mojo/versions/SetMojo.java b/src/main/java/org/codehaus/mojo/versions/SetMojo.java index 4fac06af6e..ae84ec4ec1 100644 --- a/src/main/java/org/codehaus/mojo/versions/SetMojo.java +++ b/src/main/java/org/codehaus/mojo/versions/SetMojo.java @@ -80,6 +80,9 @@ public class SetMojo /** * The groupId of the dependency/module to update. + * If you like to update modules of a aggregator you + * should set -DgroupId='*' to ignore the + * group of the current project. * * @since 1.2 */ @@ -88,6 +91,9 @@ public class SetMojo /** * The artifactId of the dependency/module to update. + * If you like to update modules of a aggregator you + * should set -DartifactId='*' to ignore the + * artifactId of the current project. * * @since 1.2 */ @@ -96,7 +102,9 @@ public class SetMojo /** * The version of the dependency/module to update. - * + * If you are changing an aggregator you should give + * -DoldVersion='*' to suppress the check against the + * version of the current project. * @since 1.2 */ @Parameter( property = "oldVersion", defaultValue = "${project.version}" )