Use buck version of checkstyle rules in maven build
- build and package the checkstyle rules in the onos-build-conf artifact
- modify maven build to use new version of artifact
- fix checkstyle problems in maven-only code
Change-Id: I4e4dc890ca909e47463629c732a2fc5335bb4d2a
diff --git a/bucklets/onos.bucklet b/bucklets/onos.bucklet
index f34e657..d6e8b7f 100644
--- a/bucklets/onos.bucklet
+++ b/bucklets/onos.bucklet
@@ -35,7 +35,9 @@
sh_test(
name = name + '-checkstyle',
test = '//tools/build/conf:start-buck-daemon',
- deps = [ jar_target, '//tools/build/conf:onos-java-header' ],
+ deps = [ jar_target,
+ '//tools/build/conf:onos-java-header',
+ '//tools/build/conf:onos-build-conf', ],
args = [
'$(location //tools/build/conf:buck-daemon-jar)',
'checkstyle',