bentolor / idea-cli-inspector

A little command-line tool to integrate the awesome IntelliJ IDEA code inspections in your continuous integration (CI) process using Jenkins, Bamboo, et. al.
Apache License 2.0
139 stars 13 forks source link

required files in repo to run this inspect tool #21

Closed olofkallander closed 4 years ago

olofkallander commented 4 years ago

I would like to run "inspect" on a maven project without checking in .idea files into repo. This tool takes the path to pom.xml. Will it also generate .iml file and .xml files in .idea folder needed to complete the inspection?

bentolor commented 4 years ago

@olofkallander Did you have the chance to read the https://github.com/bentolor/idea-cli-inspector/blob/master/README.asciidoc ? I mean it's literally in the first paragraph…

The "Quick start (using Docker and Maven)" shows how to run and inspection without any IDEA configuration. You only need an accessible path to the inspection profile configuration file to use. It must be accessible for the script.

The docker image is not up-to-date, so running as described in "Vanilla Maven and Gradle projects" would be the recommended way.