Apache Solr open-source search software
LUCENE-4797: For now disable javadoc-lint provided by JDK8, so we can enable recent JDK8 builds on jenkins. Our own doclint is already disabled, so the missing doc-files don't matter! To test and fix bugs with JDK8, run ant javadocs -Djavadoc.args=-Xdoclint:all
Uwe Schindler43fe27bf8e48
diff --git a/lucene/common-build.xml b/lucene/common-build.xmlindex d8f024c2b19..d2067dec371 100644--- a/lucene/common-build.xml+++ b/lucene/common-build.xml@@ -311,6 +311,11 @@<echo level="warning" message="WARN: Linting documentation HTML is not supported on this Java version (${build.java.runtime}) / JVM (${java.vm.name}). NOTHING DONE!"/></target>+ <!-- for now disable doclint on JDK 8: -->+ <condition property="javadoc.args" value="-Xdoclint:none" else="">+ <equals arg1="${build.java.runtime}" arg2="1.8"/>+ </condition>+<!-- Import custom ANT tasks. --><import file="${common.dir}/tools/custom-tasks.xml" />@@ -1677,10 +1682,10 @@ ${tests-output}/junit4-*.suites - per-JVM executed suitesdoctitle="@{title}"maxmemory="${javadoc.maxmemory}"><tag name="lucene.experimental"- description="WARNING: This API is experimental and might change in incompatible ways in the next release."/>+ description="WARNING: This API is experimental and might change in incompatible ways in the next release."/><tag name="lucene.internal"description="NOTE: This API is for internal purposes only and might change in incompatible ways in the next release."/>- <link offline="true" packagelistLoc="${javadoc.dir}"/>+ <link offline="true" packagelistLoc="${javadoc.dir}"/><link offline="true" href="${javadoc.link}" packagelistLoc="${javadoc.packagelist.dir}/java6"/><bottom><![CDATA[<i>Copyright © ${year} Apache Software Foundation. All Rights Reserved.</i>@@ -1703,6 +1708,7 @@ ${tests-output}/junit4-*.suites - per-JVM executed suites<sources /><classpath refid="javadoc.classpath"/>+ <arg line="${javadoc.args}"/></javadoc><record name="@{destdir}/log_javadoc.txt" action="stop"/>