diff --git a/core/pom.xml b/core/pom.xml index 449ce50350f..8782a9ee95e 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -6,7 +6,7 @@ org.elasticsearch elasticsearch-parent - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT org.elasticsearch diff --git a/core/src/main/java/org/elasticsearch/Version.java b/core/src/main/java/org/elasticsearch/Version.java index 5ba63c4811b..d820a1b2427 100644 --- a/core/src/main/java/org/elasticsearch/Version.java +++ b/core/src/main/java/org/elasticsearch/Version.java @@ -255,8 +255,10 @@ public class Version { public static final int V_2_0_0_beta1_ID = 2000001; public static final Version V_2_0_0_beta1 = new Version(V_2_0_0_beta1_ID, true, org.apache.lucene.util.Version.LUCENE_5_2_1); + public static final int V_2_0_0_ID = 2000099; + public static final Version V_2_0_0 = new Version(V_2_0_0_ID, true, org.apache.lucene.util.Version.LUCENE_5_2_1); - public static final Version CURRENT = V_2_0_0_beta1; + public static final Version CURRENT = V_2_0_0; static { assert CURRENT.luceneVersion.equals(Lucene.VERSION) : "Version must be upgraded to [" + Lucene.VERSION + "] is still set to [" + CURRENT.luceneVersion + "]"; @@ -268,6 +270,8 @@ public class Version { public static Version fromId(int id) { switch (id) { + case V_2_0_0_ID: + return V_2_0_0; case V_2_0_0_beta1_ID: return V_2_0_0_beta1; case V_1_7_2_ID: diff --git a/core/src/test/java/org/elasticsearch/VersionTests.java b/core/src/test/java/org/elasticsearch/VersionTests.java index 3f4891cd825..76c0d8d19d3 100644 --- a/core/src/test/java/org/elasticsearch/VersionTests.java +++ b/core/src/test/java/org/elasticsearch/VersionTests.java @@ -203,6 +203,10 @@ public class VersionTests extends ESTestCase { // only the latest version for a branch should be a snapshot (ie unreleased) String branchName = "" + v.major + "." + v.minor; + if (v.equals(Version.V_2_0_0_beta1)) { + assertTrue("Remove this once beta1 is released", v.snapshot()); + continue; // this is just a temporary fix until we have a snapshot for the beta since we now have 2 unreleased version of the same major.minor group + } Version maxBranchVersion = maxBranchVersions.get(branchName); if (maxBranchVersion == null) { maxBranchVersions.put(branchName, v); diff --git a/dev-tools/pom.xml b/dev-tools/pom.xml index 03486764bb4..b8abf8860fe 100644 --- a/dev-tools/pom.xml +++ b/dev-tools/pom.xml @@ -2,7 +2,7 @@ 4.0.0 org.elasticsearch elasticsearch-dev-tools - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT Elasticsearch Build Resources Tools to assist in building and developing in the Elasticsearch project diff --git a/distribution/deb/pom.xml b/distribution/deb/pom.xml index 677364b42a8..b87824d5087 100644 --- a/distribution/deb/pom.xml +++ b/distribution/deb/pom.xml @@ -6,7 +6,7 @@ org.elasticsearch.distribution elasticsearch-distribution - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT org.elasticsearch.distribution.deb diff --git a/distribution/fully-loaded/pom.xml b/distribution/fully-loaded/pom.xml index 9fef31640d9..91988f187ab 100644 --- a/distribution/fully-loaded/pom.xml +++ b/distribution/fully-loaded/pom.xml @@ -6,7 +6,7 @@ org.elasticsearch.distribution elasticsearch-distribution - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT org.elasticsearch.distribution.fully-loaded diff --git a/distribution/pom.xml b/distribution/pom.xml index cb3bdfc5275..4bb46e2e7f8 100644 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -6,7 +6,7 @@ org.elasticsearch elasticsearch-parent - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT org.elasticsearch.distribution diff --git a/distribution/rpm/pom.xml b/distribution/rpm/pom.xml index 8b9da21d8d3..fa3d6dd8b0c 100644 --- a/distribution/rpm/pom.xml +++ b/distribution/rpm/pom.xml @@ -6,7 +6,7 @@ org.elasticsearch.distribution elasticsearch-distribution - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT org.elasticsearch.distribution.rpm diff --git a/distribution/shaded/pom.xml b/distribution/shaded/pom.xml index 63f12ec365b..7024504a7ec 100644 --- a/distribution/shaded/pom.xml +++ b/distribution/shaded/pom.xml @@ -6,7 +6,7 @@ org.elasticsearch.distribution elasticsearch-distribution - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT org.elasticsearch.distribution.shaded diff --git a/distribution/tar/pom.xml b/distribution/tar/pom.xml index 443480548a7..d54e48c64b3 100644 --- a/distribution/tar/pom.xml +++ b/distribution/tar/pom.xml @@ -6,7 +6,7 @@ org.elasticsearch.distribution elasticsearch-distribution - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT org.elasticsearch.distribution.tar diff --git a/distribution/zip/pom.xml b/distribution/zip/pom.xml index 854036c217a..ab8f9afe030 100644 --- a/distribution/zip/pom.xml +++ b/distribution/zip/pom.xml @@ -6,7 +6,7 @@ org.elasticsearch.distribution elasticsearch-distribution - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT org.elasticsearch.distribution.zip diff --git a/plugins/analysis-icu/pom.xml b/plugins/analysis-icu/pom.xml index 1214cbc82c0..d0679295787 100644 --- a/plugins/analysis-icu/pom.xml +++ b/plugins/analysis-icu/pom.xml @@ -7,7 +7,7 @@ org.elasticsearch.plugin elasticsearch-plugin - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT elasticsearch-analysis-icu diff --git a/plugins/analysis-kuromoji/pom.xml b/plugins/analysis-kuromoji/pom.xml index 7cb0fa762ea..1ac11b858b6 100644 --- a/plugins/analysis-kuromoji/pom.xml +++ b/plugins/analysis-kuromoji/pom.xml @@ -7,7 +7,7 @@ org.elasticsearch.plugin elasticsearch-plugin - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT elasticsearch-analysis-kuromoji diff --git a/plugins/analysis-phonetic/pom.xml b/plugins/analysis-phonetic/pom.xml index f5bafe2b865..f355a255a3f 100644 --- a/plugins/analysis-phonetic/pom.xml +++ b/plugins/analysis-phonetic/pom.xml @@ -7,7 +7,7 @@ org.elasticsearch.plugin elasticsearch-plugin - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT elasticsearch-analysis-phonetic diff --git a/plugins/analysis-smartcn/pom.xml b/plugins/analysis-smartcn/pom.xml index 178d5f142a6..b0ed1943d23 100644 --- a/plugins/analysis-smartcn/pom.xml +++ b/plugins/analysis-smartcn/pom.xml @@ -7,7 +7,7 @@ org.elasticsearch.plugin elasticsearch-plugin - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT elasticsearch-analysis-smartcn diff --git a/plugins/analysis-stempel/pom.xml b/plugins/analysis-stempel/pom.xml index 4f8f59c0611..febe5eb94ab 100644 --- a/plugins/analysis-stempel/pom.xml +++ b/plugins/analysis-stempel/pom.xml @@ -7,7 +7,7 @@ org.elasticsearch.plugin elasticsearch-plugin - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT elasticsearch-analysis-stempel diff --git a/plugins/cloud-aws/pom.xml b/plugins/cloud-aws/pom.xml index 35edcf5d238..04417a9b724 100644 --- a/plugins/cloud-aws/pom.xml +++ b/plugins/cloud-aws/pom.xml @@ -7,7 +7,7 @@ org.elasticsearch.plugin elasticsearch-plugin - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT elasticsearch-cloud-aws diff --git a/plugins/cloud-azure/pom.xml b/plugins/cloud-azure/pom.xml index c339c114cb1..ff67fc31600 100644 --- a/plugins/cloud-azure/pom.xml +++ b/plugins/cloud-azure/pom.xml @@ -18,7 +18,7 @@ governing permissions and limitations under the License. --> org.elasticsearch.plugin elasticsearch-plugin - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT elasticsearch-cloud-azure diff --git a/plugins/cloud-gce/pom.xml b/plugins/cloud-gce/pom.xml index caf63152454..30a8c965384 100644 --- a/plugins/cloud-gce/pom.xml +++ b/plugins/cloud-gce/pom.xml @@ -18,7 +18,7 @@ governing permissions and limitations under the License. --> org.elasticsearch.plugin elasticsearch-plugin - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT elasticsearch-cloud-gce diff --git a/plugins/delete-by-query/pom.xml b/plugins/delete-by-query/pom.xml index 62ee8fdb9b1..222d00585ff 100644 --- a/plugins/delete-by-query/pom.xml +++ b/plugins/delete-by-query/pom.xml @@ -18,7 +18,7 @@ governing permissions and limitations under the License. --> org.elasticsearch.plugin elasticsearch-plugin - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT elasticsearch-delete-by-query diff --git a/plugins/jvm-example/pom.xml b/plugins/jvm-example/pom.xml index db6edafe84f..6f7b3420880 100644 --- a/plugins/jvm-example/pom.xml +++ b/plugins/jvm-example/pom.xml @@ -7,7 +7,7 @@ org.elasticsearch.plugin elasticsearch-plugin - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT elasticsearch-jvm-example diff --git a/plugins/lang-javascript/pom.xml b/plugins/lang-javascript/pom.xml index eb6e21cd704..e1ae181e7c1 100644 --- a/plugins/lang-javascript/pom.xml +++ b/plugins/lang-javascript/pom.xml @@ -7,7 +7,7 @@ org.elasticsearch.plugin elasticsearch-plugin - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT elasticsearch-lang-javascript diff --git a/plugins/lang-python/pom.xml b/plugins/lang-python/pom.xml index b69a07b0ed7..a88bdd66ac0 100644 --- a/plugins/lang-python/pom.xml +++ b/plugins/lang-python/pom.xml @@ -7,7 +7,7 @@ org.elasticsearch.plugin elasticsearch-plugin - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT elasticsearch-lang-python diff --git a/plugins/mapper-size/pom.xml b/plugins/mapper-size/pom.xml index cdbb869a702..4b80b5fa0f1 100644 --- a/plugins/mapper-size/pom.xml +++ b/plugins/mapper-size/pom.xml @@ -18,7 +18,7 @@ governing permissions and limitations under the License. --> org.elasticsearch.plugin elasticsearch-plugin - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT elasticsearch-mapper-size diff --git a/plugins/pom.xml b/plugins/pom.xml index f45f7f54851..df783fd34e4 100644 --- a/plugins/pom.xml +++ b/plugins/pom.xml @@ -7,7 +7,7 @@ org.elasticsearch.plugin elasticsearch-plugin - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT pom Elasticsearch Plugin POM 2009 @@ -16,7 +16,7 @@ org.elasticsearch elasticsearch-parent - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT diff --git a/plugins/site-example/pom.xml b/plugins/site-example/pom.xml index 15060e0bd52..0a6beb1a0b0 100644 --- a/plugins/site-example/pom.xml +++ b/plugins/site-example/pom.xml @@ -7,7 +7,7 @@ org.elasticsearch.plugin elasticsearch-plugin - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT elasticsearch-site-example diff --git a/pom.xml b/pom.xml index f5f66eeae6c..a66f5ba5b43 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.elasticsearch elasticsearch-parent - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT pom Elasticsearch Parent POM Elasticsearch Parent POM diff --git a/qa/pom.xml b/qa/pom.xml index bc8ee257830..64af314e5b3 100644 --- a/qa/pom.xml +++ b/qa/pom.xml @@ -7,7 +7,7 @@ org.elasticsearch.qa elasticsearch-qa - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT pom QA: Parent POM 2015 @@ -15,7 +15,7 @@ org.elasticsearch elasticsearch-parent - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT diff --git a/qa/smoke-test-multinode/pom.xml b/qa/smoke-test-multinode/pom.xml index e6debb7e5cc..b03c57c1abe 100644 --- a/qa/smoke-test-multinode/pom.xml +++ b/qa/smoke-test-multinode/pom.xml @@ -8,7 +8,7 @@ org.elasticsearch.qa elasticsearch-qa - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT