Carmelo Cascone | 27b9712 | 2019-11-12 10:34:05 -0800 | [diff] [blame] | 1 | load("//tools/build/bazel:pom_file.bzl", "pom_file") |
| 2 | |
Ray Milkey | b7949e7 | 2018-06-19 18:31:02 -0700 | [diff] [blame] | 3 | checkstyle_source = "src/main/resources/onos/checkstyle.xml" |
| 4 | |
| 5 | suppression_source = "src/main/resources/onos/suppressions.xml" |
| 6 | |
| 7 | header_source = "src/main/resources/onos/onos-java.header" |
| 8 | |
| 9 | filegroup( |
| 10 | name = "checkstyle_xml", |
| 11 | srcs = [checkstyle_source], |
| 12 | visibility = ["//visibility:public"], |
| 13 | ) |
| 14 | |
| 15 | filegroup( |
| 16 | name = "suppressions_xml", |
| 17 | srcs = [suppression_source], |
| 18 | visibility = ["//visibility:public"], |
| 19 | ) |
| 20 | |
| 21 | filegroup( |
| 22 | name = "onos_java_header", |
| 23 | srcs = [header_source], |
| 24 | visibility = ["//visibility:public"], |
| 25 | ) |
Thomas Vachuska | 5538d9e | 2018-08-14 09:59:35 -0700 | [diff] [blame] | 26 | |
| 27 | java_library( |
| 28 | name = "onos-build-conf", |
| 29 | resources = glob(["src/main/resources/onos/**"]), |
| 30 | visibility = ["//visibility:public"], |
| 31 | ) |
Carmelo Cascone | 27b9712 | 2019-11-12 10:34:05 -0800 | [diff] [blame] | 32 | |
| 33 | pom_file( |
| 34 | name = "onos-build-conf-pom", |
| 35 | artifact = "onos-build-conf", |
| 36 | visibility = ["//visibility:public"], |
| 37 | ) |