Hi Lee,

For Cobertura, your plugin configuration is commented, why ?

So far, only Cobertura 2.0 version is supported , so I advise you to
configure Cobertura as :

...
<build>
<plugins>
            ....
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>cobertura-maven-plugin</artifactId>
                <version>2.0</version>
                <executions>
                <execution>
                <goals>
                <goal>clean</goal>
                </goals>
                </execution>
                </executions>
                </plugin>
        </plugins>
....
</build>
...
<reporting>
<plugins>
...
<plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>cobertura-maven-plugin</artifactId>
                <version>2.0</version>
</plugin>
....
</plugins>
</reporting>

and it must work.

For pmd and cpd, the problem is the <aggregate>true</aggregate> parameter.

As described in the doc :
http://maven.apache.org/plugins/maven-pmd-plugin/pmd-mojo.html#aggregate

if you set the aggregate parameter to "true", the pmd and cpd xml files are
only at the root project target directory.

But it isn't compatible with dashboard report, because the dashboard scan
each module to retreive xml files.
So delete this "<aggregate>true</aggregate>"  line, without this, each
module will have its own pmd and cpd xml files and the dashboard will be
able to aggregate values.

I hope it will help you

Lee Meador-3 wrote:
> 
> David,
> 
> I have sent the files you suggested by seperate email. If you have a
> whitelist protecting your email from spam it might not get through to you.
> Let me know.
> 
> Sorry to inflict this on the maven users list.
> 
> -- Lee
> 
> On Jan 4, 2008 1:44 PM, dvicente <[EMAIL PROTECTED]> wrote:
> 
>>
>> Could you post your pom.xml to see the reporting configuration ?
>>
>> you can do a "mvn -e -x dashboard-report:dashboard>maven.log" and post
>> the
>> maven.log as attachment ?
>>
>>
>> Lee Meador-3 wrote:
>> >
>> > 1) The issue about the relocated XML files not being found was added
>> here
>> > http://jira.codehaus.org/browse/MOJO-987
>> >
>> > 2) I noticed the issue already reported about the Cobertura columns not
>> > appearing due to mixed Cobertura version. I suppose they are only
>> missing
>> > in
>> > the parent project's dashboard report.
>> >
>> > 3) Any ideas on why my PMD and CPD reports are not included on the
>> > dashboard?
>> >
>> > Thanks.
>> >
>> > On Jan 4, 2008 2:16 AM, dvicente <[EMAIL PROTECTED]> wrote:
>> >
>> >>
>> >> Hi,
>> >>
>> >> i'm the dashboard's project leader.
>> >>
>> >> It's true that the dashboard used the default location of output
>> >> directory
>> >> for each plugin.
>> >>
>> >> I must resolve this problem.
>> >>
>> >> Create an issue under  http://jira.codehaus.org/browse/MOJO JIRA
>> >>
>> >>
>> >> David
>> >>
>> >>
>> >>
>> >> Lee Meador-3 wrote:
>> >> >
>> >> > How does the dashboard report plugin know whether to include the
>> >> various
>> >> > summarized reports? My PMD and/or CPD report isn't showing up at all
>> in
>> >> > the
>> >> > dashboard and the Cobertura columns show nothing next to the JDepend
>> >> > column
>> >> > in that dashboard section.
>> >> >
>> >> > I'm thinking it must look for certain xml files to be in certain
>> >> places.
>> >> > For
>> >> > example, when I was putting the FindBugs xml in a custom location
>> with:
>> >> >
>> >> > <mlOutputDirectory>
>> >> >       ${project.build.directory}/findbugs-reports
>> >> > </xmlOutputDirectory>
>> >> >
>> >> > the dashboard didn't know about the findbugs report. (That setup
>> fact
>> >> > might
>> >> > be needed in the docs BTW.)
>> >> >
>> >> > I am not specifying a location for the missing reports' xml files.
>> Its
>> >> > just
>> >> > the default.
>> >> >
>> >> > Any ideas?
>> >> >
>> >> > -- Lee Meador
>> >> > Sent from gmail. My real email address is lee AT leemeador.com
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Dashboard-summary-missing-PMD-and-Cobertura-sections-tp14604267s177p14612401.html
>> >> Sent from the Maven - Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> > --
>> > -- Lee Meador
>> > Sent from gmail. My real email address is lee AT leemeador.com
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Dashboard-summary-missing-PMD-and-Cobertura-sections-tp14604267s177p14623584.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> -- Lee Meador
> Sent from gmail. My real email address is lee AT leemeador.com
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Dashboard-summary-missing-PMD-and-Cobertura-sections-tp14604267s177p14673934.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to