开发者

Running IntelliJ inspections via Maven/TeamCity

开发者 https://www.devze.com 2023-01-27 04:02 出处:网络
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

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

精彩评论

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