moving version to 2.0.0-SNAPSHOT
Original commit: elastic/x-pack-elasticsearch@e6dd782df9
This commit is contained in:
parent
3352f77f20
commit
8ef2df3f1b
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<artifactId>elasticsearch-license</artifactId>
|
<artifactId>elasticsearch-license</artifactId>
|
||||||
<groupId>org.elasticsearch</groupId>
|
<groupId>org.elasticsearch</groupId>
|
||||||
<version>1.0.0</version>
|
<version>2.0.0-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<artifactId>elasticsearch-license</artifactId>
|
<artifactId>elasticsearch-license</artifactId>
|
||||||
<groupId>org.elasticsearch</groupId>
|
<groupId>org.elasticsearch</groupId>
|
||||||
<version>1.0.0</version>
|
<version>2.0.0-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.elasticsearch</groupId>
|
<groupId>org.elasticsearch</groupId>
|
||||||
<artifactId>elasticsearch-license-core-shaded</artifactId>
|
<artifactId>elasticsearch-license-core-shaded</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>2.0.0-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
<build>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<artifactId>elasticsearch-license</artifactId>
|
<artifactId>elasticsearch-license</artifactId>
|
||||||
<groupId>org.elasticsearch</groupId>
|
<groupId>org.elasticsearch</groupId>
|
||||||
<version>1.0.0</version>
|
<version>2.0.0-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.elasticsearch</groupId>
|
<groupId>org.elasticsearch</groupId>
|
||||||
<artifactId>elasticsearch-license-core</artifactId>
|
<artifactId>elasticsearch-license-core</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>2.0.0-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<artifactId>elasticsearch-license</artifactId>
|
<artifactId>elasticsearch-license</artifactId>
|
||||||
<groupId>org.elasticsearch</groupId>
|
<groupId>org.elasticsearch</groupId>
|
||||||
<version>1.0.0</version>
|
<version>2.0.0-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
@ -21,13 +21,13 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.elasticsearch</groupId>
|
<groupId>org.elasticsearch</groupId>
|
||||||
<artifactId>elasticsearch-license-licensor</artifactId>
|
<artifactId>elasticsearch-license-licensor</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>2.0.0-SNAPSHOT</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.elasticsearch</groupId>
|
<groupId>org.elasticsearch</groupId>
|
||||||
<artifactId>elasticsearch-license-core</artifactId>
|
<artifactId>elasticsearch-license-core</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>2.0.0-SNAPSHOT</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
|
@ -23,9 +23,11 @@ public class LicenseVersion implements Serializable {
|
||||||
// the (internal) format of the id is there so we can easily do after/before checks on the id
|
// the (internal) format of the id is there so we can easily do after/before checks on the id
|
||||||
|
|
||||||
public static final int V_1_0_0_ID = /*00*/1000099;
|
public static final int V_1_0_0_ID = /*00*/1000099;
|
||||||
|
public static final int V_2_0_0_ID = /*00*/2000099;
|
||||||
public static final LicenseVersion V_1_0_0 = new LicenseVersion(V_1_0_0_ID, false, License.VERSION_START, Version.V_1_4_0_Beta1);
|
public static final LicenseVersion V_1_0_0 = new LicenseVersion(V_1_0_0_ID, false, License.VERSION_START, Version.V_1_4_0_Beta1);
|
||||||
|
public static final LicenseVersion V_2_0_0 = new LicenseVersion(V_2_0_0_ID, true, License.VERSION_START, Version.V_1_4_0_Beta1);
|
||||||
|
|
||||||
public static final LicenseVersion CURRENT = V_1_0_0;
|
public static final LicenseVersion CURRENT = V_2_0_0;
|
||||||
|
|
||||||
public static LicenseVersion readVersion(StreamInput in) throws IOException {
|
public static LicenseVersion readVersion(StreamInput in) throws IOException {
|
||||||
return fromId(in.readVInt());
|
return fromId(in.readVInt());
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -7,7 +7,7 @@
|
||||||
<groupId>org.elasticsearch</groupId>
|
<groupId>org.elasticsearch</groupId>
|
||||||
<artifactId>elasticsearch-license</artifactId>
|
<artifactId>elasticsearch-license</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<version>1.0.0</version>
|
<version>2.0.0-SNAPSHOT</version>
|
||||||
<modules>
|
<modules>
|
||||||
<module>core-shaded</module>
|
<module>core-shaded</module>
|
||||||
<module>core</module>
|
<module>core</module>
|
||||||
|
|
Loading…
Reference in New Issue