Need info about new "component service" in sonar 1.11 for NON-Maven projects

View: New views
4 Messages — Rating Filter:   Alert me  

Need info about new "component service" in sonar 1.11 for NON-Maven projects

by mbosch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I'm an enthusiastic user of sonar. During last few weeks we've experimented the 1.10 version on some java components with excellent results, so that we decided to extend the use of sonar on the whole software products portfolio owned and mantained by our Department (about 900 java codelines).

We're now upgrading to brand new version sonar 1.11, firstly because we're very interested in "component service" feature. In fact, we'd like to obtain quality measures at "higher level" of aggregation (project, not only component).

We use apache-ant-1.6.5 to build our components and ivy-2.0 to resolve dependencies, so we decided to adopt the "sonar light mode" for Non-Maven projects.
In this configuration, can we still use the "component service" feature? If yes, how we can enable it? Are there any modifications to do in pom.xml file? Can you post any examples? We didn't find up-to-date documentation about this issue on official site (http://docs.codehaus.org/display/SONAR/Documentation), so we'll greatly appreciate any suggestions.

Thanks in advance
Regards
Marco Boschetti

Re: Need info about new "component service" in sonar 1.11 for NON-Maven projects

by Freddy Mallet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Marco,

If my understanding is correct, you're in fact interesting by the simultaneous use of the new Sonar components service with Maven multi-modules projects in order to group projects ?

And you'd like to know if it's possible to use Maven multi-modules feature on Non-Maven projects ? Am I right ?

regards,
Freddy


On Wed, Oct 14, 2009 at 12:44 PM, mbosch <marco.boschetti@...> wrote:

Hi,
I'm an enthusiastic user of sonar. During last few weeks we've experimented
the 1.10 version on some java components with excellent results, so that we
decided to extend the use of sonar on the whole software products portfolio
owned and mantained by our Department (about 900 java codelines).

We're now upgrading to brand new version sonar 1.11, firstly because we're
very interested in "component service" feature. In fact, we'd like to obtain
quality measures at "higher level" of aggregation (project, not only
component).

