Single sonar analysis report for multiple maven projects

Want to get consolidated analysis report for more than one maven projects.
Maven Project1
Maven Project2
Maven Project3

Want all the above code analysis report under single project key.


Since you want them all under one project key, you’ll need to analyze them all together as one project. I guess that means you’ll check them all out into the same directory and cobble together a fake, top-level pom file before building and analyzing. (Don’t forget, compile is required to analyze Java code!)


can you explain in details with example please.


I don’t have any examples to point you to since this isn’t a normal kind of thing to do. Your other option is to analyze each project separately and then aggregate them under an Application. Note that Applications are a commercial feature.