[ 
https://issues.apache.org/jira/browse/RAT-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philipp Ottlinger updated RAT-369:
----------------------------------
    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!

  was: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 SpotBugs and checkstyle to the pom files.
> ---------------------------------------------
>
>                 Key: RAT-369
>                 URL: https://issues.apache.org/jira/browse/RAT-369
>             Project: Apache Rat
>          Issue Type: Improvement
>          Components: Client - ant, Client - cli, Client - maven, core engine
>            Reporter: Claude Warren
>            Assignee: Philipp Ottlinger
>            Priority: Major
>             Fix For: 0.17
>
>
> 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!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to