maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r587684 - /maven/components/trunk/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
Date Tue, 23 Oct 2007 22:55:54 GMT
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()
);



Mime
View raw message