开发者

Running IntelliJ inspections via Maven/TeamCity

I have a Maven project, and I'm trying to configure TeamC开发者_开发技巧ity to run IntelliJ's inspections on it. TeamCity's documentation refers me to IntelliJ's documentation, but I didn't find anything useful there. Can you refer me to how do you configure it?


The documentation was incorrect, you can't reference inspections profile directly from the pom.xml. Thanks for noticing, we've fixed it.

In case of the Maven project you need to open it in IDEA, define the inspections profile, export the profile into XML file and commit it into the version control with the project. In the TeamCity Inspections runner settings specify the path to the inspections profile XML file relative to the project root.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