Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-769

Remove javac warnings that aren't going to be fixed from build console output

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Optional Optional
    • 7.30.0.Final
    • None
    • None
    • None
    • NEW
    • NEW

      Currently there hundreds to thousands of warnings produced by javac compiler. The first 100 of them are printed to console during Maven build. A) This may create a false sense that there is only 100 of warnings to be fixed. B) Many of them are not easy, maybe not even possible to fix, so the warnings are just distracting noise in the build output.

      My goal is to tweak maven-compiler-plugin configuration to suppress rawtypes, unchecked and serializable warning types so that only the few interesting ones will make it to the console. If someone is interested and wants to fix some of the suppressed warnings, their complete list is always available through an IDE inspection.

            lpetrovi@redhat.com Lukáš Petrovický (Inactive)
            jlocker Jiří Locker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: