28 lines
943 B
XML
28 lines
943 B
XML
|
<?xml version="1.0"?>
|
||
|
<project name="smoke-test-plugins"
|
||
|
xmlns:ac="antlib:net.sf.antcontrib">
|
||
|
|
||
|
<import file="${elasticsearch.integ.antfile.default}"/>
|
||
|
|
||
|
<target name="start-external-cluster-with-plugins" depends="setup-workspace" unless="${shouldskip}">
|
||
|
<fail message="Expected ${expected.plugin.count} dependencies, are plugins missing from this pom.xml?">
|
||
|
<condition>
|
||
|
<resourcecount count="${expected.plugin.count}" when="ne">
|
||
|
<fileset dir="${integ.deps}/plugins"/>
|
||
|
</resourcecount>
|
||
|
</condition>
|
||
|
</fail>
|
||
|
<ac:for param="file">
|
||
|
<path>
|
||
|
<fileset dir="${integ.deps}/plugins"/>
|
||
|
</path>
|
||
|
<sequential>
|
||
|
<local name="plugin.name"/>
|
||
|
<convert-plugin-name file="@{file}" outputproperty="plugin.name"/>
|
||
|
<install-plugin name="${plugin.name}" file="@{file}"/>
|
||
|
</sequential>
|
||
|
</ac:for>
|
||
|
<startup-elasticsearch/>
|
||
|
</target>
|
||
|
</project>
|