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

RequireJavaVersion should use plexus-java

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Standard Rules
    • Labels:

      Description

      This rule is using SystemUtils.JAVA_VERSION to verify the Java version. The downside of this solution is that it needs to be updated every 6 month because it is using an enum to verify it.
      Several other plugins already use https://codehaus-plexus.github.io/plexus-languages/plexus-java/usage.html to compare Java versions, and it doesn't require to be updated with every new Java release (as long as it keeps using the same versioning scheme of course)
      Better to replace this piece of code.

        Attachments

          Activity

            People

            • Assignee:
              rfscholte Robert Scholte
              Reporter:
              rfscholte Robert Scholte
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: