juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Bognar (Jira)" <j...@apache.org>
Subject [jira] [Commented] (JUNEAU-179) Move build process to Java 9.
Date Tue, 14 Jan 2020 15:18:00 GMT

    [ https://issues.apache.org/jira/browse/JUNEAU-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17015158#comment-17015158
] 

James Bognar commented on JUNEAU-179:
-------------------------------------

I'm not seeing a way to create a dependency on the jdk.javadoc.doclet package using Maven. 
A search for the class jdk.javadoc.doclet.Taglet on Sonatype and Maven Central turn up nothing.

A google search turns up lots of examples on how to USE custom doclets but nothing useful
on how to CREATE them.  Any documentation I do find is from Java 8 or previous.  

Are Javadocs no longer relevant?

> Move build process to Java 9.  
> -------------------------------
>
>                 Key: JUNEAU-179
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-179
>             Project: Juneau
>          Issue Type: Improvement
>          Components: Code
>    Affects Versions: 8.1.3
>            Reporter: James Bognar
>            Priority: Major
>
> Current maven build fails if using anything other than Java 8 due to reliance on com.sun.*
packages in our custom doclet tags in juneau-doc package.  
> Java 9 introduces new [jdk.javadoc.doclet.Taglet|[https://docs.oracle.com/javase/9/docs/api/jdk/javadoc/doclet/Taglet.html]] API
which is both nicer and also managed through Maven dependencies (unlike tools.jar which requires
referencing the jar directly).  
>  
> Besides this change, there is no compelling reason to move to Java 9 yet.  So the build
should still produce Java 8 compatible artifacts.



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

Mime
View raw message