You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mike Perham (JIRA)" <ji...@codehaus.org> on 2006/04/04 04:57:44 UTC

[jira] Created: (MPMD-24) Check goals fail in multi-module builds

Check goals fail in multi-module builds
---------------------------------------

         Key: MPMD-24
         URL: http://jira.codehaus.org/browse/MPMD-24
     Project: Maven 2.x Pmd Plugin
        Type: Bug

    Versions: 2.0    
    Reporter: Mike Perham
     Fix For: 2.0


If I want  to configure cpd-check to run in every module build, I need to configure it in my parent POM.  However this will make the build fail because the top-level parent usually does not have any java code so the report is not generated and therefore the check will fail.  Perhaps the check goals should silently pass if the report xml does not exist?

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (MPMD-24) Check goals fail in multi-module builds

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPMD-24?page=all ]
     
Brett Porter closed MPMD-24:
----------------------------

     Assign To: Brett Porter
    Resolution: Fixed

> Check goals fail in multi-module builds
> ---------------------------------------
>
>          Key: MPMD-24
>          URL: http://jira.codehaus.org/browse/MPMD-24
>      Project: Maven 2.x Pmd Plugin
>         Type: Bug

>     Versions: 2.0
>     Reporter: Mike Perham
>     Assignee: Brett Porter
>      Fix For: 2.0

>
>
> If I want  to configure cpd-check to run in every module build, I need to configure it in my parent POM.  However this will make the build fail because the top-level parent usually does not have any java code so the report is not generated and therefore the check will fail.  Perhaps the check goals should silently pass if the report xml does not exist?

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira