[
https://issues.apache.org/jira/browse/MENFORCER-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17286297#comment-17286297
]
Delany commented on MENFORCER-368:
----------------------------------
Now that I'm using toolchains, I need a new rule that enforces the JDK used by
the toolchain aware plugins.
> finer JDK detection
> -------------------
>
> Key: MENFORCER-368
> URL: https://issues.apache.org/jira/browse/MENFORCER-368
> Project: Maven Enforcer Plugin
> Issue Type: Improvement
> Components: Standard Rules
> Affects Versions: 3.0.0-M3
> Reporter: Delany
> Priority: Minor
>
> It seems the *requireJavaVersion* rule checks the version of the *java*
> executable. But I can set a java version of 8 and a *javac* version of 15
> using `update-alternatives --config javac`
> Suggest allowing a finer evaluation by adding configuration properties java,
> javac, and whatever else might be important. Maybe also a *versions* property
> for all.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)