Apache Lucene open-source search software
LUCENE-4011: work around javadoc bug and enable javadocs-lint for solr
Robert Muir9bf158e09543
diff --git a/dev-tools/scripts/checkJavadocLinks.py b/dev-tools/scripts/checkJavadocLinks.pyindex de2eb3f1ba2..c8a0f3c71c6 100644--- a/dev-tools/scripts/checkJavadocLinks.py+++ b/dev-tools/scripts/checkJavadocLinks.py@@ -186,6 +186,10 @@ def checkAll(dirName):elif link.startswith('javascript:'):# ok...?pass+ elif 'org/apache/solr/client/solrj/beans/Field.html' in link:+ # see LUCENE-4011: this is a javadocs bug for constants+ # on annotations it seems?+ passelif link not in allFiles:# We only load HTML... so if the link is another resource (eg# SweetSpotSimilarity refsdiff --git a/solr/build.xml b/solr/build.xmlindex 909211821ad..2c2e50a36f7 100644--- a/solr/build.xml+++ b/solr/build.xml@@ -546,7 +546,7 @@<!-- TODO: does solr have any other docs we should check? --><!-- TODO: also integrate checkJavaDocs.py, which does more checks --><target name="javadocs-lint" depends="javadocs">- <!-- TODO: enable <check-broken-links dir="build/docs"/> -->+ <check-broken-links dir="build/docs"/></target><target name="generate-maven-artifacts" depends="install-maven-tasks">