Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-27

Update sis-parent/pom.xml compile target to 1.6

    Details

    • Type: Task
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.2-incubating
    • Fix Version/s: 0.2-incubating
    • Component/s: Build process
    • Labels:
      None
    • Environment:

      os-x

      Description

      sis-parent/pom.xml contains a maven.compile.target of java 1.5
      would be good to update it to 1.6

      1. SIS-27.patch
        0.4 kB
        patrick o'leary

        Activity

        Hide
        pjaol patrick o'leary added a comment -

        Java 1.5 is now deprecated from most modern os's and throws a

        running mvn clean install on a new system will throw

        Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
        Failure executing javac, but could not parse the error:
        javac: source release 1.6 requires target release 1.6

        As java 1.5 is usually not installed, and sis-parent/pom.xml has a maven.compile.target of 1.5
        updating this to 1.6 resolves the problem, since the source code is already 1.6 based makes sense to update the target as well.

        Show
        pjaol patrick o'leary added a comment - Java 1.5 is now deprecated from most modern os's and throws a running mvn clean install on a new system will throw Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure Failure executing javac, but could not parse the error: javac: source release 1.6 requires target release 1.6 As java 1.5 is usually not installed, and sis-parent/pom.xml has a maven.compile.target of 1.5 updating this to 1.6 resolves the problem, since the source code is already 1.6 based makes sense to update the target as well.
        Hide
        pjaol patrick o'leary added a comment -

        Update sis-parent/pom.xml maven.compile.target to 1.6

        Show
        pjaol patrick o'leary added a comment - Update sis-parent/pom.xml maven.compile.target to 1.6
        Hide
        chrismattmann Chris A. Mattmann added a comment -
        • patch applied in r1160526. Thanks Patrick!
        Show
        chrismattmann Chris A. Mattmann added a comment - patch applied in r1160526. Thanks Patrick!
        Hide
        desruisseaux Martin Desruisseaux added a comment -

        Having hear no objection to the proposal posted on the mailing list in May 2016, closing this task. The hope is to make easier to review the "resolved but not yet closed" list of tasks before each Apache SIS release candidates. If this task need additional work, of course it is fine to reopen it.

        Show
        desruisseaux Martin Desruisseaux added a comment - Having hear no objection to the proposal posted on the mailing list in May 2016, closing this task. The hope is to make easier to review the "resolved but not yet closed" list of tasks before each Apache SIS release candidates. If this task need additional work, of course it is fine to reopen it.

          People

          • Assignee:
            chrismattmann Chris A. Mattmann
            Reporter:
            pjaol patrick o'leary
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development