Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-349

Include Java vendor in display-info output

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-M3
    • Fix Version/s: 3.0.0-M4
    • Component/s: Plugin
    • Labels:
      None

      Description

      Include JavaVendor in the output of the display-info goal.

      This addition would make it much easier to determine whether Oracle or OpenJDK is being used (or which flavour of OpenJDK).  Currently:

      [INFO] --- maven-enforcer-plugin:3.0.0-M3:display-info (default-cli) @ xxxxx ---
       [INFO] Maven Version: 3.6.3
       [INFO] JDK Version: 1.8.0_232 normalized as: 1.8.0-232
       [INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 3.10.0-693.21.1.el7.x86_64
      

      The JDK here is Zulu OpenJDK... but one would have to do some research to know for sure that it could not be Oracle (a no-no in my organisation) where the latest version at time of writing happens to be 1.8.0-221.

      MENFORCER-338 requests that Javavendor be enforceable. I have voted for that enhancement but log this as something that might (hopefully) be easier to implement in the short term.

      It would also provide the benefit of making it clearer whether one has a problem that requires going to the effort of configuring enforcement.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                marks Mark Symons
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: