Scan generated codes in target folder of maven project

I am using sonarcube as the code analysis tool and everything works fine.
Now we have one special request from up level which looks awkward, I just would like to ask the possibility to do so.

The request is based on maven project, we have some generated codes based on wsdl, when compiling the source using maven, some tool will parse and generate java codes using wsdl, and put the generated codes into some folder of $project/target/

My question is any solution to scan the generated codes under the folder of target using sonarcube.

1 Like