don't try to run tests for packaging=pom
This commit is contained in:
parent
d7bc274690
commit
23dfb5f1a5
|
@ -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"
|
||||
|
|
4
pom.xml
4
pom.xml
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue