diff --git a/core-shaded/pom.xml b/core-shaded/pom.xml index e5f5d7e0a40..54fd959f0c7 100644 --- a/core-shaded/pom.xml +++ b/core-shaded/pom.xml @@ -5,7 +5,7 @@ elasticsearch-license org.elasticsearch - 1.0.0 + 2.0.0-SNAPSHOT 4.0.0 diff --git a/core/pom.xml b/core/pom.xml index 8adb7918665..c46b7ece89a 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -5,7 +5,7 @@ elasticsearch-license org.elasticsearch - 1.0.0 + 2.0.0-SNAPSHOT 4.0.0 @@ -17,7 +17,7 @@ org.elasticsearch elasticsearch-license-core-shaded - 1.0.0 + 2.0.0-SNAPSHOT diff --git a/licensor/pom.xml b/licensor/pom.xml index 21513b9fa10..8f49df21ee2 100644 --- a/licensor/pom.xml +++ b/licensor/pom.xml @@ -5,7 +5,7 @@ elasticsearch-license org.elasticsearch - 1.0.0 + 2.0.0-SNAPSHOT 4.0.0 @@ -19,7 +19,7 @@ org.elasticsearch elasticsearch-license-core - 1.0.0 + 2.0.0-SNAPSHOT diff --git a/plugin/pom.xml b/plugin/pom.xml index 184e993e83a..eeef5cf9fff 100644 --- a/plugin/pom.xml +++ b/plugin/pom.xml @@ -5,7 +5,7 @@ elasticsearch-license org.elasticsearch - 1.0.0 + 2.0.0-SNAPSHOT 4.0.0 @@ -21,13 +21,13 @@ org.elasticsearch elasticsearch-license-licensor - 1.0.0 + 2.0.0-SNAPSHOT test org.elasticsearch elasticsearch-license-core - 1.0.0 + 2.0.0-SNAPSHOT compile diff --git a/plugin/src/main/java/org/elasticsearch/license/plugin/LicenseVersion.java b/plugin/src/main/java/org/elasticsearch/license/plugin/LicenseVersion.java index 0aaa984ece3..61f433501e0 100644 --- a/plugin/src/main/java/org/elasticsearch/license/plugin/LicenseVersion.java +++ b/plugin/src/main/java/org/elasticsearch/license/plugin/LicenseVersion.java @@ -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 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_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 { return fromId(in.readVInt()); diff --git a/pom.xml b/pom.xml index 6d89302a812..0e31c803cbf 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ org.elasticsearch elasticsearch-license pom - 1.0.0 + 2.0.0-SNAPSHOT core-shaded core