You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2016/09/10 14:49:14 UTC
svn commit: r1760179 - in
/maven/shared/trunk/maven-invoker/src/main/java/org/apache/maven/shared/invoker:
InvocationRequest.java MavenCommandLineBuilder.java
Author: khmarbaise
Date: Sat Sep 10 14:49:13 2016
New Revision: 1760179
URL: http://svn.apache.org/viewvc?rev=1760179&view=rev
Log:
Added some @since etc.
Modified:
maven/shared/trunk/maven-invoker/src/main/java/org/apache/maven/shared/invoker/InvocationRequest.java
maven/shared/trunk/maven-invoker/src/main/java/org/apache/maven/shared/invoker/MavenCommandLineBuilder.java
Modified: maven/shared/trunk/maven-invoker/src/main/java/org/apache/maven/shared/invoker/InvocationRequest.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-invoker/src/main/java/org/apache/maven/shared/invoker/InvocationRequest.java?rev=1760179&r1=1760178&r2=1760179&view=diff
==============================================================================
--- maven/shared/trunk/maven-invoker/src/main/java/org/apache/maven/shared/invoker/InvocationRequest.java (original)
+++ maven/shared/trunk/maven-invoker/src/main/java/org/apache/maven/shared/invoker/InvocationRequest.java Sat Sep 10 14:49:13 2016
@@ -255,7 +255,7 @@ public interface InvocationRequest
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 @@ public interface InvocationRequest
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();
Modified: maven/shared/trunk/maven-invoker/src/main/java/org/apache/maven/shared/invoker/MavenCommandLineBuilder.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-invoker/src/main/java/org/apache/maven/shared/invoker/MavenCommandLineBuilder.java?rev=1760179&r1=1760178&r2=1760179&view=diff
==============================================================================
--- maven/shared/trunk/maven-invoker/src/main/java/org/apache/maven/shared/invoker/MavenCommandLineBuilder.java (original)
+++ maven/shared/trunk/maven-invoker/src/main/java/org/apache/maven/shared/invoker/MavenCommandLineBuilder.java Sat Sep 10 14:49:13 2016
@@ -498,6 +498,7 @@ public class MavenCommandLineBuilder
{
cli.createArg().setValue( "-c" );
}
+
if ( request.isNonPluginUpdates() )
{
cli.createArg().setValue( "-npu" );