Details

      Description

      Java 1.4 is now deprecated and more libraries are now switching to Java 1.5. RAT 0.6 is satisfactory, so users requiring 1.4 can continue to use that version.

      See http://mail-archives.apache.org/mod_mbox/incubator-rat-dev/200906.mbox/%3c4A38C694.5060400@blueyonder.co.uk%3e

      1. java15_basedOnTrunkRev1201428.txt
        21 kB
        Philipp Ottlinger
      2. java15.txt
        7 kB
        Felix Knecht

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          894d 13h 23m 1 Stefan Bodewig 30/Nov/11 21:10
          Stefan Bodewig made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 0.9 [ 12319071 ]
          Resolution Fixed [ 1 ]
          Hide
          Stefan Bodewig added a comment -

          fixed with svn revision 1208780

          I didn't upgrade Maven as I'm not familiar enough with the interdependencies of plugin versions.

          Show
          Stefan Bodewig added a comment - fixed with svn revision 1208780 I didn't upgrade Maven as I'm not familiar enough with the interdependencies of plugin versions.
          Hide
          Philipp Ottlinger added a comment -

          Could anyone apply the proposed patch to set target/source to 1.5 in pom.xml?

          Project runs fine with mvn 3.0.3 and java7.

          Show
          Philipp Ottlinger added a comment - Could anyone apply the proposed patch to set target/source to 1.5 in pom.xml? Project runs fine with mvn 3.0.3 and java7.
          Hide
          Sebb added a comment -

          Note that Java 5 is required for the Maven 2.2.1 and Maven 3.x; many plugins also require it.

          One can use profiles to ensure that an earlier version of Java is used for compilation and testing, so I don't think there's any need to support versions of Java earlier than 1.5 for the Maven plugin. [Apache Commons uses such profiles]

          For stand-alone RAT, there's also no need to support earlier versions.

          Show
          Sebb added a comment - Note that Java 5 is required for the Maven 2.2.1 and Maven 3.x; many plugins also require it. One can use profiles to ensure that an earlier version of Java is used for compilation and testing, so I don't think there's any need to support versions of Java earlier than 1.5 for the Maven plugin. [Apache Commons uses such profiles] For stand-alone RAT, there's also no need to support earlier versions.
          Hide
          Philipp Ottlinger added a comment -

          A real JUnit4-test is only working if this issue is resolved and source/target set to 1.5 in pom.xml.

          Show
          Philipp Ottlinger added a comment - A real JUnit4-test is only working if this issue is resolved and source/target set to 1.5 in pom.xml.
          Philipp Ottlinger made changes -
          Link This issue blocks RAT-104 [ RAT-104 ]
          Philipp Ottlinger made changes -
          Attachment java15_basedOnTrunkRev1201428.txt [ 12503532 ]
          Hide
          Philipp Ottlinger added a comment -
          • Set source/target to java 1.5
          • replaced StringBuffer with StringBuilder
          • replaced old-style for loops with enhanced for-loops
          • removed errors in javadoc (unnec. parameters)
          Show
          Philipp Ottlinger added a comment - Set source/target to java 1.5 replaced StringBuffer with StringBuilder replaced old-style for loops with enhanced for-loops removed errors in javadoc (unnec. parameters)
          Felix Knecht made changes -
          Field Original Value New Value
          Attachment java15.txt [ 12446010 ]
          Hide
          Felix Knecht added a comment -
          • Set requested maven version to 2.0.9
          • Set source /target version to java 1.5
          • Update dependencies where needed
          • Add some type safety
          Show
          Felix Knecht added a comment - Set requested maven version to 2.0.9 Set source /target version to java 1.5 Update dependencies where needed Add some type safety
          Hide
          Robert Burrell Donkin added a comment -

          Any objections?

          Show
          Robert Burrell Donkin added a comment - Any objections?
          Robert Burrell Donkin created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Robert Burrell Donkin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development