|
I am trying to located documentation about the sonar:sonar goal.
What I would like is: 1. Default phase binding 2. ALL available parameters and/or properties for configuration for a Java maveinzed project Does this exist, if so where, if not, can someone supply this information? Thanks, Mike Brizic ________________________________ The information contained in this communication may be CONFIDENTIAL and is intended only for the use of the recipient(s) named above. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please notify the sender and delete/destroy the original message and any copy of it from your computer or paper files. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
Hi Michael,
See my comments below :
I am trying to located documentation about the sonar:sonar goal. There isn't any. But you can manually define such phase with the property "sonar.phase". Example : "mvn sonar:sonar -Dsonar.phase=generate-sources"
2. ALL available parameters and/or properties for configuration for a Java maveinzed project See http://docs.codehaus.org/display/SONAR/Analysis+Parameters and http://docs.codehaus.org/display/SONAR/Analyzing+with+Maven
Kind regards, Freddy
|
|
Well, thank you.
What I am also trying to understand by asking about the default binding phase is why sonar:sonar only seems to execute up to and including the test phase. If I execute "clean install" all of my projects tests (including integration
tests) are executed. However, when I execute sonar:sonar, only unit tests are executed. It would seem like it mimics the test phase. Is this true?
From: ext Freddy Mallet [[hidden email]] Sent: Sunday, September 09, 2012 2:59 PM To: [hidden email] Subject: Re: [sonar-user] Default binding phase Hi Michael,
See my comments below :
I am trying to located documentation about the sonar:sonar goal. There isn't any. But you can manually define such phase with the property "sonar.phase". Example : "mvn sonar:sonar -Dsonar.phase=generate-sources"
2. ALL available parameters and/or properties for configuration for a Java maveinzed project See http://docs.codehaus.org/display/SONAR/Analysis+Parameters and <a href="http://docs.codehaus.org/display/SONAR/Analyzing+with+Maven" target="_blank">http://docs.codehaus.org/display/SONAR/Analyzing+with+Maven
Kind regards,
Freddy
The information contained in this communication may be CONFIDENTIAL and is intended only for the use of the recipient(s) named above. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please notify the sender and delete/destroy the original message and any copy of it from your computer or paper files. |
|
Hi Michael,
That's not really the case in fact : the sonar goal is not binded to any Maven phase but if you ask Sonar to compute code coverage by unit tests, Sonar explicitly launches the Maven "test" phase
Indeed as explained above
No it doesn't mimic, it just launches the "test" phase :)
Kind regards, Freddy
|
|
Hi guys, In fact launch of "test" phase is a side effect of launch of cobertura-maven-plugin. On Tue, Sep 11, 2012 at 6:16 PM, Freddy Mallet <[hidden email]> wrote: Hi Michael, Best regards, Evgeny Mandrikov aka Godin <http://godin.net.ru> http://twitter.com/_godin_ |
|
Well, I suppose that specific coverage plugin that is configured in the pom determines what sonar:sonar does?
I'm confused by the statement:
"...if you ask Sonar to computer code coverage by unit tests, Sonar explicitly launches the Maven "test" phase." That is what I am asking ... how am I asking Sonar to do that when all I do is type sonar: sonar?
From: ext Evgeny Mandrikov [[hidden email]] Sent: Tuesday, September 11, 2012 7:18 AM To: [hidden email] Subject: Re: [sonar-user] Default binding phase Hi guys,
In fact launch of "test" phase is a side effect of launch of cobertura-maven-plugin.
On Tue, Sep 11, 2012 at 6:16 PM, Freddy Mallet
<[hidden email]> wrote:
Hi Michael, Best regards, Evgeny Mandrikov aka Godin <http://godin.net.ru> http://twitter.com/_godin_ The information contained in this communication may be CONFIDENTIAL and is intended only for the use of the recipient(s) named above. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please notify the sender and delete/destroy the original message and any copy of it from your computer or paper files. |
| Powered by Nabble | Edit this page |
