[MJAVADOC-787] Automatic detection of release option for JDK < 9 (original) (raw)

The maven-compiler-plugin 3.13.0 now has detection of the release option:

But this should be expanded to maven-javadoc-plugin as well; this will allow the use of a global property like:

<maven.compiler.release>${javaVersion}</maven.compiler.release>

and not fail if the javadoc is generated on JDK 8.

causes

Bug - A problem which impairs or prevents the functions of the product. MJAVADOC-820 [REGRESSION] MJAVADOC-787 was merged incompletely

relates to

New Feature - A new feature of the product, which has yet to be developed. MCOMPILER-582 Automatic detection of release option for JDK < 9

links to