You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (Jira)" <ji...@apache.org> on 2024/06/20 21:14:00 UTC
[jira] [Commented] (MCOMPILER-582) Automatic detection of release option for JDK < 9
[ https://issues.apache.org/jira/browse/MCOMPILER-582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17856611#comment-17856611 ]
Herve Boutemy commented on MCOMPILER-582:
-----------------------------------------
see usage on a project: https://github.com/CycloneDX/cyclonedx-maven-plugin/actions/runs/9604415251/job/26489853038?pr=518
I see 2 improvments needed:
1. output says "[INFO] Compiling 11 source files with javac [debug release 8] to target/classes": should not say "release 8"
2. we need an equivalent improvement for maven-javadoc-plugin
> Automatic detection of release option for JDK < 9
> -------------------------------------------------
>
> Key: MCOMPILER-582
> URL: https://issues.apache.org/jira/browse/MCOMPILER-582
> Project: Maven Compiler Plugin
> Issue Type: New Feature
> Reporter: Slawomir Jaranowski
> Assignee: Slawomir Jaranowski
> Priority: Major
> Fix For: 3.13.0
>
>
> Since plexus-compiler 2.15.0 the {{release}} parameter is automatically disregarded for javac version < 9 (https://github.com/codehaus-plexus/plexus-compiler/issues/140). It is no longer necessary to guard that parameter with a profile.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)