checkstyle rule to check copyrights

Change-Id: Ia9bab40b5fe64fca539058a4316371f7acc0f387
diff --git a/tools/build/conf/src/main/resources/onos/checkstyle.xml b/tools/build/conf/src/main/resources/onos/checkstyle.xml
index 5d81aa5..6387d2b 100644
--- a/tools/build/conf/src/main/resources/onos/checkstyle.xml
+++ b/tools/build/conf/src/main/resources/onos/checkstyle.xml
@@ -50,7 +50,7 @@
 <!--
    The default severity setting in checkstyle is 'error', so some
    of the rules below are configured to change the severity to
-   'warning'.  Over time, these 'warning' settings should be 
+   'warning'.  Over time, these 'warning' settings should be
    removed as more of the ONOS source code is modified to
    follow the recommended rules.
 -->
@@ -106,6 +106,11 @@
     <!--   <property name="fileExtensions" value="java"/> -->
     <!-- </module> -->
 
+    <module name="RegexpHeader">
+        <property name="headerFile" value="tools/build/conf/src/main/resources/onos/onos-java.header"/>
+    </module>
+
+
     <module name="SuppressionCommentFilter">
         <property name="offCommentFormat"
                   value="(CHECKSTYLE\:OFF|Generated by the protocol buffer compiler.)"/>