Checkstyle - Exclude folder

前端 未结 3 1756
没有蜡笔的小新
没有蜡笔的小新 2021-01-03 20:57

I want to ignore a specific folder (named generated-sources) from my checkstyle reports, because they are generated.

I\'m using eclipse-cs for displaying my violatio

3条回答
  •  死守一世寂寞
    2021-01-03 21:26

    Additionally to the answer from Philipp, I had to use an absolute pathname ( :-( ) for the suppression file:

    
        
    
    

    Looks like the Checkstyle plugin is not using the project home directory.

    (at least under eclipse luna / Mac OS X)

提交回复
热议问题