Checkstyle suppressions should only contain suppressions for the enclosed module
--------------------------------------------------------------------------------
Key: RF-9077
URL: https://jira.jboss.org/browse/RF-9077
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: build, third-party
Reporter: Jay Balunas
Fix For: Future_4.X
Because of an issue with the maven checkstyle plugin ( or perhaps checkstyle
itself ) one one suppression file is loaded during a maven build. It is the
first suppression file found. TODO - further investigate this issue, other do
not seem to have it.
This means that any modules that require checkstyle suppressions ( 2 at time of
writing ) must contain all checkstyle suppression configuration for the
project. This is the only way to ensure that complete project can build, and
that the individual modules can build as well.
We need to update either find out how each module can have a self contained
suppression file, or create a global suppression file. The global suppression
option is not as clear as you would think. To do this we need to create a
sub-project in /trunk, that is: 1) released with the project, 2) packaged as a
jar, 3) set as a plugin dependency in each module parent.
Some useful links:
http://maven.apache.org/plugins/maven-checkstyle-plugin/index.html
http://www.sonatype.com/people/2008/04/how-to-share-resources-across-projects-in-maven/
http://stackoverflow.com/questions/1374042/how-to-use-a-single-checkstyle-suppression-file-in-maven-for-all-modules
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues