Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
amureini@mureinik ~ $ mvn -version
Apache Maven 3.3.9 (NON-CANONICAL_2016-07-01T11:53:38Z_mockbuild; 2016-07-01T14:53:38+03:00)
Maven home: /usr/share/maven
Java version: 1.8.0_121, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-1.b14.fc25.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.9.12-200.fc25.x86_64", arch: "amd64", family: "unix"amureini@mureinik ~ $ mvn -version Apache Maven 3.3.9 (NON-CANONICAL_2016-07-01T11:53:38Z_mockbuild; 2016-07-01T14:53:38+03:00) Maven home: /usr/share/maven Java version: 1.8.0_121, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-1.b14.fc25.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.9.12-200.fc25.x86_64", arch: "amd64", family: "unix"
Description
Java 8's javadoc seems to be stricter than the Java 7 one. With the current HEAD (commit e5ed4ff), mvn javadoc:javadoc passes with Java 7, but fails on the same machine with Java 8 (environment described above) with the following errors:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:javadoc (default-cli) on project commons-lang3: An error has occurred in JavaDocs report generation:
[ERROR] Exit code: 1 - /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/ArrayUtils.java:8421: warning: no @param for <T>
[ERROR] public static <T> T[] insert(final int index, final T[] array, final T... values) {
[ERROR] ^
[ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:316: error: unexpected end tag: </p>
[ERROR] * </p>Whitespace is defined by
[ERROR] ^
[ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:316: error: unexpected end tag: </p>
[ERROR] * </p>Whitespace is defined by {@link Character#isWhitespace(char)}
.</p>
[ERROR] ^
[ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:347: error: unexpected end tag: </p>
[ERROR] * </p>Whitespace is defined by
[ERROR] ^
[ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:347: error: unexpected end tag: </p>
[ERROR] * </p>Whitespace is defined by {@link Character#isWhitespace(char)}
.</p>
[ERROR] ^
[ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:370: error: unexpected end tag: </p>
[ERROR] * </p>Whitespace is defined by
[ERROR] ^
[ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:370: error: unexpected end tag: </p>
[ERROR] * </p>Whitespace is defined by {@link Character#isWhitespace(char)}
.</p>
[ERROR] ^
[ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:403: error: unexpected end tag: </p>
[ERROR] * </p>Whitespace is defined by
[ERROR] ^
[ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:403: error: unexpected end tag: </p>
[ERROR] * </p>Whitespace is defined by {@link Character#isWhitespace(char)}
.</p>
[ERROR] ^
[ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:436: error: unexpected end tag: </p>
[ERROR] * </p>Whitespace is defined by
[ERROR] ^
[ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:436: error: unexpected end tag: </p>
[ERROR] * </p>Whitespace is defined by {@link Character#isWhitespace(char)}
.</p>
[ERROR] ^
[ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:1946: error: unexpected end tag: </p>
[ERROR] * </p>Whitespace is defined by
[ERROR] ^
[ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:1946: error: unexpected end tag: </p>
[ERROR] * </p>Whitespace is defined by {@link Character#isWhitespace(char)}
.</p>
[ERROR] ^
[ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:7092: error: unexpected end tag: </p>
[ERROR] * </p>Whitespace is defined by
[ERROR] ^
[ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:7092: error: unexpected end tag: </p>
[ERROR] * </p>Whitespace is defined by {@link Character#isWhitespace(char)}
.</p>
[ERROR] ^
[ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:7241: error: unexpected end tag: </p>
[ERROR] * </p>Whitespace is defined by
[ERROR] ^
[ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/StringUtils.java:7241: error: unexpected end tag: </p>
[ERROR] * </p>Whitespace is defined by {@link Character#isWhitespace(char)}
.</p>
[ERROR] ^
[ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/concurrent/Computable.java:21: error: self-closing element not allowed
[ERROR] * <p/>
[ERROR] ^
[ERROR] /home/amureini/src/git/commons-lang/src/main/java/org/apache/commons/lang3/concurrent/Computable.java:21: warning: empty <p> tag
[ERROR] * <p/>
[ERROR] ^
Attachments
Issue Links
- links to