Uploaded image for project: 'Openmeetings'
  1. Openmeetings
  2. OPENMEETINGS-2307

Enable Maven-checkstyle-plugin

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.0-M4
    • Fix Version/s: 5.0.0
    • Component/s: Builds
    • Labels:
      None

      Description

      I noticed that I don't get any build errors or warnings with unused imports.

      I thought there is a checkstyle plugin running as part of Apache reports.

      But there isn't. 

      There is a plugin here: http://maven.apache.org/plugins/maven-checkstyle-plugin/index.html

      I think it reveals a lot of useful information. Doesn't mean we fix all of it. But its very helpful.

      It may also generate a nice report:

      http://maven.apache.org/plugins-archives/maven-project-info-reports-plugin-LATEST/checkstyle.html

      Which can be useful once more people work on code, so you don't need to review syntax and code smells in every PR manually.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sebawagner Sebastian Wagner
                Reporter:
                sebawagner Sebastian Wagner
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: