From 9c118d34c905a16dcc85ccf4252f16e8ceabd7a3 Mon Sep 17 00:00:00 2001 From: Karl Heinz Marbaise Date: Sat, 17 Feb 2018 14:48:16 +0100 Subject: [PATCH] [MNG-6363] - Remove secret thread configuration property from code --- .../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 c7e5d9ee35..7b5d97bdbe 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 ) {