Merge pull request elastic/elasticsearch#659 from rjernst/spec_in_resources

Move rest-api-spec tests to resources dirs

Original commit: elastic/x-pack-elasticsearch@1e732faa91
This commit is contained in:
Ryan Ernst 2015-09-16 11:15:10 -07:00
commit fcaa8d6a37
35 changed files with 9 additions and 3 deletions

View File

@ -111,9 +111,15 @@
<testResources>
<testResource>
<directory>${basedir}/src/test/resources</directory>
<includes>
<include>**/*.*</include>
</includes>
<excludes>
<exclude>rest-api-spec/**</exclude>
</excludes>
</testResource>
<testResource>
<!-- the rest spec tests need the port for some reason.... -->
<directory>${basedir}/src/test/resources/rest-api-spec</directory>
<targetPath>rest-api-spec</targetPath>
<filtering>true</filtering>
</testResource>
<testResource>
<directory>${basedir}/rest-api-spec</directory>