This is an automated email from the ASF dual-hosted git repository. veithen pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ws-axiom.git
The following commit(s) were added to refs/heads/master by this push: new eefca2ef8 Remove Bazel files eefca2ef8 is described below commit eefca2ef8a9567341b9a76ecdc75b1e82ee22ee3 Author: Andreas Veithen <andreas.veit...@gmail.com> AuthorDate: Tue Jan 2 11:07:08 2024 +0000 Remove Bazel files Building with Bazel was an experiment, but the BUILD files haven't been updated in a long time. --- WORKSPACE | 423 --------------------------------------- axiom-api/BUILD | 221 -------------------- axiom-compat/BUILD | 43 ---- buildutils/BUILD | 36 ---- components/base64-utils/BUILD | 24 --- components/core-streams/BUILD | 29 --- components/xml-utils/BUILD | 24 --- implementations/axiom-dom/BUILD | 103 ---------- implementations/axiom-impl/BUILD | 130 ------------ mixins/core-mixins/BUILD | 41 ---- mixins/dom-mixins/BUILD | 43 ---- mixins/om-mixins/BUILD | 54 ----- systests/osgi-tests/BUILD | 56 ------ testing/axiom-testsuite/BUILD | 91 --------- testing/axiom-truth/BUILD | 32 --- testing/dom-testsuite/BUILD | 103 ---------- testing/jaxen-testsuite/BUILD | 30 --- testing/jaxp-testsuite/BUILD | 34 ---- testing/multiton/BUILD | 25 --- testing/soap-testsuite/BUILD | 31 --- testing/testutils/BUILD | 43 ---- testing/xml-testsuite/BUILD | 42 ---- testing/xml-truth/BUILD | 37 ---- third_party/BUILD | 85 -------- 24 files changed, 1780 deletions(-) diff --git a/WORKSPACE b/WORKSPACE deleted file mode 100644 index d5643bd5b..000000000 --- a/WORKSPACE +++ /dev/null @@ -1,423 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -workspace(name = "axiom") - -load("//buildutils:workspace.bzl", "new_patched_http_archive") - -maven_jar( - name = "asm", - artifact = "org.ow2.asm:asm:5.2", - sha1 = "4ce3ecdc7115bcbf9d4ff4e6ec638e60760819df", -) - -maven_jar( - name = "aspectj_runtime", - artifact = "org.aspectj:aspectjrt:1.8.7", - sha1 = "c4b70e763194d274477da4da9b05ea913e877268", -) - -maven_jar( - name = "aspectj_tools", - artifact = "org.aspectj:aspectjtools:1.8.7", - sha1 = "67aa2f0aeb0e5c1ee7fadb5b0a29a999a31bb6e2", -) - -maven_jar( - name = "bnd", - artifact = "biz.aQute.bnd:biz.aQute.bnd:3.3.0", - sha1 = "aa45ab294fe338bf86485549e8996bee5a8765ce", -) - -maven_jar( - name = "bndlib", - artifact = "biz.aQute.bnd:bndlib:2.4.0", - sha1 = "de13867e8e5d1f9d6b5ab5cbb16b6cfdbffdc6d2", -) - -maven_jar( - name = "byte_buddy", - artifact = "net.bytebuddy:byte-buddy:jar:1.4.26", - sha1 = "c56b0e90e3b6f9f117a0a0356674e86e86ba8652", -) - -maven_jar( - name = "commons_codec", - artifact = "commons-codec:commons-codec:1.10", - sha1 = "4b95f4897fa13f2cd904aee711aeafc0c5295cd8", -) - -maven_jar( - name = "commons_io", - artifact = "commons-io:commons-io:2.2", - sha1 = "83b5b8a7ba1c08f9e8c8ff2373724e33d3c1e22a", -) - -maven_jar( - name = "commons_logging", - artifact = "commons-logging:commons-logging:1.2", - sha1 = "4bfc12adfe4842bf07b657f0369c4cb522955686", -) - -maven_jar( - name = "crimson", - artifact = "crimson:crimson:1.1.3", - sha1 = "31e3dac9777abfec809ad9315f8b5d283cd46c40", -) - -maven_jar( - name = "dom4j", - artifact = "dom4j:dom4j:1.6.1", - sha1 = "5d3ccc056b6f056dbf0dddfdf43894b9065a8f94", -) - -maven_jar( - name = "easymock", - artifact = "org.easymock:easymock:3.1", - sha1 = "3e127311a86fc2e8f550ef8ee4abe094bbcf7e7e", -) - -maven_jar( - name = "felix", - artifact = "org.apache.felix:org.apache.felix.framework:5.0.0", - sha1 = "9fabb10642ca45792b0041d5a660b131282869db" -) - -maven_jar( - name = "guava", - artifact = "com.google.guava:guava:20.0", - sha1 = "89507701249388e1ed5ddcf8c41f4ce1be7831ef", -) - -maven_jar( - name = "hamcrest", - artifact = "org.hamcrest:hamcrest-core:jar:1.3", - sha1 = "42a25dc3219429f0e5d060061f71acb49bf010a0", -) - -maven_jar( - name = "httpclient", - artifact = "org.apache.httpcomponents:httpclient:4.3.4", - sha1 = "a9a1fef2faefed639ee0d0fba5b3b8e4eb2ff2d8", -) - -maven_jar( - name = "httpclient3", - artifact = "commons-httpclient:commons-httpclient:3.1", - sha1 = "964cd74171f427720480efdec40a7c7f6e58426a", -) - -maven_jar( - name = "httpcore", - artifact = "org.apache.httpcomponents:httpcore:4.3.2", - sha1 = "31fbbff1ddbf98f3aa7377c94d33b0447c646b6e", -) - -maven_jar( - name = "jacoco_agent", - artifact = "org.jacoco:org.jacoco.agent:0.7.9", - sha1 = "4a936caab50b117a14d9ca3a725fc9b54d0cc3d1", -) - -maven_jar( - name = "javamail", - artifact = "org.apache.geronimo.specs:geronimo-javamail_1.4_spec:1.7.1", - sha1 = "43ad4090b1a07a11c82ac40c01fc4e2fbad20013", -) - -maven_jar( - name = "jaxen", - artifact = "jaxen:jaxen:1.1.6", - sha1 = "3f8c36d9a0578e8e98f030c662b69888b1430ac0", -) - -maven_jar( - name = "jdom2", - artifact = "org.jdom:jdom2:2.0.5", - sha1 = "2001db51c131e555bafdb77fc52af6a9408c505e", -) - -maven_jar( - name = "jetty", - artifact = "org.mortbay.jetty:jetty:6.1.26", - sha1 = "2f546e289fddd5b1fab1d4199fbb6e9ef43ee4b0", -) - -maven_jar( - name = "jetty_util", - artifact = "org.mortbay.jetty:jetty-util:6.1.26", - sha1 = "e5642fe0399814e1687d55a3862aa5a3417226a9", -) - -maven_jar( - name = "junit", - artifact = "junit:junit:4.12", - sha1 = "2973d150c0dc1fefe998f834810d68f278ea58ec", -) - -maven_jar( - name = "log4j", - artifact = "log4j:log4j:1.2.17", - sha1 = "5af35056b4d257e4b64b9e8069c0746e8b08629f", -) - -maven_jar( - name = "mime4j_core", - artifact = "org.apache.james:apache-mime4j-core:0.8.0", - sha1 = "d54f45fca44a2f210569656b4ca3574b42911c95", -) - -maven_jar( - name = "mockito_core", - artifact = "org.mockito:mockito-core:2.1.0", - sha1 = "a8ca233b9d89b6e610b2e29a33ee78698f804843", -) - -maven_jar( - name = "objenesis", - artifact = "org.objenesis:objenesis:jar:2.4", - sha1 = "2916b6c96b50c5b3ec4452ed99401db745aabb27", -) - -new_http_archive( - name = "ops4j_base", - urls = ["https://github.com/ops4j/org.ops4j.base/archive/base-1.5.0.tar.gz"], - sha256 = "3cda996f13f9a6e198adb23fb49ea3adb8f8044d63d25ca047fb3ec82e1d14a2", - strip_prefix = "org.ops4j.base-base-1.5.0", - build_file = "//third_party:ops4j-base.BUILD", -) - -new_http_archive( - name = "ops4j_pax_swissbox", - urls = ["https://github.com/ops4j/org.ops4j.pax.swissbox/archive/swissbox-1.8.3.tar.gz"], - sha256 = "f4cdeb09197f402b28d852c30e2ad45931b864cc5299d7a5b97a32dfae2da897", - strip_prefix = "org.ops4j.pax.swissbox-swissbox-1.8.3", - build_file = "//third_party:ops4j-pax-swissbox.BUILD", -) - -new_http_archive( - name = "ops4j_pax_tinybundles", - urls = ["http://github.com/ops4j/org.ops4j.pax.tinybundles/archive/tinybundles-2.1.1.tar.gz"], - sha256 = "e120395b3ded08ed4886f0d3b9cfde449cbc2da795168496c83182bdefc00f78", - strip_prefix = "org.ops4j.pax.tinybundles-tinybundles-2.1.1", - build_file = "//third_party:ops4j-pax-tinybundles.BUILD", -) - -new_http_archive( - name = "ops4j_pax_url", - urls = ["https://github.com/ops4j/org.ops4j.pax.url/archive/url-2.5.2.tar.gz"], - sha256 = "739bceb63d0ae35a3629cbd3b92a94aa796f6bdaae9ac63b63e4ebe9737b5282", - strip_prefix = "org.ops4j.pax.url-url-2.5.2", - build_file = "//third_party:ops4j-pax-url.BUILD", -) - -maven_jar( - name = "osgi_core", - artifact = "org.osgi:org.osgi.core:5.0.0", - sha1 = "6e5e8cd3c9059c08e1085540442a490b59a7783c", -) - -maven_jar( - name = "osgi_compendium", - artifact = "org.osgi:org.osgi.compendium:5.0.0", - sha1 = "9d7a9c35591f6fa1c98ac85af32775c12361aee4", -) - -maven_jar( - name = "pax_exam", - artifact = "org.ops4j.pax.exam:pax-exam:4.9.1", - sha1 = "3311a0d0e4e949fcebd332511c8ba1911e289cf7", -) - -maven_jar( - name = "pax_exam_container_native", - artifact = "org.ops4j.pax.exam:pax-exam-container-native:4.9.1", - sha1 = "8d8b17bba21e9c4a79633d337104515aa79089b4", -) - -maven_jar( - name = "pax_exam_junit4", - artifact = "org.ops4j.pax.exam:pax-exam-junit4:4.9.1", - sha1 = "8341f035345f7ffa89db0b24bbd7b6ddc52c2cec", -) - -maven_jar( - name = "pax_exam_link_assembly", - artifact = "org.ops4j.pax.exam:pax-exam-link-assembly:4.9.1", - sha1 = "b2b002626b77ce7e2aa236af12c8328df014162a", -) - -maven_jar( - name = "pax_exam_spi", - artifact = "org.ops4j.pax.exam:pax-exam-spi:4.9.1", - sha1 = "211d0d89b05842a88451bd6bb4723270a10aae6c", -) - -maven_jar( - name = "saxon", - artifact = "net.sf.saxon:Saxon-HE:9.7.0-18", - sha1 = "b1742ac9973d71bc23b1e8bc3e870a0994fc0ab2", -) - -maven_jar( - name = "servlet", - artifact = "javax.servlet:javax.servlet-api:3.1.0", - sha1 = "3cd63d075497751784b2fa84be59432f4905bf7c", -) - -maven_jar( - name = "slf4j_api", - artifact = "org.slf4j:slf4j-api:1.5.11", - sha1 = "d6a855b608971025b4fbb0970f829391cc6f727a", -) - -maven_jar( - name = "slf4j_jdk14", - artifact = "org.slf4j:slf4j-jdk14:1.5.11", - sha1 = "a2106f2feaea391154e3a47d3db667b45519231f", -) - -maven_jar( - name = "spring_aop", - artifact = "org.springframework:spring-aop:4.3.9.RELEASE", - sha1 = "95f5f5cf3cae64266a89dc1bc9e0484425cd8358", -) - -maven_jar( - name = "spring_beans", - artifact = "org.springframework:spring-beans:4.3.9.RELEASE", - sha1 = "daa5abf3779c8cad1a2910e1ea08e4272489d8ae", -) - -maven_jar( - name = "spring_context", - artifact = "org.springframework:spring-context:4.3.9.RELEASE", - sha1 = "a186823724f03b98becd5f93b1fa107fe6f7a7ff", -) - -maven_jar( - name = "spring_core", - artifact = "org.springframework:spring-core:4.3.9.RELEASE", - sha1 = "430b7298bfb85d66fb61e19ca8f06231b911e9f5", -) - -maven_jar( - name = "spring_oxm", - artifact = "org.springframework:spring-oxm:4.3.9.RELEASE", - sha1 = "73ada2015865c0aaff419c4ed28bac7257f1bc85", -) - -maven_jar( - name = "spring_test", - artifact = "org.springframework:spring-test:4.3.9.RELEASE", - sha1 = "35bf4c38c9245f5baeeda4bea7c41f4f33c5daf3", -) - -maven_jar( - name = "spring_web", - artifact = "org.springframework:spring-web:4.3.9.RELEASE", - sha1 = "91dae64c4280093ad5fb4736a10913c9233479c1", -) - -maven_jar( - name = "spring_webmvc", - artifact = "org.springframework:spring-webmvc:4.3.9.RELEASE", - sha1 = "ca80b4a00abc388d8046bf372099f35564371c47", -) - -new_patched_http_archive( - name = "spring_ws", - urls = ["https://github.com/spring-projects/spring-ws/archive/v2.4.0.RELEASE.tar.gz"], - sha256 = "83fe955ae3fc0e437e460164bb942ad3307d3942fe01b8e93a7c5335618dbb67", - build_file = "//third_party:spring-ws.BUILD", - strip_prefix = "spring-ws-2.4.0.RELEASE", - patch = "//third_party:spring-ws.patch", -) - -maven_jar( - name = "stax2_api", - artifact = "org.codehaus.woodstox:stax2-api:3.1.1", - sha1 = "0466eab062e9d1a3ce2c4631b6d09b5e5c0cbd1b", -) - -maven_jar( - name = "truth", - artifact = "com.google.truth:truth:0.33", - sha1 = "66c978542e1c4c0b72508c5e3bd7d36481090171", -) - -maven_jar( - name = "woodstox", - artifact = "org.codehaus.woodstox:woodstox-core-asl:4.2.0", - sha1 = "7a3784c65cfa5c0553f31d000b43346feb1f4ee3", -) - -maven_jar( - name = "wsdl4j", - artifact = "wsdl4j:wsdl4j:1.6.3", - sha1 = "6d106a6845a3d3477a1560008479312888e94f2f", -) - -maven_jar( - name = "xalan", - artifact = "xalan:xalan:2.7.1", - sha1 = "75f1d83ce27bab5f29fff034fc74aa9f7266f22a", -) - -maven_jar( - name = "xalan_serializer", - artifact = "xalan:serializer:2.7.1", - sha1 = "4b4b18df434451249bb65a63f2fb69e215a6a020", -) - -maven_jar( - name = "xerces", - artifact = "xerces:xercesImpl:2.11.0", - sha1 = "9bb329db1cfc4e22462c9d6b43a8432f5850e92c", -) - -maven_jar( - name = "xml_apis", - artifact = "xml-apis:xml-apis:jar:1.4.01", - sha1 = "3789d9fada2d3d458c4ba2de349d48780f381ee3", -) - -maven_jar( - name = "xmlbeans", - artifact = "org.apache.xmlbeans:xmlbeans:2.3.0", - sha1 = "8704dcf5c9f10265a08f5020b0fab70eb64ac3c4", -) - -maven_jar( - name = "xmlschema", - artifact = "org.apache.ws.xmlschema:xmlschema-core:2.1.0", - sha1 = "93415557e2867469c33be98ab330655dd714297d", -) - -maven_jar( - name = "xmlunit", - artifact = "xmlunit:xmlunit:1.5", - sha1 = "7789cef5caffdecab50fd6099535ad2bc2e98044", -) - -maven_jar( - name = "xom", - artifact = "xom:xom:1.2.5", - sha1 = "4166493b9f04e91b858ba4150b28b4d197f8f8ea", -) diff --git a/axiom-api/BUILD b/axiom-api/BUILD deleted file mode 100644 index ef9b07afc..000000000 --- a/axiom-api/BUILD +++ /dev/null @@ -1,221 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -load("//buildutils:bnd.bzl", "bundle") - -java_library( - name = "ext-activation", - srcs = glob(["src/main/java/org/apache/axiom/ext/activation/*.java"]), -) - -java_library( - name = "ext-io", - srcs = glob(["src/main/java/org/apache/axiom/ext/io/*.java"]), -) - -java_library( - name = "ext-stax", - srcs = glob(["src/main/java/org/apache/axiom/ext/stax/**/*.java"]), -) - -java_library( - name = "util", - srcs = glob(["src/main/java/org/apache/axiom/util/*.java"]), -) - -java_library( - name = "util-activation", - srcs = glob(["src/main/java/org/apache/axiom/util/activation/*.java"]), - deps = [ - ":ext-activation", - ], -) - -java_library( - name = "util-base64", - srcs = glob(["src/main/java/org/apache/axiom/util/base64/*.java"]), - deps = [ - ":util-activation", - "//components/base64-utils", - ], -) - -java_library( - name = "util-io", - srcs = glob(["src/main/java/org/apache/axiom/util/io/*.java"]), - deps = [ - ":ext-io", - ], -) - -java_library( - name = "util-namespace", - srcs = glob(["src/main/java/org/apache/axiom/util/namespace/*.java"]), -) - -java_library( - name = "util-sax", - srcs = glob(["src/main/java/org/apache/axiom/util/sax/*.java"]), -) - -java_library( - name = "util-stax", - srcs = glob(["src/main/java/org/apache/axiom/util/stax/*.java"]), - deps = [ - "@commons_logging//jar", - ":blob", - ":ext-stax", - ":util-activation", - ":util-namespace", - "//components/base64-utils", - ], -) - -java_library( - name = "util-stax-wrapper", - srcs = glob(["src/main/java/org/apache/axiom/util/stax/wrapper/*.java"]), -) - -java_library( - name = "util-stax-debug", - srcs = glob(["src/main/java/org/apache/axiom/util/stax/debug/*.java"]), - deps = [ - "@commons_logging//jar", - ":util-stax-wrapper", - ], -) - -java_library( - name = "blob", - srcs = glob(["src/main/java/org/apache/axiom/blob/*.java"]), - deps = [ - "@commons_logging//jar", - ":ext-activation", - ":ext-io", - ":util-io", - ], -) - -java_library( - name = "mime", - srcs = glob(["src/main/java/org/apache/axiom/mime/*.java"]), - deps = [ - "@commons_logging//jar", - "@mime4j_core//jar", - ":blob", - ":ext-activation", - ":ext-io", - ":util", - "//components/base64-utils", - ], -) - -java_library( - name = "stax", - srcs = glob(["src/main/java/org/apache/axiom/util/stax/dialect/*.java"]) + [ - "src/main/java/org/apache/axiom/om/util/StAXParserConfiguration.java", - "src/main/java/org/apache/axiom/om/util/StAXUtils.java", - "src/main/java/org/apache/axiom/om/util/StAXWriterConfiguration.java", - ], - deps = [ - "@commons_logging//jar", - "@stax2_api//jar", - ":ext-stax", - "util-namespace", - ":util-stax", - ":util-stax-wrapper", - ], -) - -java_library( - name = "axiom-api", - srcs = glob([ - # TODO: disentangle attachments from the rest of axiom-api - "src/main/java/org/apache/axiom/attachments/**/*.java", - "src/main/java/org/apache/axiom/om/*.java", - "src/main/java/org/apache/axiom/om/dom/*.java", - "src/main/java/org/apache/axiom/om/ds/**/*.java", - "src/main/java/org/apache/axiom/om/impl/*.java", - # TODO: move this to a separate rule - "src/main/java/org/apache/axiom/om/xpath/*.java", - "src/main/java/org/apache/axiom/soap/*.java", - ]) + [ - "src/main/java/org/apache/axiom/om/util/AXIOMUtil.java", - "src/main/java/org/apache/axiom/om/util/DigestGenerator.java", - "src/main/java/org/apache/axiom/om/util/CommonUtils.java", - "src/main/java/org/apache/axiom/om/util/LogOutputStream.java", - ], - deps = [ - "@commons_logging//jar", - "@jaxen//jar", - ":blob", - ":ext-activation", - ":ext-stax", - ":mime", - ":stax", - ":util", - ":util-namespace", - ":util-stax", - ], - # TODO - javacopts = ['-extra_checks:off'], -) - -java_library( - name = "locator", - srcs = glob(["src/main/java/org/apache/axiom/locator/*.java"]), - deps = [ - "@commons_logging//jar", - "@osgi_core//jar", - ":axiom-api", - ":locator-loader", - ], -) - -java_library( - name = "locator-loader", - srcs = glob(["src/main/java/org/apache/axiom/locator/loader/*.java"]), - deps = [ - ":axiom-api", - ], -) - -bundle( - name = "bundle", - symbolic_name = "org.apache.ws.commons.axiom.axiom-api", - private_packages = [], - export_packages = [ - "org.apache.axiom.*;-split-package:=merge-first;-noimport:=true", - ], - import_packages = [ - "org.jaxen.*;resolution:=optional", - "org.codehaus.stax2;resolution:=optional", - "org.apache.james.mime4j.*;version=\"${range;[==,=+)}\"", - "*" - ], - activator = "org.apache.axiom.locator.Activator", - activation_policy = "lazy", - deps = [ - ":locator", - ":util-base64", - ":util-sax", - ], -) diff --git a/axiom-compat/BUILD b/axiom-compat/BUILD deleted file mode 100644 index 7d47c89b8..000000000 --- a/axiom-compat/BUILD +++ /dev/null @@ -1,43 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -java_library( - name = "axiom-compat", - srcs = glob(["src/main/java/**/*.java"]), - deps = [ - "@commons_logging//jar", - "@javamail//jar", - "//axiom-api", - "//axiom-api:ext-activation", - "//axiom-api:ext-io", - "//axiom-api:ext-stax", - "//axiom-api:mime", - "//axiom-api:stax", - "//axiom-api:util", - "//axiom-api:util-base64", - "//axiom-api:util-namespace", - "//axiom-api:util-sax", - "//axiom-api:util-stax", - "//axiom-api:util-stax-wrapper", - "//axiom-api:util-activation", - "//components/base64-utils", - ], -) diff --git a/buildutils/BUILD b/buildutils/BUILD deleted file mode 100644 index 845231f8e..000000000 --- a/buildutils/BUILD +++ /dev/null @@ -1,36 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -java_binary( - name = "ajc", - runtime_deps = [ - "@aspectj_tools//jar", - ], - main_class = "org.aspectj.tools.ajc.Main", -) - -java_binary( - name = "bnd", - runtime_deps = [ - "@bnd//jar", - ], - main_class = "aQute.bnd.main.bnd", -) diff --git a/components/base64-utils/BUILD b/components/base64-utils/BUILD deleted file mode 100644 index 4cf6a0291..000000000 --- a/components/base64-utils/BUILD +++ /dev/null @@ -1,24 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -java_library( - name = "base64-utils", - srcs = glob(["src/main/java/**/*.java"]), - visibility = ["//visibility:public"], -) diff --git a/components/core-streams/BUILD b/components/core-streams/BUILD deleted file mode 100644 index bc7fc7ab6..000000000 --- a/components/core-streams/BUILD +++ /dev/null @@ -1,29 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -java_library( - name = "core-streams", - srcs = glob(["src/main/java/**/*.java"]), - visibility = ["//visibility:public"], - deps = [ - "@commons_logging//jar", - "//components/xml-utils", - "//components/base64-utils", - ], -) diff --git a/components/xml-utils/BUILD b/components/xml-utils/BUILD deleted file mode 100644 index 802fa0616..000000000 --- a/components/xml-utils/BUILD +++ /dev/null @@ -1,24 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -java_library( - name = "xml-utils", - srcs = glob(["src/main/java/**/*.java"]), - visibility = ["//visibility:public"], -) diff --git a/implementations/axiom-dom/BUILD b/implementations/axiom-dom/BUILD deleted file mode 100644 index 3a228ae48..000000000 --- a/implementations/axiom-dom/BUILD +++ /dev/null @@ -1,103 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -load("//buildutils:aspectj.bzl", "aj_library") -load("//buildutils:test.bzl", "test") - -java_library( - name = "factory", - srcs = glob(["src/main/java/org/apache/axiom/om/impl/dom/factory/*.java"]), - resources = glob(["src/main/resources/**/*"]), - deps = [ - "//aspects/dom-aspects", - "//aspects/om-aspects", - "//axiom-api:locator-loader", - "//axiom-api:stax", - ], -) - -aj_library( - name = "axiom-dom", - srcs = glob([ - "src/main/java/org/apache/axiom/om/impl/dom/*.java", - "src/main/java/org/apache/axiom/soap/impl/dom/**/*.java", - "src/main/java/**/*.aj", - ]), - aspects = [ - "//aspects/core-aspects", - "//aspects/dom-aspects", - "//aspects/om-aspects", - "//aspects/shared-aspects", - ], - deps = [ - "@woodstox//jar", - ":factory", - ], -) - -test( - name = "om-implementation-test", - srcs = ["src/test/java/org/apache/axiom/om/impl/dom/OMImplementationTest.java"], - test_class = "org.apache.axiom.om.impl.dom.OMImplementationTest", - deps = [ - ":axiom-dom", - "//testing/axiom-testsuite", - ], -) - -test( - name = "soap-implementation-test", - srcs = ["src/test/java/org/apache/axiom/soap/impl/dom/SOAPImplementationTest.java"], - test_class = "org.apache.axiom.soap.impl.dom.SOAPImplementationTest", - deps = [ - ":axiom-dom", - "//testing/axiom-testsuite", - ], -) - -test( - name = "dom-implementation-test", - srcs = [ - "src/test/java/org/apache/axiom/om/impl/dom/DOMTests.java", - "src/test/java/org/apache/axiom/om/impl/dom/DOMImplementationTest.java", - ], - test_class = "org.apache.axiom.om.impl.dom.DOMImplementationTest", - deps = [ - ":axiom-dom", - "//testing/dom-testsuite", - # TODO: this shouldn't be here - "//testing/dom-testsuite:common", - "//testing/dom-testsuite:w3c", - ], -) - -[test( - name = "w3c-dom-level%s-implementation-test" % level, - srcs = [ - "src/test/java/org/apache/axiom/om/impl/dom/DOMTests.java", - "src/test/java/org/apache/axiom/om/impl/dom/W3CDOMLevel%sImplementationTest.java" % level, - ], - test_class = "org.apache.axiom.om.impl.dom.W3CDOMLevel%sImplementationTest" % level, - deps = [ - ":axiom-dom", - "//testing/dom-testsuite:common", - "//testing/dom-testsuite:w3c", - "//testing/dom-testsuite:w3c-level%s" % level, - ], -) for level in [1, 2, 3]] diff --git a/implementations/axiom-impl/BUILD b/implementations/axiom-impl/BUILD deleted file mode 100644 index d77b112b5..000000000 --- a/implementations/axiom-impl/BUILD +++ /dev/null @@ -1,130 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -load("//buildutils:aspectj.bzl", "aj_library") -load("//buildutils:bnd.bzl", "bundle") -load("//buildutils:test.bzl", "test") - -java_library( - name = "factory", - srcs = glob(["src/main/java/org/apache/axiom/om/impl/llom/factory/*.java"]), - resources = glob(["src/main/resources/**/*"]), - deps = [ - "//aspects/om-aspects", - "//axiom-api:locator-loader", - ], -) - -aj_library( - name = "axiom-impl", - srcs = glob([ - "src/main/java/org/apache/axiom/om/impl/llom/*.java", - "src/main/java/org/apache/axiom/soap/impl/llom/**/*.java", - ]), - aspects = [ - "//aspects/core-aspects", - "//aspects/om-aspects", - "//aspects/shared-aspects", - ], - deps = [ - ":factory", - "@woodstox//jar", - ], -) - -bundle( - name = "bundle", - symbolic_name = "org.apache.ws.commons.axiom.axiom-impl", - private_packages = [ - "org.apache.axiom.core.*", - "!org.apache.axiom.om.impl", - "org.apache.axiom.om.impl.llom.*;-split-package:=merge-first", - "org.apache.axiom.om.impl.*", - "org.apache.axiom.soap.impl.*;-split-package:=merge-first", - "org.apache.axiom.shared.*", - "org.apache.axiom.util.xml.*", - # TODO: remove this; see r1796490 - "org.aspectj.lang", - "org.aspectj.lang.annotation", - ], - import_packages = [ - "!org.aspectj.*", - "*", - ], - activation_policy = "lazy", - visibility = ["//visibility:public"], - deps = [ - "axiom-impl", - ], - resources = ["src/main/resources/META-INF/axiom.xml"], -) - -test( - name = "om-implementation-test", - srcs = ["src/test/java/org/apache/axiom/om/impl/llom/OMImplementationTest.java"], - test_class = "org.apache.axiom.om.impl.llom.OMImplementationTest", - deps = [ - ":axiom-impl", - "//testing/axiom-testsuite", - ], -) - -test( - name = "soap-implementation-test", - srcs = ["src/test/java/org/apache/axiom/soap/impl/llom/SOAPImplementationTest.java"], - test_class = "org.apache.axiom.soap.impl.llom.SOAPImplementationTest", - deps = [ - ":axiom-impl", - "//testing/axiom-testsuite", - ], -) - -[test( - name = "spring-ws-%s" % name.replace(".", "-"), - test_class = "org.springframework.ws.%s" % name, - runtime_deps = [ - "@spring_ws//:core-tests", - ":axiom-impl", - "//axiom-api:locator", - ], -) for name in [ - "soap.axiom.AxiomHandlerTest", - "soap.axiom.AxiomSoap11BodyTest", - "soap.axiom.AxiomSoap11EnvelopeTest", - "soap.axiom.AxiomSoap11HeaderTest", - "soap.axiom.AxiomSoap11MessageFactoryTest", - "soap.axiom.AxiomSoap11MessageTest", - "soap.axiom.AxiomSoap11NonCachingBodyTest", - "soap.axiom.AxiomSoap11NonCachingMessageTest", - "soap.axiom.AxiomSoap12BodyTest", - "soap.axiom.AxiomSoap12EnvelopeTest", - "soap.axiom.AxiomSoap12HeaderTest", - "soap.axiom.AxiomSoap12MessageFactoryTest", - "soap.axiom.AxiomSoap12MessageTest", - "soap.axiom.AxiomSoap12NonCachingBodyTest", - "soap.axiom.AxiomSoap12NonCachingMessageTest", - "soap.axiom.AxiomSoapFaultDetailTest", - "soap.axiom.NonCachingPayloadTest", - # TODO: this one doesn't work -# "soap.axiom.support.AxiomUtilsTest", - "client.core.AxiomStreamingSoap11WebServiceTemplateIntegrationTest", - "client.core.AxiomNonStreamingSoap11WebServiceTemplateIntegrationTest", - "client.core.AxiomStreamingSoap12WebServiceTemplateIntegrationTest", - "client.core.AxiomNonStreamingSoap12WebServiceTemplateIntegrationTest", -]] diff --git a/mixins/core-mixins/BUILD b/mixins/core-mixins/BUILD deleted file mode 100644 index f46c3996c..000000000 --- a/mixins/core-mixins/BUILD +++ /dev/null @@ -1,41 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -load('//buildutils:aspectj.bzl', 'aj_library') - -java_library( - name = "interface", - srcs = glob(["src/main/java/**/*.java"]), - neverlink = 1, - deps = [ - "//components/core-streams", - ], -) - -aj_library( - name = "core-aspects", - srcs = glob(["src/main/java/**/*.aj"]), - injars = [":interface"], - deps = [ - # TODO: necessary because ajc doesn't understand header JARs - "//components/core-streams", - ], -) diff --git a/mixins/dom-mixins/BUILD b/mixins/dom-mixins/BUILD deleted file mode 100644 index a7bad5fcc..000000000 --- a/mixins/dom-mixins/BUILD +++ /dev/null @@ -1,43 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -load('//buildutils:aspectj.bzl', 'aj_library') - -# TODO: include all non mixins here -java_library( - name = "classes", - resources = glob(["src/main/resources/**/*"]), -) - -aj_library( - name = "dom-aspects", - srcs = glob([ - "src/main/java/**/*.java", - "src/main/java/**/*.aj", - ]), - deps = [ - # TODO: too many dependencies here because ajc doesn't understand header JARs - ":classes", - "//aspects/core-aspects:interface", - "//aspects/shared-aspects", - "//components/xml-utils", - ], -) diff --git a/mixins/om-mixins/BUILD b/mixins/om-mixins/BUILD deleted file mode 100644 index 069a42454..000000000 --- a/mixins/om-mixins/BUILD +++ /dev/null @@ -1,54 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -load('//buildutils:aspectj.bzl', 'aj_library') - -aj_library( - name = "om-aspects", - srcs = glob([ - "src/main/java/**/*.java", - "src/main/java/**/*.aj", - ]), - deps = [ - # TODO: too many dependencies because ajc doesn't understand header JARs - "@commons_logging//jar", - "//aspects/core-aspects:interface", - "//aspects/shared-aspects", - "//axiom-api", - "//axiom-api:blob", - "//axiom-api:ext-activation", - "//axiom-api:ext-io", - "//axiom-api:ext-stax", - "//axiom-api:mime", - "//axiom-api:stax", - "//axiom-api:util", - "//axiom-api:util-activation", - "//axiom-api:util-io", - "//axiom-api:util-base64", - "//axiom-api:util-namespace", - "//axiom-api:util-sax", - "//axiom-api:util-stax", - "//axiom-api:util-stax-wrapper", - "//components/base64-utils", - "//components/core-streams", - "//components/xml-utils", - ], -) diff --git a/systests/osgi-tests/BUILD b/systests/osgi-tests/BUILD deleted file mode 100644 index 4796115fd..000000000 --- a/systests/osgi-tests/BUILD +++ /dev/null @@ -1,56 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -load(":build_defs.bzl", "link") -load("//buildutils:test.bzl", "test") - -link( - name = "mime4j", - bundle = "@mime4j_core//jar", - symbolic_name = "org.apache.james.apache-mime4j-core", -) - -link( - name = "axiom-api", - bundle = "//axiom-api:bundle", - symbolic_name = "org.apache.ws.commons.axiom.axiom-api", -) - -link( - name = "axiom-impl", - bundle = "//implementations/axiom-impl:bundle", - symbolic_name = "org.apache.ws.commons.axiom.axiom-impl", -) - -test( - name = "system-deps-test", - srcs = [ - "src/test/java/org/apache/axiom/test/SystemDepsTest.java", - ], - test_class = "org.apache.axiom.test.SystemDepsTest", - deps = [ - "//axiom-api", - "//third_party:pax-exam", - ], - runtime_deps = [ - ":axiom-api", - ":axiom-impl", - ":mime4j", - ], -) diff --git a/testing/axiom-testsuite/BUILD b/testing/axiom-testsuite/BUILD deleted file mode 100644 index a8f3a2cc1..000000000 --- a/testing/axiom-testsuite/BUILD +++ /dev/null @@ -1,91 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -# TODO: not all rules should be visible -package(default_visibility = ["//visibility:public"]) - -genrule( - name = "identity", - srcs = ["src/main/schemas/identity.xsd"], - outs = ["identity.srcjar"], - tools = [ - "@local_jdk//:xjc", - "@local_jdk//:jar", - ], - cmd = """ - mkdir $(@D)/_srcs; - $(location @local_jdk//:xjc) -d $(@D)/_srcs $< > /dev/null; - $(location @local_jdk//:jar) cf $@ -C $(@D)/_srcs . > /dev/null; - rm -rf $(@D)/_srcs""", -) - -java_binary( - name = "scomp", - runtime_deps = ["@xmlbeans//jar"], - main_class = "org.apache.xmlbeans.impl.tool.SchemaCompiler", -) - -genrule( - name = "order", - srcs = ["src/main/xsd/order.xsd"], - outs = ["order.jar"], - tools = [":scomp"], - cmd = "$(location :scomp) -out $@ $< > /dev/null", -) - -java_library( - name = "axiom-testsuite", - srcs = glob(["src/main/java/**/*.java"]) + [ - ":identity", - ], - resources = glob(["src/main/resources/**/*"]), - deps = [ - "@commons_codec//jar", - "@commons_io//jar", - "@javamail//jar", - "@jaxen//jar", - "@truth//jar", - "@xalan_serializer//jar", - "@xmlbeans//jar", - ":order", - "//axiom-api", - "//axiom-api:blob", - "//axiom-api:ext-stax", - "//axiom-api:mime", - "//axiom-api:stax", - "//axiom-api:util", - "//axiom-api:util-sax", - "//axiom-api:util-stax", - "//axiom-api:util-stax-debug", - "//axiom-api:util-stax-wrapper", - "//components/base64-utils", - "//components/core-streams", - "//components/xml-utils", - "//testing/axiom-truth", - "//testing/jaxen-testsuite", - "//testing/jaxp-testsuite", - "//testing/multiton", - "//testing/soap-testsuite", - "//testing/testutils", - "//testing/xml-testsuite", - "//testing/xml-truth", - "//third_party:junit", - "//third_party:mockito", - ], -) diff --git a/testing/axiom-truth/BUILD b/testing/axiom-truth/BUILD deleted file mode 100644 index 94c2cf654..000000000 --- a/testing/axiom-truth/BUILD +++ /dev/null @@ -1,32 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -java_library( - name = "axiom-truth", - srcs = glob(["src/main/java/**/*.java"]), - resources = glob(["src/main/resources/**/*"]), - deps = [ - "@guava//jar", - "@truth//jar", - "//axiom-api", - "//testing/xml-truth:spi", - ], -) diff --git a/testing/dom-testsuite/BUILD b/testing/dom-testsuite/BUILD deleted file mode 100644 index b3c6502d6..000000000 --- a/testing/dom-testsuite/BUILD +++ /dev/null @@ -1,103 +0,0 @@ -genrule( - name = "org-w3c-domts", - srcs = ["src/w3c/dom1-core-tests-20040405.jar"], - outs = ["liborg-w3c-domts.jar"], - cmd = """ - tmpdir=$$(mktemp -d) - dir=$$(pwd) - cd $$tmpdir - jar xf $$dir/$< - jar cf $$dir/$@ org/w3c/domts/*.class - rm -rf $$tmpdir""", -) - -java_library( - name = "common", - srcs = [ - "src/main/java/org/apache/axiom/ts/dom/DocumentBuilderFactoryFactory.java", - ], - visibility = ["//visibility:public"], -) - -java_library( - name = "dom-testsuite", - srcs = glob([ - "src/main/java/org/apache/axiom/ts/dom/DOMTestCase.java", - "src/main/java/org/apache/axiom/ts/dom/DOMTestSuiteBuilder.java", - "src/main/java/org/apache/axiom/ts/dom/DOMUtils.java", - "src/main/java/org/apache/axiom/ts/dom/attr/**/*.java", - "src/main/java/org/apache/axiom/ts/dom/builder/**/*.java", - "src/main/java/org/apache/axiom/ts/dom/document/**/*.java", - "src/main/java/org/apache/axiom/ts/dom/documentfragment/**/*.java", - "src/main/java/org/apache/axiom/ts/dom/documenttype/**/*.java", - "src/main/java/org/apache/axiom/ts/dom/element/**/*.java", - "src/main/java/org/apache/axiom/ts/dom/text/**/*.java", - ]), - resources = glob(["src/main/resources/**/*"]), - visibility = ["//visibility:public"], - deps = [ - "@truth//jar", - ":common", - "//testing/multiton", - "//testing/testutils", - "//testing/jaxp-testsuite", - "//testing/xml-testsuite", - "//testing/xml-truth", - "//third_party:mockito", - "//third_party:xerces", - ], -) - -java_library( - name = "w3c", - srcs = glob(["src/main/java/org/apache/axiom/ts/dom/w3c/*.java"]), - visibility = ["//visibility:public"], - deps = [ - "@asm//jar", - ":common", - ":org-w3c-domts", - "//testing/testutils", - "//third_party:junit", - ], -) - -[java_library( - name = "w3c-level%s" % level, - srcs = [ - "src/main/java/org/apache/axiom/ts/dom/w3c/level%s/W3CDOMLevel%sTestSuiteBuilder.java" % (level, level), - ], - visibility = ["//visibility:public"], - deps = [ - "src/w3c/dom%s-core-tests-20040405.jar" % level, - ":common", - ":w3c", - ], -) for level in [1, 2, 3]] - -java_test( - name = "xerces-test", - srcs = [ - "src/test/java/org/apache/axiom/ts/dom/XercesTest.java", - ], - deps = [ - ":common", - ":dom-testsuite", - "//third_party:xerces", - ], - test_class = "org.apache.axiom.ts.dom.XercesTest", -) - -[java_test( - name = "w3c-level%s-xerces-test" % level, - srcs = [ - "src/test/java/org/apache/axiom/ts/dom/w3c/level%s/XercesTest.java" % level, - ], - deps = [ - ":common", - ":w3c", - ":w3c-level%s" % level, - "//third_party:xerces", - ], - test_class = "org.apache.axiom.ts.dom.w3c.level%s.XercesTest" % level, -) for level in [1, 2, 3]] - diff --git a/testing/jaxen-testsuite/BUILD b/testing/jaxen-testsuite/BUILD deleted file mode 100644 index 9b6b62f8e..000000000 --- a/testing/jaxen-testsuite/BUILD +++ /dev/null @@ -1,30 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -java_library( - name = "jaxen-testsuite", - srcs = glob(["src/main/java/**/*.java"]), - resources = glob(["src/main/resources/**/*"]), - deps = [ - "@jaxen//jar", - "//third_party:junit", - ], -) diff --git a/testing/jaxp-testsuite/BUILD b/testing/jaxp-testsuite/BUILD deleted file mode 100644 index e9855a74e..000000000 --- a/testing/jaxp-testsuite/BUILD +++ /dev/null @@ -1,34 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -java_library( - name = "jaxp-testsuite", - srcs = glob(["src/main/java/**/*.java"]), - deps = [ - # TODO: Xerces needs to come before Crimson; this shouldn't be the case - "//third_party:xerces", - "@crimson//jar", - "@saxon//jar", - "@xalan//jar", - "@xalan_serializer//jar", - "//testing/multiton", - ], -) diff --git a/testing/multiton/BUILD b/testing/multiton/BUILD deleted file mode 100644 index f11555b04..000000000 --- a/testing/multiton/BUILD +++ /dev/null @@ -1,25 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -java_library( - name = "multiton", - srcs = glob(["src/main/java/**/*.java"]), -) diff --git a/testing/soap-testsuite/BUILD b/testing/soap-testsuite/BUILD deleted file mode 100644 index a640c051d..000000000 --- a/testing/soap-testsuite/BUILD +++ /dev/null @@ -1,31 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -java_library( - name = "soap-testsuite", - srcs = glob(["src/main/java/**/*.java"]), - resources = glob(["src/main/resources/**/*"]), - deps = [ - "//components/xml-utils", - "//testing/multiton", - "//testing/xml-testsuite", - ], -) diff --git a/testing/testutils/BUILD b/testing/testutils/BUILD deleted file mode 100644 index 7aca5007b..000000000 --- a/testing/testutils/BUILD +++ /dev/null @@ -1,43 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -java_library( - name = "testutils", - srcs = glob(["src/main/java/**/*.java"]), - deps = [ - "@commons_io//jar", - "@guava//jar", - "@osgi_core//jar", - "@truth//jar", - "//third_party:junit", - ], -) - -java_test( - name = "data_source_registry_test", - srcs = [ - "src/test/java/org/apache/axiom/testutils/net/protocol/mem/DataSourceRegistryTest.java", - ], - deps = [ - ":testutils", - ], - test_class = "org.apache.axiom.testutils.net.protocol.mem.DataSourceRegistryTest", -) diff --git a/testing/xml-testsuite/BUILD b/testing/xml-testsuite/BUILD deleted file mode 100644 index 44436a6c8..000000000 --- a/testing/xml-testsuite/BUILD +++ /dev/null @@ -1,42 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -genrule( - name = "filelist", - srcs = glob(["src/main/resources/org/apache/axiom/ts/xml/bulk/*.xml"]), - # src/*/resources is magic; see the documentation of java_library. - outs = ["src/generated/resources/org/apache/axiom/ts/xml/bulk/filelist"], - cmd = "for f in $(SRCS); do echo $$(basename $$f) >> $@; done", -) - -java_library( - name = "xml-testsuite", - srcs = glob(["src/main/java/**/*.java"]), - resources = glob(["src/main/resources/**/*"]) + ["filelist"], - visibility = ["//visibility:public"], - deps = [ - "@commons_codec//jar", - "@commons_io//jar", - "@javamail//jar", - "@stax2_api//jar", - "@woodstox//jar", - "//testing/multiton", - "//testing/testutils", - ], -) diff --git a/testing/xml-truth/BUILD b/testing/xml-truth/BUILD deleted file mode 100644 index aa966476d..000000000 --- a/testing/xml-truth/BUILD +++ /dev/null @@ -1,37 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -java_library( - name = "spi", - srcs = glob(["src/main/java/org/apache/axiom/truth/xml/spi/*.java"]), -) - -java_library( - name = "xml-truth", - srcs = glob(["src/main/java/**/*.java"]), - deps = [ - "@guava//jar", - "@stax2_api//jar", - "@truth//jar", - "@woodstox//jar", - ":spi", - ], -) diff --git a/third_party/BUILD b/third_party/BUILD deleted file mode 100644 index 48f89edec..000000000 --- a/third_party/BUILD +++ /dev/null @@ -1,85 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -genrule( - name = "jacocoagent", - srcs = ["@jacoco_agent//jar"], - outs = ["jacocoagent.jar"], - cmd = """ - dir=$$(pwd) - cd $(@D) - jar xf $$dir/$< jacocoagent.jar""", -) - -java_library( - name = "junit", - exports = [ - "@junit//jar", - ], - runtime_deps = [ - "@hamcrest//jar", - ], -) - -java_library( - name = "mockito", - exports = [ - "@mockito_core//jar", - ], - runtime_deps = [ - "@byte_buddy//jar", - "@objenesis//jar", - ], -) - -java_library( - name = "pax-exam", - exports = [ - "@pax_exam//jar", - "@pax_exam_junit4//jar", - "@pax_exam_spi//jar", - ], - runtime_deps = [ - "@felix//jar", - "@ops4j_base//:io", - "@ops4j_base//:lang", - "@ops4j_base//:store", - "@ops4j_base//:util-property", - "@pax_exam_container_native//jar", - "@pax_exam_link_assembly//jar", - "@ops4j_pax_swissbox//:tracker", - "@ops4j_pax_tinybundles//:tinybundles", - "@ops4j_pax_url//:classpath", - "@ops4j_pax_url//:link", - "@slf4j_api//jar", - "@slf4j_jdk14//jar", - ], -) - -java_library( - name = "xerces", - exports = [ - "@xerces//jar", - ], - runtime_deps = [ - "@xml_apis//jar", - ], -)