You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2003/12/04 01:52:40 UTC
cvs commit: maven-components/maven-model/src/java/org/apache/maven/model Model.java
jvanzyl 2003/12/03 16:52:40
Modified: maven-model/src/java/org/apache/maven/model Model.java
Log:
o use version not currentVersion
Revision Changes Path
1.7 +9 -9 maven-components/maven-model/src/java/org/apache/maven/model/Model.java
Index: Model.java
===================================================================
RCS file: /home/cvs/maven-components/maven-model/src/java/org/apache/maven/model/Model.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Model.java 2 Dec 2003 04:08:25 -0000 1.6
+++ Model.java 4 Dec 2003 00:52:40 -0000 1.7
@@ -117,7 +117,7 @@
private List licenses;
/** Current version */
- private String currentVersion;
+ private String version;
/** Organization that hosts the project. */
private Organization organization;
@@ -818,25 +818,25 @@
}
/**
- * Sets the currentVersion attribute of the Project object.
+ * Sets the version attribute of the Project object.
*
- * @param currentVersion the current version number of the project, e.g.
+ * @param version the current version number of the project, e.g.
* <code>1.0</code>, <code>1.1-dev</code>
*/
- public void setCurrentVersion( String currentVersion )
+ public void setVersion( String version )
{
- this.currentVersion = currentVersion;
+ this.version = version;
}
/**
- * Gets the currentVersion attribute of the Project object.
+ * Gets the version attribute of the Project object.
*
* @return the current version of the project e.g. <code>1.0</code>,
* <code>1.1-dev</code>
*/
- public String getCurrentVersion()
+ public String getVersion()
{
- return currentVersion;
+ return version;
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org