ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1798375 - in /webservices/axiom/trunk: WORKSPACE third_party/BUILD third_party/ops4j-base.BUILD third_party/ops4j-pax-swissbox.BUILD third_party/ops4j-pax-tinybundles.BUILD third_party/ops4j-pax-url.BUILD
Date Sun, 11 Jun 2017 15:56:35 GMT
Author: veithen
Date: Sun Jun 11 15:56:35 2017
New Revision: 1798375

URL: http://svn.apache.org/viewvc?rev=1798375&view=rev
Log:
Let Bazel build some of the OPS4J stuff from sources.

Added:
    webservices/axiom/trunk/third_party/ops4j-base.BUILD
    webservices/axiom/trunk/third_party/ops4j-pax-swissbox.BUILD
    webservices/axiom/trunk/third_party/ops4j-pax-tinybundles.BUILD
    webservices/axiom/trunk/third_party/ops4j-pax-url.BUILD
Modified:
    webservices/axiom/trunk/WORKSPACE
    webservices/axiom/trunk/third_party/BUILD

Modified: webservices/axiom/trunk/WORKSPACE
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/WORKSPACE?rev=1798375&r1=1798374&r2=1798375&view=diff
==============================================================================
--- webservices/axiom/trunk/WORKSPACE (original)
+++ webservices/axiom/trunk/WORKSPACE Sun Jun 11 15:56:35 2017
@@ -46,6 +46,12 @@ maven_jar(
 )
 
 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",
@@ -189,28 +195,36 @@ maven_jar(
     sha1 = "2916b6c96b50c5b3ec4452ed99401db745aabb27",
 )
 
