Toni Epple created MJAVADOC-697:
-----------------------------------

             Summary: Allowing to register alternative Javadoc implementation
                 Key: MJAVADOC-697
                 URL: https://issues.apache.org/jira/browse/MJAVADOC-697
             Project: Maven Javadoc Plugin
          Issue Type: New Feature
          Components: jar
    Affects Versions: 3.1.1
            Reporter: Toni Epple


The Maven compiler plugin allows [different implementations of 
compilers|https://maven.apache.org/plugins/maven-compiler-plugin/non-javac-compilers.html]
 to plug in. One of the very useful ones is the [retrofit compiler for 
Java|http://frgaal.org/] that allows one to use syntax of JDK-16 while running 
on old JDKs.

The compiler works fine, however the problem comes when one wants to generate 
Javadoc. Because the source code is using newer language constructs, classical 
{{javadoc}} from old JDKs fails. One either has to generate the Javadoc on a 
newest JDK (which beats the purpose of retrofit compiler) or give up on 
Javadoc. Or...

Let's enhance the Maven Javadoc Plugin to support alternative implementations 
of Javadoc, just like the Maven Compiler Plugin does with compilers!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to