You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Delany (Jira)" <ji...@apache.org> on 2020/12/02 11:22:00 UTC

[jira] [Created] (MENFORCER-368) finer JDK detection

Delany created MENFORCER-368:
--------------------------------

             Summary: 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


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)