Skip to content

Apache Lucene open-source search software

LUCENE-3006: die javadoc warnings die (modules/ edition)

Steven Rowe14eb02ffa425
diff --git a/modules/analysis/icu/build.xml b/modules/analysis/icu/build.xml
index c6aea1459cf..9a167360a6a 100644
--- a/modules/analysis/icu/build.xml
+++ b/modules/analysis/icu/build.xml
@@ -137,4 +137,28 @@ are part of the ICU4C package. See http://site.icu-project.org/ </echo>
<m2-deploy-with-pom-template pom.xml="lib/lucene-icu4j-pom.xml.template"
jar.file="lib/icu4j-4_6.jar" />
</target>
+
+ <target name="javadocs" depends="compile-core">
+ <sequential>
+ <mkdir dir="${javadoc.dir}/contrib-${name}"/>
+ <path id="javadoc.classpath">
+ <path refid="classpath"/>
+ <pathelement location="${ant.home}/lib/ant.jar"/>
+ <fileset dir=".">
+ <exclude name="build/**/*.jar"/>
+ <include name="**/lib/*.jar"/>
+ </fileset>
+ </path>
+ <invoke-javadoc
+ destdir="${javadoc.dir}/contrib-${name}"
+ title="${Name} ${version} contrib-${name} API">
+ <sources>
+ <link href="../contrib-analyzers-common"/>
+ <link href=""/>
+ <packageset dir="${src.dir}"/>
+ </sources>
+ </invoke-javadoc>
+ <jarify basedir="${javadoc.dir}/contrib-${name}" destfile="${build.dir}/${final.name}-javadoc.jar"/>
+ </sequential>
+ </target>
</project>
diff --git a/modules/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/WriteLineDocTask.java b/modules/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/WriteLineDocTask.java
index 197fe45c153..90cb4a3ee20 100644
--- a/modules/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/WriteLineDocTask.java
+++ b/modules/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/WriteLineDocTask.java
@@ -43,7 +43,8 @@ import org.apache.lucene.document.Field;
* <p>
* The format of the output is set according to the output file extension.
* Compression is recommended when the output file is expected to be large.
- * See info on file extensions in {@link StreamUtils.Type}
+ * See info on file extensions in
+ * {@link org.apache.lucene.benchmark.byTask.utils.StreamUtils.Type}
* <p>
* Supports the following parameters:
* <ul>