Skip to content

Apache Lucene open-source search software

LUCENE-5850: Remove useless checks and properties

Uwe Schindler7774b62ff3eb
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index d87f64700bc..e22ac4084eb 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -30,7 +30,6 @@
<!-- The base version of the next release (including bugfix number, e.g., x.y.z+): -->
<property name="version.base" value="5.0.0"/>
-
<!-- !!! RELEASE MANAGER: Don't change anything after this line! !!! -->
@@ -60,8 +59,6 @@
<!--TODO: remove once Jenkins jobs are updated:--><property name="dev.version.suffix" value="SNAPSHOT"/>
- <!-- The corresponding version as oal.util.Version used for matchVersion (x.y): -->
- <property name="version.luceneMatchVersion" value="${version.base}"/>
<!-- Suffix of the version, by default SNAPSHOT: -->
<property name="version.suffix" value="${dev.version.suffix}"/>
<property name="version" value="${version.base}-${version.suffix}"/>
@@ -73,15 +70,6 @@
</condition>
</fail>
- <fail message="Invalid version.luceneMatchVersion property: ${version.luceneMatchVersion}">
- <condition>
- <not><and>
- <matches pattern="^\d+\.\d+\.\d+$" casesensitive="true" string="${version.luceneMatchVersion}"/>
- <matches pattern="^\Q${version.luceneMatchVersion}\E(\.|\-|\b).*$" casesensitive="true" string="${version}"/>
- </and></not>
- </condition>
- </fail>
-
<property name="year" value="2000-${current.year}"/>
<!-- Lucene modules unfortunately don't have the "lucene-" prefix, so we add it if no prefix is given in $name: -->
@@ -143,7 +131,7 @@
<property name="tests.verbose" value="false"/>
<property name="tests.infostream" value="${tests.verbose}"/>
<property name="tests.filterstacks" value="true"/>
- <property name="tests.luceneMatchVersion" value="${version.luceneMatchVersion}"/>
+ <property name="tests.luceneMatchVersion" value="${version.base}"/>
<condition property="tests.heapsize" value="768M">
<isset property="run.clover"/>