You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (Jira)" <ji...@apache.org> on 2019/12/05 16:57:00 UTC

[jira] [Resolved] (SLING-8880) Allow configuring the source release for the javadoc invocation

     [ https://issues.apache.org/jira/browse/SLING-8880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Munteanu resolved SLING-8880.
------------------------------------
    Resolution: Fixed

Fixed with [sling-slingfeature-maven-plugin commit 5a404b0|https://github.com/apache/sling-slingfeature-maven-plugin/commit/5a404b0].

> Allow configuring the source release for the javadoc invocation
> ---------------------------------------------------------------
>
>                 Key: SLING-8880
>                 URL: https://issues.apache.org/jira/browse/SLING-8880
>             Project: Sling
>          Issue Type: Improvement
>          Components: Maven Plugins and Archetypes
>            Reporter: Robert Munteanu
>            Assignee: Robert Munteanu
>            Priority: Major
>             Fix For: slingfeature-maven-plugin 1.1.12
>
>
> Newer versions of the javadoc tool come by default with the restrictions of the JDK that ships them. For instance, the javadoc tool for Java 11 errors out when {{_}} is used as an identifier:
> {noformat}apis-jars/cq-quickstart/global/sources/org/scribe/model/Request.java:21: error: as of release 9, '_' is a keyword, and may not be used as an identifier
>     @Override public void tune(Request _){}
>                                        ^
> 1 error
> {noformat}
> Configuring the source release version as 8 allows the execution to complete, with warnings.



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