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

Along with JavaVersion, allow enforcement of the JavaVendor

    XMLWordPrintableJSON

    Details

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

      Description

      It would be useful to be able to ensure that a particular vendor JDK is being used.  For example, I may need to confirm that we are using AdoptOpenJDK 1.8.0_232 and not Oracle JDK 1.8.0_232.   

       

      I would assume that you would define a set of enums for the vendors - e.g. (OracleJDK, AdoptOpenJDK, JavaOpenJDK, and maybe a few others) so that it would look something like this to insure that either Adopt or Amazon JDK vendor was used.

      EDIT: implemented as below, to be in line with RequireOs

      <requireJavaVendor>
        <name>Oracle Corporation</name>
      </requireJavaVendor>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rfscholte Robert Scholte
                Reporter:
                jbennett2091 Jeffrey Bennett
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: