checkstyle rule to check copyrights

Change-Id: Ia9bab40b5fe64fca539058a4316371f7acc0f387
diff --git a/tools/build/conf/BUCK b/tools/build/conf/BUCK
index 7644c70..cb80dd2 100644
--- a/tools/build/conf/BUCK
+++ b/tools/build/conf/BUCK
@@ -1,5 +1,6 @@
 checkstyle_source = 'src/main/resources/onos/checkstyle.xml'
 suppression_source = 'src/main/resources/onos/suppressions.xml'
+header_source = 'src/main/resources/onos/onos-java.header'
 
 export_file (
   name = 'checkstyle-xml',
@@ -14,6 +15,12 @@
 )
 
 export_file (
+  name = 'onos-java-header',
+  src = header_source,
+  visibility = [ 'PUBLIC' ],
+)
+
+export_file (
   name = 'start-buck-daemon',
   visibility = [ 'PUBLIC' ],
 )
@@ -65,4 +72,4 @@
 #   ],
 #   labels = [ 'checkstyle' ],
 #   visibility = [ 'PUBLIC' ],
-# )
\ No newline at end of file
+# )