[MNG-6363] - Remove secret thread configuration property from code

This commit is contained in:
Karl Heinz Marbaise 2018-02-17 14:48:16 +01:00
parent ef41c0e4f4
commit 9c118d34c9
No known key found for this signature in database
GPG Key ID: BF1518E0160788A2
1 changed files with 1 additions and 4 deletions

View File

@ -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 )
{