You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/06/16 14:57:00 UTC
[jira] Commented: (MPMULTIPROJECT-37) Reports are run for my main maven project when running multiproject:site
The following comment has been added to this issue:
Author: Harald Ommang
Created: Wed, 16 Jun 2004 8:56 AM
Body:
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
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPMULTIPROJECT-37?page=comments#action_20708
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPMULTIPROJECT-37
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPMULTIPROJECT-37
Summary: Reports are run for my main maven project when running multiproject:site
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-multiproject-plugin
Versions:
1.3
Assignee: dion gillard
Reporter: Michael Mattox
Created: Wed, 16 Jun 2004 8:35 AM
Updated: Wed, 16 Jun 2004 8:56 AM
Environment: multiproject plugin from CVS, maven 1.0rc3, win2k, JDK1.4.2
Description:
Reports are run for my main maven project when running multiproject:site, even though I have the main maven project in the multiproject.excludes. The result is the PMD plugin fails because there is no src/java directory:
from project.properties:
maven.multiproject.basedir=${basedir}/../
maven.multiproject.includes=**/project.xml
maven.multiproject.excludes=../project.xml,./project.xml,maven/project.xml
from maven.log:
[echo] Generating the PMD Report...
pmd:report:
[echo] Running the PMD task with C:\Documents and Settings\mmattox\.maven\plugins\maven-pmd-plugin-1.4\plugin-resources/rulesets/basic.xml,C:\Documents and Settings\mmattox\.maven\plugins\maven-pmd-plugin-1.4\plugin-resources/rulesets/unusedcode.xml,C:\Documents and Settings\mmattox\.maven\plugins\maven-pmd-plugin-1.4\plugin-resources/rulesets/imports.xml ...
BUILD FAILED
File...... C:\Documents and Settings\mmattox\.maven\plugins\maven-pmd-plugin-1.4\plugin.jelly
Element... pmd
Line...... 115
Column.... 51
C:\maven\sources\maven\src\java not found.
Total time: 13 minutes 30 seconds
Finished at: Wed Jun 16 14:28:21 CEST 2004
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org