[ 
https://jira.codehaus.org/browse/MCOBERTURA-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=284486#comment-284486
 ] 

Miten Morakhia commented on MCOBERTURA-65:
------------------------------------------

1. 
I upgraded to sonar 2.5.1 for my project by putting in the following 
configuration but do not see the results getting merged.

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>cobertura-maven-plugin</artifactId>
                <version>2.5.1</version>
                <configuration>
                    <aggregate>true</aggregate>
                </configuration>
            </plugin>

Is this configuration setting correct? 

2. 
We use teamcity for continuous integration and have sonar for doing code 
analysis.
I see the following warning in the log files during sonar build.

[cobertura] WARN  [main] net.sourceforge.cobertura.instrument.ClassInstrumenter 
- No line number information found for class com.test.BumpKey$1.  Perhaps you 
need to compile with debug=true?


In the build configuration, I have already added "-Ddebug=true" in the 
"Additional Maven command line parameters" section. 
Is there any other change required for getting the anonymous inner classes 
included in code coverage analysis? 

> Cobertura should aggregate results of multi-module builds
> ---------------------------------------------------------
>
>                 Key: MCOBERTURA-65
>                 URL: https://jira.codehaus.org/browse/MCOBERTURA-65
>             Project: Maven 2.x Cobertura Plugin
>          Issue Type: Improvement
>         Environment: Windows
>            Reporter: David Hoffer
>            Assignee: Benson Margulies
>             Fix For: 2.5
>
>         Attachments: cobertura_aggregate.diff, MCOBERTURA-65.patch
>
>
> When I run a cobertura report on parent pom project that has child modules I 
> only get reports generated for each module, I also want to see a combined 
> report in the parent.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email


Reply via email to