don't try to run tests for packaging=pom

This commit is contained in:
Robert Muir 2015-07-06 15:49:57 -04:00
parent d7bc274690
commit 23dfb5f1a5
2 changed files with 11 additions and 2 deletions

View File

@ -1,6 +1,11 @@
<?xml version="1.0"?>
<project name="elasticsearch-integration-tests">
<!-- this is all to not run tests for 'pom' packaging. maven you fail -->
<condition property="shouldskip">
<istrue value="${skip.integ.tests}"/>
</condition>
<!-- runs an OS script -->
<macrodef name="run-script">
<attribute name="script"/>
@ -22,7 +27,7 @@
</macrodef>
<!-- unzip core release artifact and start ES -->
<target name="start-external-cluster">
<target name="start-external-cluster" unless="${shouldskip}">
<property name="integ.finalname" value="${project.artifactId}-${project.version}"/>
<property name="integ.scratch" location="${project.build.directory}/integ-tests"/>
@ -48,7 +53,7 @@
</target>
<!-- unzip core release artifact, install plugin, then start ES -->
<target name="start-external-cluster-with-plugin">
<target name="start-external-cluster-with-plugin" unless="${shouldskip}">
<property name="integ.scratch" location="${project.build.directory}/integ-tests"/>
<unzip src="${settings.localRepository}/org/elasticsearch/elasticsearch/${elasticsearch.version}/elasticsearch-${elasticsearch.version}.zip"

View File

@ -1346,6 +1346,10 @@ org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UT
<missing>${basedir}/src</missing>
</file>
</activation>
<properties>
<skip.unit.tests>true</skip.unit.tests>
<skip.integ.tests>true</skip.integ.tests>
</properties>
<build>
<plugins>
<plugin>