ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1798003 - in /webservices/axiom/trunk: WORKSPACE axiom-api/BUILD components/base64-utils/BUILD components/core-streams/BUILD components/xml-utils/BUILD testing/multiton/BUILD testing/testutils/BUILD
Date Wed, 07 Jun 2017 21:55:35 GMT
Author: veithen
Date: Wed Jun  7 21:55:34 2017
New Revision: 1798003

URL: http://svn.apache.org/viewvc?rev=1798003&view=rev
Log:
Add Bazel build files.

Added:
    webservices/axiom/trunk/WORKSPACE
    webservices/axiom/trunk/axiom-api/BUILD
    webservices/axiom/trunk/components/base64-utils/BUILD
    webservices/axiom/trunk/components/core-streams/BUILD
    webservices/axiom/trunk/components/xml-utils/BUILD
    webservices/axiom/trunk/testing/multiton/BUILD
    webservices/axiom/trunk/testing/testutils/BUILD

Added: webservices/axiom/trunk/WORKSPACE
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/WORKSPACE?rev=1798003&view=auto
==============================================================================
--- webservices/axiom/trunk/WORKSPACE (added)
+++ webservices/axiom/trunk/WORKSPACE Wed Jun  7 21:55:34 2017
@@ -0,0 +1,53 @@
+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 = "guava",
+    artifact = "com.google.guava:guava:20.0",
+    sha1 = "89507701249388e1ed5ddcf8c41f4ce1be7831ef",
+)
+
+maven_jar(
+    name = "jaxen",
+    artifact = "jaxen:jaxen:1.1.6",
+    sha1 = "3f8c36d9a0578e8e98f030c662b69888b1430ac0",
+)
+
+maven_jar(
+    name = "junit",
+    artifact = "junit:junit:4.12",
+    sha1 = "2973d150c0dc1fefe998f834810d68f278ea58ec",
+)
+
+maven_jar(
+    name = "mime4j_core",
+    artifact = "org.apache.james:apache-mime4j-core:0.8.0",
+    sha1 = "d54f45fca44a2f210569656b4ca3574b42911c95",
+)
+
+maven_jar(
+    name = "osgi_core",
+    artifact = "org.osgi:org.osgi.core:5.0.0",
+    sha1 = "6e5e8cd3c9059c08e1085540442a490b59a7783c",
+)
+
+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",
+)

Added: webservices/axiom/trunk/axiom-api/BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/axiom-api/BUILD?rev=1798003&view=auto
==============================================================================
--- webservices/axiom/trunk/axiom-api/BUILD (added)
+++ webservices/axiom/trunk/axiom-api/BUILD Wed Jun  7 21:55:34 2017
@@ -0,0 +1,130 @@
+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-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-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 = "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/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",
+    ],
+)

Added: webservices/axiom/trunk/components/base64-utils/BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/components/base64-utils/BUILD?rev=1798003&view=auto
==============================================================================
--- webservices/axiom/trunk/components/base64-utils/BUILD (added)
+++ webservices/axiom/trunk/components/base64-utils/BUILD Wed Jun  7 21:55:34 2017
@@ -0,0 +1,5 @@
+java_library(
+    name = "base64-utils",
+    srcs = glob(["src/main/java/**/*.java"]),
+    visibility = ["//visibility:public"],
+)

Added: webservices/axiom/trunk/components/core-streams/BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/components/core-streams/BUILD?rev=1798003&view=auto
==============================================================================
--- webservices/axiom/trunk/components/core-streams/BUILD (added)
+++ webservices/axiom/trunk/components/core-streams/BUILD Wed Jun  7 21:55:34 2017
@@ -0,0 +1,10 @@
+java_library(
+    name = "core-streams",
+    srcs = glob(["src/main/java/**/*.java"]),
+    visibility = ["//visibility:public"],
+    deps = [
+        "@commons_logging//jar",
+        "//components/xml-utils",
+        "//components/base64-utils",
+    ],
+)

Added: webservices/axiom/trunk/components/xml-utils/BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/components/xml-utils/BUILD?rev=1798003&view=auto
==============================================================================
--- webservices/axiom/trunk/components/xml-utils/BUILD (added)
+++ webservices/axiom/trunk/components/xml-utils/BUILD Wed Jun  7 21:55:34 2017
@@ -0,0 +1,5 @@
+java_library(
+    name = "xml-utils",
+    srcs = glob(["src/main/java/**/*.java"]),
+    visibility = ["//visibility:public"],
+)

Added: webservices/axiom/trunk/testing/multiton/BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/testing/multiton/BUILD?rev=1798003&view=auto
==============================================================================
--- webservices/axiom/trunk/testing/multiton/BUILD (added)
+++ webservices/axiom/trunk/testing/multiton/BUILD Wed Jun  7 21:55:34 2017
@@ -0,0 +1,4 @@
+java_library(
+    name = "multiton",
+    srcs = glob(["src/main/java/**/*.java"]),
+)

Added: webservices/axiom/trunk/testing/testutils/BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/testing/testutils/BUILD?rev=1798003&view=auto
==============================================================================
--- webservices/axiom/trunk/testing/testutils/BUILD (added)
+++ webservices/axiom/trunk/testing/testutils/BUILD Wed Jun  7 21:55:34 2017
@@ -0,0 +1,22 @@
+java_library(
+    name = "testutils",
+    srcs = glob(["src/main/java/**/*.java"]),
+    deps = [
+        "@commons_io//jar",
+        "@guava//jar",
+        "@junit//jar",
+        "@osgi_core//jar",
+        "@truth//jar",
+    ],
+)
+
+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",
+)



Mime
View raw message