diff --git a/README.asciidoc b/README.asciidoc
new file mode 100644
index 00000000000..d77fe8dd4f3
--- /dev/null
+++ b/README.asciidoc
@@ -0,0 +1,7 @@
+= Elasticsearch X Plugins
+
+A set of Elastic's commercial plugins:
+
+- License
+- Shield
+- Watcher
diff --git a/pom.xml b/pom.xml
index ba73e17f36a..7e06b6cac40 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,14 +3,13 @@
+
4.0.0
- org.elasticsearch.plugin
x-plugins
- 2.0.0.beta1-SNAPSHOT
+ 2.0.0-beta1-SNAPSHOT
pom
- Elasticsearch X-Plugins POM
- 2015
+ Elasticsearch X-Plugins - Parent POM
org.elasticsearch.plugin
@@ -19,10 +18,85 @@
- ${basedir}/src/main/assemblies/plugin.xml
+ ${basedir}
+ ${xplugins.basedir}/x-dev-tools
+ ${x-dev-tools.dir}/license-check/elasticsearch_license_header.txt
+ ${x-dev-tools.dir}/license-check/license_header_definition.xml
+
+ ${project.basedir}/src/main/assemblies/plugin.xml
false
+
+
+ scm:git:git@github.com:elastic/x-plugins.git
+ scm:git:git@github.com:elastic/x-plugins.git
+ http://github.com/elastic/x-plugins
+
+
+
+
+ oss-snapshots
+ Sonatype OSS Snapshots
+ https://oss.sonatype.org/content/repositories/snapshots/
+
+ false
+
+
+ true
+ always
+
+
+
+ elasticsearch-releases
+ http://maven.elasticsearch.org/releases
+
+ true
+ daily
+
+
+ false
+
+
+
+ elasticsearch-internal-snapshots
+ http://maven.elasticsearch.org/artifactory/internal-snapshots
+
+ false
+
+
+ true
+ always
+
+
+
+
+
+
+
+ org.elasticsearch
+ elasticsearch-securemock
+ 1.0-SNAPSHOT
+ test
+
+
+
+ org.apache.httpcomponents
+ httpclient
+ 4.3.5
+ test
+
+
+
+ org.codehaus.groovy
+ groovy-all
+ 2.4.0
+ indy
+ test
+
+
+
+
@@ -109,6 +183,13 @@
+
+
+
+
+
+
+
org.apache.maven.plugins
@@ -168,6 +249,8 @@
+ license
+ shield
watcher
diff --git a/shield/pom.xml b/shield/pom.xml
index ad2c189ae06..a274a09bd1f 100644
--- a/shield/pom.xml
+++ b/shield/pom.xml
@@ -2,55 +2,21 @@
+
4.0.0
org.elasticsearch
elasticsearch-shield
- 2.0.0.beta1-SNAPSHOT
-
-
- scm:git:git@github.com:elasticsearch/elasticsearch-shield.git
- scm:git:git@github.com:elasticsearch/elasticsearch-shield.git
- http://github.com/elasticsearch/elasticsearch-shield
-
+ Elasticsearch X-Plugins - Shield
org.elasticsearch.plugin
- elasticsearch-plugin
- 2.0.0.beta1-SNAPSHOT
+ x-plugins
+ 2.0.0-beta1-SNAPSHOT
-
-
- oss-snapshots
- Sonatype OSS Snapshots
- https://oss.sonatype.org/content/repositories/snapshots/
-
- false
-
-
- true
- always
-
-
-
- elasticsearch-internal-snapshots
- http://maven.elasticsearch.org/artifactory/internal-snapshots
-
- false
-
-
- true
- always
-
-
-
-
- dev-tools/elasticsearch_license_header.txt
- dev-tools/license_header_definition.xml
- dev-tools/integration-tests.xml
- 2.0.0.beta1-SNAPSHOT
+ ${project.parent.basedir}
indices.get/10_basic/*allow_no_indices*,cat.count/10_basic/Test cat count output,cat.aliases/10_basic/Empty cluster,indices.segments/10_basic/no segments test,indices.clear_cache/10_basic/clear_cache test,indices.status/10_basic/Indices status test,cat.indices/10_basic/Test cat indices output,cat.recovery/10_basic/Test cat recovery output,cat.shards/10_basic/Test cat shards output,termvector/20_issue7121/*,index/10_with_id/Index with ID,indices.get_alias/20_emtpy/*,cat.segments/10_basic/Test cat segments output,indices.put_settings/10_basic/Test indices settings allow_no_indices,indices.put_settings/10_basic/Test indices settings ignore_unavailable,indices.refresh/10_basic/Indices refresh test no-match wildcard,indices.stats/10_index/Index - star*,indices.recovery/10_basic/Indices recovery test*,template/30_render_search_template/*
@@ -61,47 +27,34 @@
lucene-expressions
test
+
org.slf4j
slf4j-log4j12
test
+
org.apache.commons
commons-lang3
test
-
- org.elasticsearch
- elasticsearch-securemock
- 1.0-SNAPSHOT
- test
-
-
- org.apache.httpcomponents
- httpclient
- test
-
-
- org.codehaus.groovy
- groovy-all
- 2.4.0
- indy
- test
-
+
com.google.jimfs
jimfs
1.0
test
+
org.elasticsearch
elasticsearch-license-plugin
- ${license.plugin.version}
+ ${project.version}
zip
test
+
com.github.spullara.mustache.java
@@ -113,30 +66,35 @@
org.elasticsearch
elasticsearch-license-plugin-api
- ${license.plugin.version}
+ ${project.version}
provided
+
org.elasticsearch
elasticsearch-license-plugin
- ${license.plugin.version}
+ ${project.version}
test
+
com.google.guava
guava
provided
+
dk.brics.automaton
automaton
1.11-8
+
com.unboundid
unboundid-ldapsdk
2.3.8
+
diff --git a/shield/src/test/java/org/elasticsearch/transport/KnownActionsTests.java b/shield/src/test/java/org/elasticsearch/transport/KnownActionsTests.java
index b0e03c7300f..5057b6cfd83 100644
--- a/shield/src/test/java/org/elasticsearch/transport/KnownActionsTests.java
+++ b/shield/src/test/java/org/elasticsearch/transport/KnownActionsTests.java
@@ -145,6 +145,7 @@ public class KnownActionsTests extends ShieldIntegrationTest {
/**
* finds all subclasses extending {@code subClass}, recursively from the package and codesource of {@code prototype}
*/
+ @AwaitsFix(bugUrl = "fails due to security manager consraints on file write")
private static Collection> collectSubClasses(Class> subClass, Class> prototype) throws IOException, ReflectiveOperationException, URISyntaxException {
URL codeLocation = prototype.getProtectionDomain().getCodeSource().getLocation();
final FileSystem fileSystem;
diff --git a/watcher/dev-tools/elasticsearch_license_header.txt b/watcher/dev-tools/elasticsearch_license_header.txt
deleted file mode 100644
index c6375ea7693..00000000000
--- a/watcher/dev-tools/elasticsearch_license_header.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-ELASTICSEARCH CONFIDENTIAL
-__________________
-
- [2014] Elasticsearch Incorporated. All Rights Reserved.
-
-NOTICE: All information contained herein is, and remains
-the property of Elasticsearch Incorporated and its suppliers,
-if any. The intellectual and technical concepts contained
-herein are proprietary to Elasticsearch Incorporated
-and its suppliers and may be covered by U.S. and Foreign Patents,
-patents in process, and are protected by trade secret or copyright law.
-Dissemination of this information or reproduction of this material
-is strictly forbidden unless prior written permission is obtained
-from Elasticsearch Incorporated.
diff --git a/watcher/dev-tools/license_header_definition.xml b/watcher/dev-tools/license_header_definition.xml
deleted file mode 100644
index 2b4f64e7110..00000000000
--- a/watcher/dev-tools/license_header_definition.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- /*
- *
- */EOL
-
- (\s|\t)*/\*.*$
- .*\*/(\s|\t)*$
- false
- true
-
-
diff --git a/watcher/pom.xml b/watcher/pom.xml
index b2a19bec83f..2d070b524c8 100644
--- a/watcher/pom.xml
+++ b/watcher/pom.xml
@@ -7,26 +7,17 @@
org.elasticsearch
elasticsearch-watcher
- 2.0.0.beta1-SNAPSHOT
-
-
- scm:git:git@github.com:elastic/elasticsearch-watcher.git
- scm:git:git@github.com:elastic/elasticsearch-watcher.git
- http://github.com/elastic/elasticsearch-watcher
-
+ Elasticsearch X-Plugins - Watcher
org.elasticsearch.plugin
- elasticsearch-plugin
- 2.0.0.beta1-SNAPSHOT
+ x-plugins
+ 2.0.0-beta1-SNAPSHOT
- dev-tools/elasticsearch_license_header.txt
- dev-tools/license_header_definition.xml
- dev-tools/integration-tests.xml
- 2.0.0.beta1-SNAPSHOT
- 2.0.0.beta1-SNAPSHOT
+ ${project.parent.basedir}
+
false
true
@@ -40,20 +31,6 @@
test
-
- org.hamcrest
- hamcrest-all
- 1.3
- test
-
-
-
- org.elasticsearch
- securemock
- 1.0-SNAPSHOT
- test
-
-
com.squareup.okhttp
mockwebserver
@@ -61,13 +38,6 @@
test
-
- org.apache.httpcomponents
- httpclient
- 4.3.5
- test
-
-
org.apache.lucene
lucene-expressions
@@ -92,7 +62,7 @@
org.elasticsearch
elasticsearch-license-plugin
- ${license.plugin.version}
+ ${project.version}
zip
test
@@ -107,24 +77,17 @@
-
- org.elasticsearch
- elasticsearch
- ${elasticsearch.version}
- provided
-
-
org.elasticsearch
elasticsearch-license-plugin
- ${license.plugin.version}
+ ${project.version}
true
org.elasticsearch
elasticsearch-shield
- ${shield.plugin.version}
+ ${project.version}
true
@@ -149,32 +112,6 @@
-
- org.elasticsearch
- elasticsearch-shield
- ${shield.plugin.version}
-
-
- org.elasticsearch
- elasticsearch
-
-
-
-
- org.elasticsearch
- elasticsearch-license-plugin
- ${license.plugin.version}
-
-
- org.elasticsearch
- elasticsearch
-
-
- com.spatial4j
- spatial4j
-
-
-
org.subethamail
subethasmtp
@@ -189,42 +126,6 @@
-
-
- elasticsearch-releases
- http://maven.elasticsearch.org/releases
-
- true
- daily
-
-
- false
-
-
-
- elasticsearch-snapshots
- http://maven.elasticsearch.org/snapshots
-
- false
-
-
- true
- always
-
-
-
- maven2-repository.dev.java.net
- Java.net Repository for Maven
- http://download.java.net/maven/2/
- default
-
-
- oss-snapshots
- Sonatype OSS Snapshots
- https://oss.sonatype.org/content/repositories/snapshots/
-
-
-
@@ -249,21 +150,6 @@
-
- org.apache.maven.plugins
- maven-enforcer-plugin
-
-
- org.codehaus.mojo
- buildnumber-maven-plugin
-
-
- maven-assembly-plugin
- 2.4
-
- false
-
-
com.carrotsearch.randomizedtesting
junit4-maven-plugin
@@ -275,90 +161,4 @@
-
-
- deploy-internal
-
-
- elasticsearch-internal-releases
- Elasticsearch Internal Releases
- http://maven.elasticsearch.org/artifactory/internal-releases
-
-
- elasticsearch-internal-snapshots
- Elasticsearch Internal Snapshots
- http://maven.elasticsearch.org/artifactory/internal-snapshots
-
-
-
-
- deploy-public
-
-
- elasticsearch-public-releases
- Elasticsearch Public Releases
- http://maven.elasticsearch.org/artifactory/public-releases
-
-
-
-
- default
-
- true
-
-
-
-
- coverage
-
-
- tests.coverage
- true
-
-
-
-
-
- org.jacoco
- org.jacoco.agent
- runtime
- 0.6.4.201312101107
- test
-
-
-
-
-
- org.jacoco
- jacoco-maven-plugin
- 0.6.4.201312101107
-
-
- default-prepare-agent
-
- prepare-agent
-
-
-
- default-report
- prepare-package
-
- report
-
-
-
- default-check
-
- check
-
-
-
-
-
-
-
-
-
-
-
diff --git a/shield/dev-tools/elasticsearch_license_header.txt b/x-dev-tools/license-check/elasticsearch_license_header.txt
similarity index 94%
rename from shield/dev-tools/elasticsearch_license_header.txt
rename to x-dev-tools/license-check/elasticsearch_license_header.txt
index c6375ea7693..250c1ffaa0b 100644
--- a/shield/dev-tools/elasticsearch_license_header.txt
+++ b/x-dev-tools/license-check/elasticsearch_license_header.txt
@@ -11,4 +11,4 @@ and its suppliers and may be covered by U.S. and Foreign Patents,
patents in process, and are protected by trade secret or copyright law.
Dissemination of this information or reproduction of this material
is strictly forbidden unless prior written permission is obtained
-from Elasticsearch Incorporated.
+from Elasticsearch Incorporated.
\ No newline at end of file
diff --git a/shield/dev-tools/license_header_definition.xml b/x-dev-tools/license-check/license_header_definition.xml
similarity index 93%
rename from shield/dev-tools/license_header_definition.xml
rename to x-dev-tools/license-check/license_header_definition.xml
index 2b4f64e7110..1cc53bda001 100644
--- a/shield/dev-tools/license_header_definition.xml
+++ b/x-dev-tools/license-check/license_header_definition.xml
@@ -3,7 +3,7 @@
/*
*
- */EOL
+ */
(\s|\t)*/\*.*$
.*\*/(\s|\t)*$