Author: jvanzyl
Date: Sat Oct 4 12:19:41 2008
New Revision: 701693
URL: http://svn.apache.org/viewvc?rev=701693&view=rev
Log:
o restore the getApplicationVersion() method which is use by eclipse:eclipse
Modified:
maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/DefaultRuntimeInformation.java
maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/RuntimeInformation.java
Modified:
maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/DefaultRuntimeInformation.java
URL:
http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/DefaultRuntimeInformation.java?rev=701693&r1=701692&r2=701693&view=diff
==============================================================================
---
maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/DefaultRuntimeInformation.java
(original)
+++
maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/DefaultRuntimeInformation.java
Sat Oct 4 12:19:41 2008
@@ -23,6 +23,7 @@
import java.io.InputStream;
import java.util.Properties;
+import org.apache.maven.artifact.versioning.ArtifactVersion;
import org.apache.maven.artifact.versioning.DefaultArtifactVersion;
import org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable;
import
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException;
@@ -45,6 +46,12 @@
return applicationInformation;
}
+ /** @deprecated Use getApplicationInformation() */
+ public ArtifactVersion getApplicationVersion()
+ {
+ return applicationInformation.getVersion();
+ }
+
public void initialize()
throws InitializationException
{
Modified:
maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/RuntimeInformation.java
URL:
http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/RuntimeInformation.java?rev=701693&r1=701692&r2=701693&view=diff
==============================================================================
---
maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/RuntimeInformation.java
(original)
+++
maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/RuntimeInformation.java
Sat Oct 4 12:19:41 2008
@@ -1,5 +1,7 @@
package org.apache.maven.execution;
+import org.apache.maven.artifact.versioning.ArtifactVersion;
+
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
@@ -28,4 +30,9 @@
public interface RuntimeInformation
{
ApplicationInformation getApplicationInformation();
+
+ /** @deprecated Use getApplicationInformation() */
+ //!!BC Used by the Eclipse Plugin
+ ArtifactVersion getApplicationVersion();
+
}