Quantcast

[Sonar] Hide a maven subproject

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Sonar] Hide a maven subproject

nicolas.toublanc

Hi,

 

I would like to be able to hide / ignore a maven subprojet in sonar site.

 

Is there a way to do that?

 

 

Regards

 

Nicolas Toublanc - Accenture Technology Solutions

 


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Sonar] Hide a maven subproject

Simon
Administrator
Hello,

There is no way to handle this with sonar. The feature is added to our product backlog (http://jira.codehaus.org/browse/SONAR-138).
A workaround is to build the modules to ignore within a profile. Example :

<project>
....
<profiles>
<profile>
<id>extra-modules</id>
<modules>
<module>my-first-module-ignore</module>
<module>samples</module>
</modules>
</profile>
</profiles>
</project>
These 2 modules will not be processed by sonar. To build, you must execute "mvn install -Pextra-modules".

Regards,
Simon

On Jan 14, 2008 3:56 PM, <[hidden email]> wrote:

Hi,

 

I would like to be able to hide / ignore a maven subprojet in sonar site.

 

Is there a way to do that?

 

 

Regards

 

Nicolas Toublanc - Accenture Technology Solutions

 


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: [Sonar] Hide a maven subproject

nicolas.toublanc

Ok, Thanks for your answer!

 

Nicolas Toublanc - Accenture Technology Solutions


From: Simon Brandhof [mailto:[hidden email]]
Sent: lundi 14 janvier 2008 19:26
To: [hidden email]
Subject: Re: [sonar-user] [Sonar] Hide a maven subproject

 

Hello,

There is no way to handle this with sonar. The feature is added to our product backlog (http://jira.codehaus.org/browse/SONAR-138).
A workaround is to build the modules to ignore within a profile. Example :

<project>
....
<profiles>
    <profile>
      <id>extra-modules</id>
      <modules>
        <module>my-first-module-ignore</module>
        <module>samples</module>

      </modules>
    </profile>
  </profiles>
</project>

These 2 modules will not be processed by sonar. To build, you must execute "mvn install -Pextra-modules".

Regards,
Simon

On Jan 14, 2008 3:56 PM, <[hidden email]> wrote:

Hi,

 

I would like to be able to hide / ignore a maven subprojet in sonar site.

 

Is there a way to do that?

 

 

Regards

 

Nicolas Toublanc - Accenture Technology Solutions

 


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.

 

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.

Loading...