checkstyle plugin should skip generating reports if no sources exist (patch included) -------------------------------------------------------------------------------------
Key: MNG-1808 URL: http://jira.codehaus.org/browse/MNG-1808 Project: Maven 2 Type: Improvement Components: maven-checkstyle-plugin Versions: 2.0.1 Reporter: Christian Schulte Priority: Trivial Fix For: 2.0.1 Attachments: patch In order to be able to configure the checkstyle plugin in the root pom of a multi-module build the plugin should not throw an exception because of the non-existent src/main/java directory. for packaging pom. I would say that it is not a failure to add the checkstyle plugin into the root pom without having sourcecode therein. The attached patch will simply skip the report generation for non-existent source directories. -- 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, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]