Make integ tests antfile a property, so it can be changed

This commit is contained in:
Robert Muir 2015-07-09 00:39:28 -04:00
parent 1504b3d97d
commit a4dba6256d
1 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
@ -20,6 +21,8 @@
<properties>
<elasticsearch.assembly.descriptor>${basedir}/src/main/assemblies/plugin.xml</elasticsearch.assembly.descriptor>
<elasticsearch.assembly.appendId>false</elasticsearch.assembly.appendId>
<elasticsearch.integ.antfile.default>${elasticsearch.tools.directory}/ant/integration-tests.xml</elasticsearch.integ.antfile.default>
<elasticsearch.integ.antfile>${elasticsearch.integ.antfile.default}</elasticsearch.integ.antfile>
</properties>
<dependencies>
@ -312,7 +315,7 @@
</goals>
<configuration>
<target>
<ant antfile="${elasticsearch.tools.directory}/ant/integration-tests.xml"
<ant antfile="${elasticsearch.integ.antfile}"
target="start-external-cluster-with-plugin"/>
</target>
</configuration>
@ -326,7 +329,7 @@
</goals>
<configuration>
<target>
<ant antfile="${elasticsearch.tools.directory}/ant/integration-tests.xml"
<ant antfile="${elasticsearch.integ.antfile}"
target="stop-external-cluster"/>
</target>
</configuration>