Do not let the check goal fail the build for projects with no source
--------------------------------------------------------------------

                 Key: MJNCSS-27
                 URL: http://jira.codehaus.org/browse/MJNCSS-27
             Project: Maven 2.x JavaNCSS Plugin
          Issue Type: Improvement
    Affects Versions: 2.0-beta-2, 2.0-beta-3
            Reporter: Martijn Hendriks
            Assignee: Jean-Laurent de Morlhon


When the check goal is executed on a project with no source (only modules) then 
the build fails because the javancss-raw-report.xml file is not generated and 
can thus not be found. The proposed improvement enables the global 
configuration of this plugin for all modules.

It seems that a possible fix is to add a check for the existence of the xml 
file in the NcssViolationCheckMojo.execute method. 


-- 
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

        

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

    http://xircles.codehaus.org/manage_email

Reply via email to