Restore backwards compatibility readding static OS_* vars

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587684 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Carlos Sanchez Gonzalez 2007-10-23 22:55:53 +00:00
parent bfd273cb0f
commit efd372c24a
1 changed files with 9 additions and 0 deletions

View File

@ -44,6 +44,15 @@ public class MavenCli
{ {
public static final String LOCAL_REPO_PROPERTY = "maven.repo.local"; public static final String LOCAL_REPO_PROPERTY = "maven.repo.local";
/** @deprecated use {@link CLIReportingUtils#OS_NAME} */
public static final String OS_NAME = CLIReportingUtils.OS_NAME;
/** @deprecated use {@link CLIReportingUtils#OS_ARCH} */
public static final String OS_ARCH = CLIReportingUtils.OS_ARCH;
/** @deprecated use {@link CLIReportingUtils#OS_VERSION} */
public static final String OS_VERSION = CLIReportingUtils.OS_VERSION;
public static void main( String[] args ) public static void main( String[] args )
{ {
ClassWorld classWorld = new ClassWorld( "plexus.core", Thread.currentThread().getContextClassLoader() ); ClassWorld classWorld = new ClassWorld( "plexus.core", Thread.currentThread().getContextClassLoader() );