Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2413

maven version insistence based on wrong variable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.4
    • 2.0.5
    • Bootstrap & Build
    • None
    • 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)

      Attachments

        Activity

          People

            siveton Siveton Vincent
            draconicfae j
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: