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 2018/04/22 20:58:09 UTC

[maven] 01/01: [MNG-6363] - Remove secret thread configuration property from code

This is an automated email from the ASF dual-hosted git repository.

khmarbaise pushed a commit to branch MNG-6363
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 9c118d34c905a16dcc85ccf4252f16e8ceabd7a3
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Sat Feb 17 14:48:16 2018 +0100

    [MNG-6363] - Remove secret thread configuration property from code
---
 maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
index c7e5d9e..7b5d97b 100644
--- a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
+++ b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
@@ -124,8 +124,6 @@ public class MavenCli
 {
     public static final String LOCAL_REPO_PROPERTY = "maven.repo.local";
 
-    public static final String THREADS_DEPRECATED = "maven.threads.experimental";
-
     public static final String MULTIMODULE_PROJECT_DIRECTORY = "maven.multiModuleProjectDirectory";
 
     public static final String USER_HOME = System.getProperty( "user.home" );
@@ -1548,8 +1546,7 @@ public class MavenCli
         //
         final String threadConfiguration = commandLine.hasOption( CLIManager.THREADS )
             ? commandLine.getOptionValue( CLIManager.THREADS )
-            : request.getSystemProperties().getProperty(
-                MavenCli.THREADS_DEPRECATED ); // TODO Remove this setting. Note that the int-tests use it
+            : null;
 
         if ( threadConfiguration != null )
         {

-- 
To stop receiving notification emails like this one, please contact
khmarbaise@apache.org.