Hi Jean-Louis, we could be using the sonar.exclusions property per sub-module as part of the module's pom.xml. Please have a look at the following thread to get the idea.
http://sonar-dev.787459.n3.nabble.com/sonar-dev-Please-provide-an-example-of-using-quot-Exclusion-Filters-quot-Sonar-WebUI-for-Multimodules-td1755910.html The issue is that we have to apply the modifications and have them checked-in to be able to test them, cause the sonar execusion cycle can't be triggered locally. Except you would be using your own Sonar server. If we would use that approach we would have to wait until the Sonar execution cycle will be triggered due to the schedule setup on analysis.a.o. Cheers Daniel On Thu, Jan 5, 2012 at 9:36 AM, Jean-Louis MONTEIRO <[email protected]> wrote: > Daniel, > > Would it be possible to exclude src/main/test? > We have some stupid rules broken but a lot of them are in test classes. > > Jean-Louis > > 2011/12/14 dsh <[email protected]> > >> JIRA resolved. See result >> [https://analysis.apache.org/project/index/org.apache.openejb:openejb] >> >> Cheers >> Daniel >> >> On Wed, Dec 14, 2011 at 2:01 AM, Jacek Laskowski <[email protected]> wrote: >> > +1 >> > >> > Jacek >> > >> > On Fri, Nov 25, 2011 at 10:07 AM, dsh <[email protected]> >> wrote: >> >> Hi, >> >> >> >> any objections if I am going to file a JIRA to have INFRA setup Sonar >> >> builds via analysis.apache.org for us as described at [1]? >> >> >> >> Request Template: >> >> >> >> * svnurl : https://svn.apache.org/repos/asf/openejb/trunk/openejb/ >> >> * pom path : (blank as svnurl/pom.xml) >> >> * maven versio : 3.0.3 >> >> * jdk version : jdk1.6 >> >> * maven profiles to use : (leave blank if none, if profiles to >> >> activate please use comma : foo,bar ) >> >> * maven build properties : (leave blank if none, if some to activate >> >> please format : -Dmyprop=foo -Dbar=beer ) >> >> >> >> [1] http://wiki.apache.org/general/SonarInstance >> >> >> >> Cheers >> >> Daniel >> > >> > >> > >> > -- >> > Jacek Laskowski >> > Java EE, functional languages and IBM WebSphere - http://blog.japila.pl >> > Warszawa JUG conference = Confitura (formerly Javarsovia) :: >> http://confitura.pl >> > "Hoping to save time by spending it" by David Blevins (Apache OpenEJB) >>
