mirror of https://github.com/apache/lucene.git
SOLR-10219: stop defaulting to tests.disableHdfs=true under java9
This commit is contained in:
parent
540a237231
commit
4851f399d4
|
@ -173,15 +173,6 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
<profiles>
|
<profiles>
|
||||||
<profile>
|
|
||||||
<id>java9-tests-disableHdfs</id>
|
|
||||||
<activation>
|
|
||||||
<jdk>[9,)</jdk>
|
|
||||||
</activation>
|
|
||||||
<properties>
|
|
||||||
<tests.disableHdfs>true</tests.disableHdfs>
|
|
||||||
</properties>
|
|
||||||
</profile>
|
|
||||||
<profile>
|
<profile>
|
||||||
<id>windows-tests-disableHdfs</id>
|
<id>windows-tests-disableHdfs</id>
|
||||||
<activation>
|
<activation>
|
||||||
|
|
|
@ -151,14 +151,11 @@
|
||||||
</macrodef>
|
</macrodef>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
We don't want to run HDFS tests on Windows, because they require Cygwin.
|
We don't want to run HDFS tests on Windows by default, because they require Cygwin.
|
||||||
We don't want to run HDFS tests on Java 9 Jigsaw, because Hadoop/HDFS is completely broken with Java's module system.
|
Cygwin users can explicitly set -Dtests.disableHdfs=false to enable Hdfs related testing.
|
||||||
-->
|
-->
|
||||||
<condition property="tests.disableHdfs" value="true">
|
<condition property="tests.disableHdfs" value="true">
|
||||||
<or>
|
<os family="windows"/>
|
||||||
<os family="windows"/>
|
|
||||||
<available classname="java.lang.reflect.Module"/>
|
|
||||||
</or>
|
|
||||||
</condition>
|
</condition>
|
||||||
|
|
||||||
<target name="validate" depends="compile-tools">
|
<target name="validate" depends="compile-tools">
|
||||||
|
|
Loading…
Reference in New Issue