diff --git a/core/pom.xml b/core/pom.xml
index 8782a9ee95e..81b6498a8d7 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -44,44 +44,10 @@
- org.apache.lucene
- lucene-core
-
-
- org.apache.lucene
- lucene-backward-codecs
-
-
- org.apache.lucene
- lucene-analyzers-common
-
-
- org.apache.lucene
- lucene-queries
-
-
- org.apache.lucene
- lucene-memory
-
-
- org.apache.lucene
- lucene-highlighter
-
-
- org.apache.lucene
- lucene-queryparser
-
-
- org.apache.lucene
- lucene-suggest
-
-
- org.apache.lucene
- lucene-join
-
-
- org.apache.lucene
- lucene-spatial
+ org.elasticsearch
+ elasticsearch-lucene
+ ${elasticsearch.version}
+ pom
org.apache.lucene
diff --git a/distribution/shaded/pom.xml b/distribution/shaded/pom.xml
index 7024504a7ec..2302d1db2a6 100644
--- a/distribution/shaded/pom.xml
+++ b/distribution/shaded/pom.xml
@@ -77,6 +77,7 @@
${project.build.directory}/dependency-reduced-pom.xml
+ org.elasticsearch:elasticsearch-lucene
org.apache.lucene:*
com.spatial4j:*
diff --git a/lucene/pom.xml b/lucene/pom.xml
new file mode 100644
index 00000000000..e423d9e9a70
--- /dev/null
+++ b/lucene/pom.xml
@@ -0,0 +1,62 @@
+
+
+
+ elasticsearch-parent
+ org.elasticsearch
+ 2.0.0-beta1-SNAPSHOT
+
+ 4.0.0
+
+ elasticsearch-lucene
+ Lucene dependencies for elasticsearch
+ pom
+
+
+ true
+
+
+
+
+ org.apache.lucene
+ lucene-core
+
+
+ org.apache.lucene
+ lucene-backward-codecs
+
+
+ org.apache.lucene
+ lucene-analyzers-common
+
+
+ org.apache.lucene
+ lucene-queries
+
+
+ org.apache.lucene
+ lucene-memory
+
+
+ org.apache.lucene
+ lucene-highlighter
+
+
+ org.apache.lucene
+ lucene-queryparser
+
+
+ org.apache.lucene
+ lucene-suggest
+
+
+ org.apache.lucene
+ lucene-join
+
+
+ org.apache.lucene
+ lucene-spatial
+
+
+
diff --git a/pom.xml b/pom.xml
index a66f5ba5b43..8fc826bc7e5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1487,6 +1487,7 @@ org.eclipse.jdt.ui.text.custom_code_templates=
dev-tools
rest-api-spec
+ lucene
core
distribution
plugins
diff --git a/qa/smoke-test-shaded/pom.xml b/qa/smoke-test-shaded/pom.xml
index 0b968e13d55..d0bb0ede85f 100644
--- a/qa/smoke-test-shaded/pom.xml
+++ b/qa/smoke-test-shaded/pom.xml
@@ -23,7 +23,19 @@
org.elasticsearch.distribution.shaded
elasticsearch
- 2.0.0-SNAPSHOT
+ ${elasticsearch.version}
+
+
+ org.elasticsearch
+ elasticsearch
+
+
+
+
+ org.elasticsearch
+ elasticsearch-lucene
+ ${elasticsearch.version}
+ pom
org.hamcrest