Running the Maven Goal for the Scan
After you clean the application project, you can run the code-insight-scan Maven goal, which will perform a Code Insight scan on the codebase.
To execute the goal that runs the Code Insight scan, do the following:
To build the application (and run the Code Insight scan as part of the build cycle), execute the following command:
mvn install
Alternatively, to execute the Code Insight scan only, run the specific goal:
mvn code-insightscan:code-insight-scan