MNG-5774 restored MavenCli user/global settings location contants

Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
This commit is contained in:
Igor Fedorenko 2015-03-11 18:24:14 -04:00
parent eae9a88f54
commit cc429e8451
1 changed files with 11 additions and 0 deletions

View File

@ -130,6 +130,17 @@ public class MavenCli
@SuppressWarnings( "checkstyle:constantname" ) @SuppressWarnings( "checkstyle:constantname" )
public static final File userMavenConfigurationHome = new File( userHome, ".m2" ); public static final File userMavenConfigurationHome = new File( userHome, ".m2" );
/**
* @deprecated use {@link SettingsXmlConfigurationProcessor#DEFAULT_USER_SETTINGS_FILE}
*/
public static final File DEFAULT_USER_SETTINGS_FILE = SettingsXmlConfigurationProcessor.DEFAULT_USER_SETTINGS_FILE;
/**
* @deprecated use {@link SettingsXmlConfigurationProcessor#DEFAULT_GLOBAL_SETTINGS_FILE}
*/
public static final File DEFAULT_GLOBAL_SETTINGS_FILE =
SettingsXmlConfigurationProcessor.DEFAULT_GLOBAL_SETTINGS_FILE;
public static final File DEFAULT_USER_TOOLCHAINS_FILE = new File( userMavenConfigurationHome, "toolchains.xml" ); public static final File DEFAULT_USER_TOOLCHAINS_FILE = new File( userMavenConfigurationHome, "toolchains.xml" );
public static final File DEFAULT_GLOBAL_TOOLCHAINS_FILE = public static final File DEFAULT_GLOBAL_TOOLCHAINS_FILE =