Author: ningjiang
Date: Tue Aug 4 13:56:17 2009
New Revision: 800797
URL: http://svn.apache.org/viewvc?rev=800797&view=rev
Log:
CAMEL-1876 Added a checkstyle rule for checking the GPL license
Modified:
camel/trunk/buildingtools/src/main/resources/camel-checkstyle.xml
Modified: camel/trunk/buildingtools/src/main/resources/camel-checkstyle.xml
URL:
http://svn.apache.org/viewvc/camel/trunk/buildingtools/src/main/resources/camel-checkstyle.xml?rev=800797&r1=800796&r2=800797&view=diff
==============================================================================
--- camel/trunk/buildingtools/src/main/resources/camel-checkstyle.xml (original)
+++ camel/trunk/buildingtools/src/main/resources/camel-checkstyle.xml Tue Aug
4 13:56:17 2009
@@ -93,7 +93,11 @@
<property name="file" value="etc/import-control.xml"/>
</module>
-->
-
+ <module name="GenericIllegalRegexp">
+ <property name="format"
value="(\bgpl\b)|(\bgplv2\b)|(\bgnu\sgeneral\spublic\s*license\b)|(\bwww\.gnu\.org\/licenses\/gpl\.txt\b)"/>
+ <property name="ignoreComments" value="false"/>
+ <property name="ignoreCase" value="true"/>
+ </module>
<!-- Checks for Size Violations. -->
<!-- See http://checkstyle.sf.net/config_sizes.html -->