|
Michael Mattox made changes - 16/Jun/04 08:37 AM
Michael Mattox made changes - 16/Jun/04 08:37 AM
Michael Mattox made changes - 16/Jun/04 08:37 AM
All my projects extend this "main project". Therefore if I remove the reports from my main project, I have to add the reports to all 17 of my projects. Is there an easier way? Should I introduce another project in the hiearchy? Right now I have: aggregate main - project Should I change it to: aggregate main - source project main - project and declare the dashboard reports in main, and all my source reports in source project main? I'm not sure if inheritance works with 3 levels, the user guide is a little uncertain there. -Michael PS: Creating a src/java directory in my aggregate main project fixed the problem..
dion gillard made changes - 27/Jul/04 10:12 PM
dion gillard made changes - 29/Jul/04 10:35 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I definitely want this plugin to run reports on the main project!
The main project should be used with aggregation reports, such as dashboard or dependency convergence. There is no point in havind PMD listed as a report in a project wihtout source.
Replace your <reports> in the main project's project.xml with (e.g.) this:
<reports>
<report>maven-multiproject-plugin</report>
<report>maven-dashboard-plugin</report>
</reports>
Harald