Issue
I am covering my code, and for this I have to use JaCoCo, but for it to work in Sonar I have to upload the target folder, since Sonar does not run my tests, so I would like to know if it is a good practice to upload the folder target that Maven generates. A partner told me that it was not a good practice.
Solution
you may have to remove the target/ folder from your .gitignore file. Your .gitignore file has a list of all the files and directories that gi should ignore when pushing to your repository.
Answered By - Joe Sakkab
Answer Checked By - Mary Flores (JavaFixing Volunteer)