-maven_jar(
-    name = "ops4j_io",
-    artifact = "org.ops4j.base:ops4j-base-io:1.5.0",
-    sha1 = "15acc9a1b56c8963db471cee926d7001591e6b4d",
-)
-
-maven_jar(
-    name = "ops4j_lang",
-    artifact = "org.ops4j.base:ops4j-base-lang:1.5.0",
-    sha1 = "da31d176ffa8b78c0b83e183951c86cbd7bfb0b9",
-)
-
-maven_jar(
-    name = "ops4j_store",
-    artifact = "org.ops4j.base:ops4j-base-store:1.5.0",
-    sha1 = "7c5d6ed88638a61b15b3c285b8c16eee7753de1c",
-)
-
-maven_jar(
-    name = "ops4j_util_property",
-    artifact = "org.ops4j.base:ops4j-base-util-property:1.5.0",
-    sha1 = "10a2f7cfa055e776eb996ca456747a07fdf2015e",
+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(
@@ -220,6 +234,12 @@ maven_jar(
 )
 
 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",
@@ -250,36 +270,6 @@ maven_jar(
 )
 
 maven_jar(
-    name = "pax_swissbox_tracker",
-    artifact = "org.ops4j.pax.swissbox:pax-swissbox-tracker:1.8.2",
-    sha1 = "699d52d350f2377b30a1927a52c4b43ca4d8e5c5",
-)
-
-maven_jar(
-    name = "pax_tinybundles",
-    artifact = "org.ops4j.pax.tinybundles:tinybundles:2.1.1",
-    sha1 = "d894c29d13f0d7a9094793c25a0a7723b9537c0b",
-)
-
-maven_jar(
-    name = "pax_url_classpath",
-    artifact = "org.ops4j.pax.url:pax-url-classpath:2.4.5",
-    sha1 = "fa99960fad95b2f8cf64c380a74bf845d9084a27",
-)
-
-maven_jar(
-    name = "pax_url_commons",
-    artifact = "org.ops4j.pax.url:pax-url-commons:2.4.5",
-    sha1 = "342030b66367f84c82ca5b82cb7e230660156766",
-)
-
-maven_jar(
-    name = "pax_url_link",
-    artifact = "org.ops4j.pax.url:pax-url-link:2.4.5",
-    sha1 = "eb9065c74a008e641389366748dba5cc6630ce8c",
-)
-
-maven_jar(
     name = "saxon",
     artifact = "net.sf.saxon:Saxon-HE:9.7.0-18",
     sha1 = "b1742ac9973d71bc23b1e8bc3e870a0994fc0ab2",

Modified: webservices/axiom/trunk/third_party/BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/third_party/BUILD?rev=1798375&r1=1798374&r2=1798375&view=diff
==============================================================================
--- webservices/axiom/trunk/third_party/BUILD (original)
+++ webservices/axiom/trunk/third_party/BUILD Sun Jun 11 15:56:35 2017
@@ -59,17 +59,16 @@ java_library(
     ],
     runtime_deps = [
         "@felix//jar",
-        "@ops4j_io//jar",
-        "@ops4j_lang//jar",
-        "@ops4j_store//jar",
-        "@ops4j_util_property//jar",
+        "@ops4j_base//:io",
+        "@ops4j_base//:lang",
+        "@ops4j_base//:store",
+        "@ops4j_base//:util-property",
         "@pax_exam_container_native//jar",
         "@pax_exam_link_assembly//jar",
-        "@pax_swissbox_tracker//jar",
-        "@pax_tinybundles//jar",
-        "@pax_url_classpath//jar",
-        "@pax_url_commons//jar",
-        "@pax_url_link//jar",
+        "@ops4j_pax_swissbox//:tracker",
+        "@ops4j_pax_tinybundles//:tinybundles",
+        "@ops4j_pax_url//:classpath",
+        "@ops4j_pax_url//:link",
         "@slf4j_api//jar",
         "@slf4j_jdk14//jar",
     ],

Added: webservices/axiom/trunk/third_party/ops4j-base.BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/third_party/ops4j-base.BUILD?rev=1798375&view=auto
==============================================================================
--- webservices/axiom/trunk/third_party/ops4j-base.BUILD (added)
+++ webservices/axiom/trunk/third_party/ops4j-base.BUILD Sun Jun 11 15:56:35 2017
@@ -0,0 +1,53 @@
+#
+# 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 = "io",
+    srcs = glob(["ops4j-base-io/src/main/java/**/*.java"]),
+    deps = [
+        ":lang",
+        ":monitors",
+    ],
+)
+
+java_library(
+    name = "lang",
+    srcs = glob(["ops4j-base-lang/src/main/java/**/*java"]),
+)
+
+java_library(
+    name = "monitors",
+    srcs = glob(["ops4j-base-monitors/src/main/java/**/*java"]),
+)
+
+java_library(
+    name = "store",
+    srcs = glob(["ops4j-base-store/src/main/java/**/*.java"]),
+    deps = [
+        "@slf4j_api//jar",
+        ":io",
+    ],
+)
+
+java_library(
+    name = "util-property",
+    srcs = glob(["ops4j-base-util-property/src/main/java/**/*java"]),
+)

Added: webservices/axiom/trunk/third_party/ops4j-pax-swissbox.BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/third_party/ops4j-pax-swissbox.BUILD?rev=1798375&view=auto
==============================================================================
--- webservices/axiom/trunk/third_party/ops4j-pax-swissbox.BUILD (added)
+++ webservices/axiom/trunk/third_party/ops4j-pax-swissbox.BUILD Sun Jun 11 15:56:35 2017
@@ -0,0 +1,46 @@
+#
+# 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 = "lifecycle",
+    srcs = glob(["pax-swissbox-lifecycle/src/main/java/**/*.java"]),
+)
+
+java_library(
+    name = "property",
+    srcs = glob(["pax-swissbox-property/src/main/java/**/*.java"]),
+    deps = [
+        "@ops4j_base//:lang",
+        "@ops4j_base//:util-property",
+        "@osgi_core//jar",
+    ],
+)
+
+java_library(
+    name = "tracker",
+    srcs = glob(["pax-swissbox-tracker/src/main/java/**/*.java"]),
+    deps = [
+        "@ops4j_base//:lang",
+        "@osgi_core//jar",
+        "@slf4j_api//jar",
+        ":lifecycle",
+    ],
+)

Added: webservices/axiom/trunk/third_party/ops4j-pax-tinybundles.BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/third_party/ops4j-pax-tinybundles.BUILD?rev=1798375&view=auto
==============================================================================
--- webservices/axiom/trunk/third_party/ops4j-pax-tinybundles.BUILD (added)
+++ webservices/axiom/trunk/third_party/ops4j-pax-tinybundles.BUILD Sun Jun 11 15:56:35 2017
@@ -0,0 +1,32 @@
+#
+# 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 = "tinybundles",
+    srcs = glob(["src/main/java/**/*.java"]),
+    deps = [
+        "@bndlib//jar",
+        "@ops4j_base//:io",
+        "@ops4j_base//:lang",
+        "@ops4j_base//:store",
+        "@slf4j_api//jar",
+    ]
+)

Added: webservices/axiom/trunk/third_party/ops4j-pax-url.BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/third_party/ops4j-pax-url.BUILD?rev=1798375&view=auto
==============================================================================
--- webservices/axiom/trunk/third_party/ops4j-pax-url.BUILD (added)
+++ webservices/axiom/trunk/third_party/ops4j-pax-url.BUILD Sun Jun 11 15:56:35 2017
@@ -0,0 +1,54 @@
+#
+# 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 = "commons",
+    srcs = glob(["pax-url-commons/src/main/java/**/*.java"]),
+    deps = [
+        "@ops4j_base//:lang",
+        "@ops4j_base//:util-property",
+        "@ops4j_pax_swissbox//:property",
+        "@osgi_compendium//jar",
+        "@osgi_core//jar",
+        "@slf4j_api//jar",
+    ],
+)
+
+java_library(
+    name = "classpath",
+    srcs = glob(["pax-url-classpath/src/main/java/**/*.java"]),
+    deps = [
+        "@ops4j_base//:lang",
+        "@ops4j_base//:util-property",
+        "@osgi_core//jar",
+        ":commons",
+    ],
+)
+
+java_library(
+    name = "link",
+    srcs = glob(["pax-url-link/src/main/java/**/*.java"]),
+    deps = [
+        "@ops4j_base//:util-property",
+        "@osgi_core//jar",
+        ":commons",
+    ],
+)



Mime
View raw message