Merge pull request #13611 from rjernst/spec_in_resources

Move rest-api-spec for plugins into test resources
This commit is contained in:
Ryan Ernst 2015-09-16 11:15:35 -07:00
commit b14326d494
32 changed files with 1 additions and 36 deletions

View File

@ -221,46 +221,11 @@
<!-- typical layout for plugins -->
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/*.properties</include>
</includes>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/java</directory>
<includes>
<include>**/*.json</include>
<include>**/*.txt</include>
</includes>
</testResource>
<testResource>
<directory>src/test/resources</directory>
<excludes>
<exclude>elasticsearch.yml</exclude>
<exclude>**/*.properties</exclude>
</excludes>
</testResource>
<testResource>
<directory>src/test/resources</directory>
<filtering>true</filtering>
<includes>
<include>elasticsearch.yml</include>
<include>**/*.properties</include>
</includes>
</testResource>
<!-- REST API specification and test suites -->
<testResource>
<directory>${project.basedir}/rest-api-spec</directory>
<targetPath>rest-api-spec</targetPath>
<includes>
<include>api/*.json</include>
<include>test/**/*.yaml</include>
<include>**/*</include>
</includes>
</testResource>
<!-- REST API specifications copied from main Elasticsearch specs