jvanzyl     2003/12/03 16:58:46

  Modified:    maven-model/src/java/org/apache/maven/model Model.java
  Log:
  o modelVersion not pomVersion
  
    this is not to say that these might both exist i.e. the model might stay
    the same but the transformation that creates the project might be
    different and hence have a different version.
  
  Revision  Changes    Path
  1.8       +7 -7      
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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Model.java        4 Dec 2003 00:52:40 -0000       1.7
  +++ Model.java        4 Dec 2003 00:58:46 -0000       1.8
  @@ -149,7 +149,7 @@
       private String distributionDirectory;
   
       /** Version of the project model. */
  -    private String pomVersion;
  +    private String modelVersion;
   
       /** Versions associated with this project. */
       private List versions;
  @@ -904,11 +904,11 @@
       /**
        * Sets the version attribute of the Project object
        *
  -     * @param pomVersion the new value
  +     * @param modelVersion the new value
        */
  -    public void setPomVersion( String pomVersion )
  +    public void setModelVersion( String modelVersion )
       {
  -        this.pomVersion = pomVersion;
  +        this.modelVersion = modelVersion;
       }
   
       /**
  @@ -917,9 +917,9 @@
        * @return the version of the project object specified or <code>1</code>
        * if no value is provided
        */
  -    public String getPomVersion()
  +    public String getModelVersion()
       {
  -        return pomVersion;
  +        return modelVersion;
       }
   
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to