Added some @since etc.
git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1760179 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/maven/shared/invoker/InvocationRequest.java b/src/main/java/org/apache/maven/shared/invoker/InvocationRequest.java
index ae88d26..a9d82b1 100644
--- a/src/main/java/org/apache/maven/shared/invoker/InvocationRequest.java
+++ b/src/main/java/org/apache/maven/shared/invoker/InvocationRequest.java
@@ -255,7 +255,7 @@
File getToolchainsFile();
/**
- * Alternate path for the global toolchains file <b>Note. This is available starting with Maven 3.3.1</b>
+ * Alternate path for the global toolchains file <b>Note. This is available since Maven 3.3.1</b>
*
* @return The path to the custom global toolchains file or <code>null</code> to load the global toolchains from the
* default location.
@@ -704,18 +704,21 @@
InvocationRequest setResumeFrom( String resumeFrom );
/**
- * The id of the build strategy to use. equivalent of {@code --builder id}.
+ * The id of the build strategy to use. equivalent of {@code --builder id}. <b>Note. This is available since Maven
+ * 3.2.1</b>
*
* @param id The builder id.
* @return {@link InvocationRequest} FIXME: How to identify if this is a valid command line option?
- * @since 3.2.1
+ * @since 3.0.0
*/
InvocationRequest setBuilder( String id );
/**
- * Get the current set builder strategy id equivalent of {@code --builder id}.
+ * Get the current set builder strategy id equivalent of {@code --builder id}. <b>Note. This is available since
+ * Maven 3.2.1</b>
*
- * @return The current set build id.
+ * @return The current set builder id.
+ * @since 3.0.0
*/
String getBuilder();
diff --git a/src/main/java/org/apache/maven/shared/invoker/MavenCommandLineBuilder.java b/src/main/java/org/apache/maven/shared/invoker/MavenCommandLineBuilder.java
index ce00d15..147458d 100644
--- a/src/main/java/org/apache/maven/shared/invoker/MavenCommandLineBuilder.java
+++ b/src/main/java/org/apache/maven/shared/invoker/MavenCommandLineBuilder.java
@@ -498,6 +498,7 @@
{
cli.createArg().setValue( "-c" );
}
+
if ( request.isNonPluginUpdates() )
{
cli.createArg().setValue( "-npu" );