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