Maven
  1. Maven
  2. MNG-2413

maven version insistence based on wrong variable

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.0.5
    • Component/s: Bootstrap & Build
    • Labels:
      None
    • Environment:
      OS : ubuntu dapper
      java vm : SableVM 1.11.3

      Description

      MavenCli does

      if (System.getProperty("java.class.version", "44.0").compareTo("48.0") < 0) //then echo "sorry we need version 1.4"

      however java.class.version is the binary packaging format for the classes, not the supported API. java.version is the supported api, for which sable returns 1.4.2. So the process aborts out, wanting the 1.4 API, when it has 1.4 API (sable has 46.0 instead of 48.0 as the class packaging format used)

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Siveton Vincent
            Reporter:
            j
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development