From 8ef2df3f1b33937ac7b729da4d568ec78d166b31 Mon Sep 17 00:00:00 2001 From: Areek Zillur Date: Mon, 26 Jan 2015 21:45:36 -0500 Subject: [PATCH] moving version to 2.0.0-SNAPSHOT Original commit: elastic/x-pack-elasticsearch@e6dd782df96a476a3c4f85a0a165d8663f54438a --- core-shaded/pom.xml | 2 +- core/pom.xml | 4 ++-- licensor/pom.xml | 4 ++-- plugin/pom.xml | 6 +++--- .../org/elasticsearch/license/plugin/LicenseVersion.java | 4 +++- pom.xml | 2 +- 6 files changed, 12 insertions(+), 10 deletions(-) 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