mirror of
https://github.com/google/nomulus.git
synced 2025-08-06 09:45:19 +02:00
Add //third_party/java/jaxb dependency to targets using javax.xml.bind
To make FOSS build compile, third_party vendoring rules for jaxb are added to package all jaxb related targets imported from maven into a uber jar, mirroring the same practice done in //third_party/java/jaxb Cloned from CL 182666460 by 'g4 patch'. Original change by cushon@cushon:rosie182283995-0071_Rosie:47348:citc on 2018/01/20 13:36:15. More information: https://docs.google.com/document/d/1htErgDIoHMEuMBfGwrtS_O4WwhTw8QOGLva-7aYYvYs/edit?usp=sharing Tested: TAP --sample for global presubmit queue [] passed FOSS test ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=182855173
This commit is contained in:
parent
b5fb62c984
commit
97e962ba0a
13 changed files with 51 additions and 0 deletions
8
third_party/jaxb/BUILD
vendored
Normal file
8
third_party/jaxb/BUILD
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
licenses(["reciprocal"]) # CDDL 1.1 (also dual-licensed under GPL v2)
|
||||
|
||||
java_library(
|
||||
name = "jaxb",
|
||||
exports = ["//third_party/jaxb/v2_2_11"],
|
||||
)
|
19
third_party/jaxb/v2_2_11/BUILD
vendored
Normal file
19
third_party/jaxb/v2_2_11/BUILD
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
package_group(
|
||||
name = "specific_version",
|
||||
packages = ["//third_party/jaxb"],
|
||||
)
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
licenses(["reciprocal"]) # CDDL 1.1 (also dual-licensed under GPL v2)
|
||||
|
||||
java_library(
|
||||
name = "v2_2_11",
|
||||
exports = [
|
||||
"@com_sun_xml_bind_jaxb_core",
|
||||
"@com_sun_xml_bind_jaxb_impl",
|
||||
"@com_sun_xml_bind_jaxb_jxc",
|
||||
"@com_sun_xml_bind_jaxb_xjc",
|
||||
"@javax_xml_bind_jaxb_api",
|
||||
],
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue