Sonar Report for git java project


(tabish ansar) #1

i have one maven project. i use sonar to generate report for code issues, and junit coverage. it gets project from git. i need to add the owner’s name for each java file, means whoever updated the class lastly. how can i do it through sonar. basically report that sonar can generate with owner’s name as well

(G Ann Campbell) #2


SonarQube isn’t designed to identify a “file owner” in the manner you describe. If you really want this, you should look at what git offers; that’s where SonarQube gets its line ownership data, after all.