简体   繁体   中英

How see maven check style plugin reports in Intellij Idea?

I have maven project with maven-checkstyle-plugin. After maven build I want to see all checkstyle errors (may be in html page). I install Sonar plugin to Idea, but what next? I can not any window or item in menu, I run mvn checkstyle:check and nothing happened in GUI. So is it possible to see all checkstyle errors (not the xml file in target folder) with Intellij Idea?

Why don't you use the Idea checkstyle plugin - http://plugins.jetbrains.com/plugin?pluginId=1065 .

It is unrelated to the maven build, but once installed you can just point it to the same checkstyle config file as in the maven plugin. This way you get checkstyle errors/warnings already when you are coding.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM