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

RequireJavaVersion should use plexus-java

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • Standard Rules

    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

            rfscholte Robert Scholte
            rfscholte Robert Scholte
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: