mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-07-01 02:34:27 +08:00
升级版本
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
package org.hsweb.web.starter;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class SystemVersion extends Version {
|
||||
|
||||
private FrameworkVersion frameworkVersion = new FrameworkVersion();
|
||||
@@ -72,7 +74,8 @@ public class SystemVersion extends Version {
|
||||
}
|
||||
}
|
||||
|
||||
class Version implements Comparable<Version> {
|
||||
class Version implements Comparable<Version>, Serializable {
|
||||
|
||||
protected String name;
|
||||
protected String comment;
|
||||
protected String website;
|
||||
@@ -81,6 +84,9 @@ class Version implements Comparable<Version> {
|
||||
protected int revisionVersion = 0;
|
||||
protected boolean snapshot = false;
|
||||
|
||||
public Version() {
|
||||
}
|
||||
|
||||
public void setVersion(int major, int minor, int revision, boolean snapshot) {
|
||||
this.majorVersion = major;
|
||||
this.minorVersion = minor;
|
||||
@@ -177,4 +183,5 @@ class Version implements Comparable<Version> {
|
||||
.append(minorVersion).append(".")
|
||||
.append(revisionVersion).append(snapshot ? ".SNAPSHOT" : "").toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
2
pom.xml
2
pom.xml
@@ -73,7 +73,7 @@
|
||||
<aspectj.version>1.6.12</aspectj.version>
|
||||
<hibernate.validator.version>5.1.1.Final</hibernate.validator.version>
|
||||
<hsweb.ezorm.version>1.2-SNAPSHOT</hsweb.ezorm.version>
|
||||
<hsweb.commons.version>1.0.2</hsweb.commons.version>
|
||||
<hsweb.commons.version>1.0.3</hsweb.commons.version>
|
||||
<hsweb.expands.version>1.0</hsweb.expands.version>
|
||||
</properties>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user