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:49:00 UTC
[jira] [Created] (SLING-8880) Allow configuring the source release
for the javadoc invocation
Robert Munteanu created SLING-8880:
--------------------------------------
Summary: 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
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)