Uploaded image for project: 'Apache Rat'
  1. Apache Rat
  2. RAT-369

Add SpotBugs and checkstyle to the pom files.

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

Details

    Description

      Currently we have a number of issues that Spotbugs will detect.  I ran a quick test this afternoon and it found 60 potential bugs.  This ticket is to add spotbugs to the maven build, ensure that no bugs are found and ensure that the build will fail if bugs are found.

      Add checkbugs as well.

      As most of the reported errors cannot be fixed with JDK8, add exclusions for these "old"/JDK8-classes that do not allow to set a proper encoding, thus relying on the default system encoding!

      Attachments

        Activity

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

          People

            pottlinger Philipp Ottlinger
            claude Claude Warren
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment