Hello Alexander,
When you dot not run the sonarj plugin on the root pom, what do you see in the component view of the Sonar project ?
Olivier
On Sat, Oct 24, 2009 at 8:47 PM, Alexander von Zitzewitz
<[hidden email]> wrote:
Hello !
I am now i the final stages of te SonrJ plugin and analyzed Sonar with it. We can autoamtically create an initial architecture description with our Maven plugin, that creates a sonarj file with one sub project for each module and the allowed dependencies extracted from the pom’s.
If I run mvn sonar:sonar on sonar with that, first sonar runs on all modules, at the end it runs on the sonar roor pom.
Now the sonarj plugin reads the sonar.sonarj file and analyzes the complete thing including all modules and saves measures on modules and on the sonar project. In certain cases measures can actually be saved more than once.
The result is, that the batch run say “Analysis successful”, but the Sonar project is not visible in the project list. If I don’t run the sonarj plugin on the root pom, everything is fine, but of course the architecture metrics are missing.
Any ideas?
Thanks in advance...
Alexander von Zitzewitz

www.hello2morrow.com
SonarJ Elevator Pitch: http://www.hello2morrow.com/videos/benefits
+1 (877) 294-6327