Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-732

Fix CI build break after upgraded from Java 7 to 8

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3, 2.4
    • 2.5
    • Build
    • None

    Description

      The Travis CI build broken after upgrading from Java 7 to 8.

       

      Maven Error Message

      The command "eval mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V " failed. Retrying, 2 of 3.
       
      Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m
      Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z)
      Maven home: /usr/local/maven-3.5.2
      Java version: 1.7.0_151, vendor: Oracle Corporation
      Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
      Default locale: en_US, platform encoding: UTF-8
      OS name: "linux", version: "4.14.12-041412-generic", arch: "amd64", family: "unix"
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Apache Commons Configuration 2.5-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] — maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ commons-configuration2 —
      [WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message:
      Detected JDK Version: 1.7.0-151 is not in the allowed range 1.8.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            HCOONa Shuai Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment