Scan all class except for mvn generate:sources

sonarlint

(Fanny Tan) #1

Hi,

I am using SonarLint on eclipse and intelliJ. When I scan my source code, it also scan mvn generate:sources. Is there a way to scan all class except for mvn generate:sources?


(Duarte Meneses) #2

Hi,

I’m not sure what you mean.
What SonarLint analyses are the source code files (.java) but it will give more precise results if class files (bytecode) are present. These class files are found in the IDE’s output folder. Maven usually compiles the classes to a different location so it shouldn’t change anything.
Maybe I didn’t understand your question, in which case could you please reformulate it?