We use apache-ant-1.6.5 to build our components and ivy-2.0 to resolve
dependencies, so we decided to adopt the "sonar light mode" for Non-Maven
projects.
In this configuration, can we still use the "component service" feature? If
yes, how we can enable it? Are there any modifications to do in pom.xml
file? Can you post any examples? We didn't find up-to-date documentation
about this issue on official site
(http://docs.codehaus.org/display/SONAR/Documentation), so we'll greatly
appreciate any suggestions.

Thanks in advance
Regards
Marco Boschetti
--
View this message in context: http://www.nabble.com/Need-info-about-new-%22component-service%22-in-sonar-1.11-for-NON-Maven-projects-tp25888813p25888813.html
Sent from the Sonar user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




Re: Need info about new "component service" in sonar 1.11 for NON-Maven projects

by mbosch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Freddy,
your understanding is correct, that's exactly what we'd like to do. Does it make sense?

Our projects are organized as follows:
$\<project1>
           \<component1>\trunk\src\java\it\...
           \<component2>\trunk\src\java\it\...
...
$\<projectN>

and we want to have quality metrics and treemaps both on "projects" and "components", exactly as you obtained in http://nemo.sonarsource.org/ (e.g. for project "All Sonar Plugins" and components "Rules Meter Sonar Plugin", "Security Rules Plugin" and so on)

I found an old thread about this topic (http://www.nabble.com/forum/ViewPost.jtp?post=23115975&framed=y) but I'm not sure if it fulfills our needs (it refers to older versions of Sonar and Maven) and before trying we'd like to have some up to date informations

Thanks
Marco


Freddy Mallet wrote:
Hi Marco,

If my understanding is correct, you're in fact interesting by the
simultaneous use of the new Sonar components service with Maven
multi-modules projects in order to group projects ?

And you'd like to know if it's possible to use Maven multi-modules feature
on Non-Maven projects ? Am I right ?

regards,
Freddy


On Wed, Oct 14, 2009 at 12:44 PM, mbosch <marco.boschetti@csi.it> wrote:

>
> Hi,
> I'm an enthusiastic user of sonar. During last few weeks we've experimented
> the 1.10 version on some java components with excellent results, so that we
> decided to extend the use of sonar on the whole software products portfolio
> owned and mantained by our Department (about 900 java codelines).
>
> We're now upgrading to brand new version sonar 1.11, firstly because we're
> very interested in "component service" feature. In fact, we'd like to
> obtain
> quality measures at "higher level" of aggregation (project, not only
> component).
>
> We use apache-ant-1.6.5 to build our components and ivy-2.0 to resolve
> dependencies, so we decided to adopt the "sonar light mode" for Non-Maven
> projects.
> In this configuration, can we still use the "component service" feature? If
> yes, how we can enable it? Are there any modifications to do in pom.xml
> file? Can you post any examples? We didn't find up-to-date documentation
> about this issue on official site
> (http://docs.codehaus.org/display/SONAR/Documentation), so we'll greatly
> appreciate any suggestions.
>
> Thanks in advance
> Regards
> Marco Boschetti
> --
> View this message in context:
> http://www.nabble.com/Need-info-about-new-%22component-service%22-in-sonar-1.11-for-NON-Maven-projects-tp25888813p25888813.html
> Sent from the Sonar user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

Re: Need info about new "component service" in sonar 1.11 for NON-Maven projects

by Freddy Mallet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Marco,


your understanding is correct, that's exactly what we'd like to do. Does it
make sense?

It does !
 
Our projects are organized as follows:
$\<project1>
          \<component1>\trunk\src\java\it\...
          \<component2>\trunk\src\java\it\...
...
$\<projectN>

and we want to have quality metrics and treemaps both on "projects" and
"components", exactly as you obtained in http://nemo.sonarsource.org/ (e.g.
for project "All Sonar Plugins" and components "Rules Meter Sonar Plugin",
"Security Rules Plugin" and so on) 

I found an old thread about this topic
(http://www.nabble.com/forum/ViewPost.jtp?post=23115975&framed=y) but I'm
not sure if it fulfills our needs (it refers to older versions of Sonar and
Maven) and before trying we'd like to have some up to date informations

You can follow what I suggested in this thread except that you must call "mvn sonar:sonar" instead of "mvn org.codehaus.sonar:sonar-maven-plugin:1.8:sonar"

Hope it helps,
Freddy


Freddy Mallet wrote:
>
> Hi Marco,
>
> If my understanding is correct, you're in fact interesting by the
> simultaneous use of the new Sonar components service with Maven
> multi-modules projects in order to group projects ?
>
> And you'd like to know if it's possible to use Maven multi-modules feature
> on Non-Maven projects ? Am I right ?
>
> regards,
> Freddy
>
>
> On Wed, Oct 14, 2009 at 12:44 PM, mbosch <marco.boschetti@...> wrote:
>
>>
>> Hi,
>> I'm an enthusiastic user of sonar. During last few weeks we've
>> experimented
>> the 1.10 version on some java components with excellent results, so that
>> we
>> decided to extend the use of sonar on the whole software products
>> portfolio
>> owned and mantained by our Department (about 900 java codelines).
>>
>> We're now upgrading to brand new version sonar 1.11, firstly because
>> we're
>> very interested in "component service" feature. In fact, we'd like to
>> obtain
>> quality measures at "higher level" of aggregation (project, not only
>> component).
>>
>> We use apache-ant-1.6.5 to build our components and ivy-2.0 to resolve
>> dependencies, so we decided to adopt the "sonar light mode" for Non-Maven
>> projects.
>> In this configuration, can we still use the "component service" feature?
>> If
>> yes, how we can enable it? Are there any modifications to do in pom.xml
>> file? Can you post any examples? We didn't find up-to-date documentation
>> about this issue on official site
>> (http://docs.codehaus.org/display/SONAR/Documentation), so we'll greatly
>> appreciate any suggestions.
>>
>> Thanks in advance
>> Regards
>> Marco Boschetti
>> --
>> View this message in context:
>> http://www.nabble.com/Need-info-about-new-%22component-service%22-in-sonar-1.11-for-NON-Maven-projects-tp25888813p25888813.html
>> Sent from the Sonar user mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>
>

--
View this message in context: http://www.nabble.com/Need-info-about-new-%22component-service%22-in-sonar-1.11-for-NON-Maven-projects-tp25888813p25895414.html
Sent from the Sonar user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email