Is it possible to generate the analysis only on some packages?

In case I have some packages in my maven project and they will be deleted, When I run sonar cloud I want to exclude those packages to get running. is there a way to do that?

Hi,

I’m a bit confused. Analysis will naturally omit deleted packages, since it can’t examine something that’s not there…

 
Ann

I mean I didn’t deleted it yet as I need them. But they will be deleted in the future.
Is there a way to exclude them from getting analyzed?

Hi,

Okay, I’m caught up. :joy:

Yes, you can use exclusions to keep them from being analyzed.

 
HTH,
Ann

thank you for your answer

1 Like

Hi , May I know how I can exclude multiple packages using sonar.exclusions ?

Hi,

What have you tried, and what was the result?

 
Ann

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.