creating javadoc fails with errors - blocks maven "package"

Issue #461 resolved
Nick Firecoder created an issue

creating javadoc (eg: using "mvn package") fails because of errors in JavaDoc comments.

tested on:

Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T13:57:37+02:00)
Maven home: /usr/local/Cellar/maven/3.3.3/libexec
Java version: 1.8.0_25, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: "mac"

mainly wrong encoding of < and >. see the following example error message:

[ERROR] okapi/core/src/main/java/net/sf/okapi/common/filterwriter/XLIFFWriterParameters.java:78: error: bad use of '>'
[ERROR] * @param escapeGt true to always escape '>', false to not escape it.

I am preparing a request.

Comments (4)

  1. ysavourel

    This is probably because you are compiling with Java 1.8, We normally build with 1.7. That's should not prevent us to fix the file though. I'll do that.

  2. Nick Firecoder reporter

    Wow, thank you very much for this blazing fast reply. There are more javadoc errors, though. Yes, they occur because I use Java 1.8. To fight these I compiled a pull request. see pull request #2

  3. Log in to comment