Annotation processor output in maven

后端 未结 2 1228
悲哀的现实
悲哀的现实 2021-01-11 12:10

I\'m using JSR 269 as a way to analyze code during compilation and to fail it if needed. I\'m having troubles with displaying output of my annotation processor in maven (Ant

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-11 12:59

    You can do this by enabling showWarnings flag in the maven-compiler-plugin configuration:

    
      
        
           org.apache.maven.plugins
           maven-compiler-plugin
           
             true
           
        
      
    
    

    See also https://github.com/Cosium/annotation-processor-logger#enable-all-logging-levels

提交回复
热议问题