You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ca...@apache.org on 2007/10/24 00:55:54 UTC

svn commit: r587684 - /maven/components/trunk/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

Author: carlos
Date: Tue Oct 23 15:55:53 2007
New Revision: 587684

URL: http://svn.apache.org/viewvc?rev=587684&view=rev
Log:
Restore backwards compatibility readding static OS_* vars

Modified:
    maven/components/trunk/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

Modified: maven/components/trunk/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java?rev=587684&r1=587683&r2=587684&view=diff
==============================================================================
--- maven/components/trunk/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java (original)
+++ maven/components/trunk/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java Tue Oct 23 15:55:53 2007
@@ -44,6 +44,15 @@
 {
     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 )
     {
         ClassWorld classWorld = new ClassWorld( "plexus.core", Thread.currentThread().getContextClassLoader() );