LUCENE-4011: work around javadoc bug and enable javadocs-lint for solr

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329272 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-04-23 15:08:27 +00:00
parent a316fb69ee
commit 9bf158e095
2 changed files with 5 additions and 1 deletions

View File

@ -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?
pass
elif link not in allFiles:
# We only load HTML... so if the link is another resource (eg
# SweetSpotSimilarity refs

View File

@ -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">