ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1798301 - in /webservices/axiom/trunk/testing: axiom-testsuite/BUILD dom-testsuite/BUILD jaxen-testsuite/BUILD jaxp-testsuite/BUILD soap-testsuite/BUILD testutils/BUILD xml-testsuite/BUILD
Date Sat, 10 Jun 2017 09:46:16 GMT
Author: veithen
Date: Sat Jun 10 09:46:16 2017
New Revision: 1798301

URL: http://svn.apache.org/viewvc?rev=1798301&view=rev
Log:
Simplify dependencies.

Modified:
    webservices/axiom/trunk/testing/axiom-testsuite/BUILD
    webservices/axiom/trunk/testing/dom-testsuite/BUILD
    webservices/axiom/trunk/testing/jaxen-testsuite/BUILD
    webservices/axiom/trunk/testing/jaxp-testsuite/BUILD
    webservices/axiom/trunk/testing/soap-testsuite/BUILD
    webservices/axiom/trunk/testing/testutils/BUILD
    webservices/axiom/trunk/testing/xml-testsuite/BUILD

Modified: webservices/axiom/trunk/testing/axiom-testsuite/BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/testing/axiom-testsuite/BUILD?rev=1798301&r1=1798300&r2=1798301&view=diff
==============================================================================
--- webservices/axiom/trunk/testing/axiom-testsuite/BUILD (original)
+++ webservices/axiom/trunk/testing/axiom-testsuite/BUILD Sat Jun 10 09:46:16 2017
@@ -55,15 +55,12 @@ java_library(
         ":identity",
     ],
     resources = glob(["src/main/resources/**/*"]),
+    testonly = 1,
     deps = [
-        "@byte_buddy//jar",
         "@commons_codec//jar",
         "@commons_io//jar",
         "@javamail//jar",
         "@jaxen//jar",
-        "@junit//jar",
-        "@mockito_core//jar",
-        "@objenesis//jar",
         "@truth//jar",
         "@xalan_serializer//jar",
         "@xmlbeans//jar",
@@ -89,5 +86,7 @@ java_library(
         "//testing/testutils",
         "//testing/xml-testsuite",
         "//testing/xml-truth",
+        "//third_party:junit",
+        "//third_party:mockito",
     ],
 )

Modified: webservices/axiom/trunk/testing/dom-testsuite/BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/testing/dom-testsuite/BUILD?rev=1798301&r1=1798300&r2=1798301&view=diff
==============================================================================
--- webservices/axiom/trunk/testing/dom-testsuite/BUILD (original)
+++ webservices/axiom/trunk/testing/dom-testsuite/BUILD Sat Jun 10 09:46:16 2017
@@ -17,6 +17,7 @@ java_library(
         "src/main/java/org/apache/axiom/ts/dom/DocumentBuilderFactoryFactory.java",
     ],
     visibility = ["//visibility:public"],
+    testonly = 1,
 )
 
 java_library(
@@ -35,18 +36,17 @@ java_library(
     ]),
     resources = glob(["src/main/resources/**/*"]),
     visibility = ["//visibility:public"],
+    testonly = 1,
     deps = [
-        "@byte_buddy//jar",
-        "@mockito_core//jar",
-        "@objenesis//jar",
         "@truth//jar",
-        "@xerces//jar",
         ":common",
         "//testing/multiton",
         "//testing/testutils",
         "//testing/jaxp-testsuite",
         "//testing/xml-testsuite",
         "//testing/xml-truth",
+        "//third_party:mockito",
+        "//third_party:xerces",
     ],
 )
 
@@ -54,12 +54,13 @@ java_library(
     name = "w3c",
     srcs = glob(["src/main/java/org/apache/axiom/ts/dom/w3c/*.java"]),
     visibility = ["//visibility:public"],
+    testonly = 1,
     deps = [
         "@asm//jar",
-        "@junit//jar",
         ":common",
         ":org-w3c-domts",
         "//testing/testutils",
+        "//third_party:junit",
     ],
 )
 
@@ -69,6 +70,7 @@ java_library(
         "src/main/java/org/apache/axiom/ts/dom/w3c/level%s/W3CDOMLevel%sTestSuiteBuilder.java"
% (level, level),
     ],
     visibility = ["//visibility:public"],
+    testonly = 1,
     deps = [
         "src/w3c/dom%s-core-tests-20040405.jar" % level,
         ":common",
@@ -82,10 +84,9 @@ java_test(
         "src/test/java/org/apache/axiom/ts/dom/XercesTest.java",
     ],
     deps = [
-        "@xerces//jar",
-        "@xml_apis//jar",
         ":common",
         ":dom-testsuite",
+        "//third_party:xerces",
     ],
     test_class = "org.apache.axiom.ts.dom.XercesTest",
 )
@@ -96,11 +97,10 @@ java_test(
         "src/test/java/org/apache/axiom/ts/dom/w3c/level%s/XercesTest.java" % level,
     ],
     deps = [
-        "@xerces//jar",
-        "@xml_apis//jar",
         ":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]]

Modified: webservices/axiom/trunk/testing/jaxen-testsuite/BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/testing/jaxen-testsuite/BUILD?rev=1798301&r1=1798300&r2=1798301&view=diff
==============================================================================
--- webservices/axiom/trunk/testing/jaxen-testsuite/BUILD (original)
+++ webservices/axiom/trunk/testing/jaxen-testsuite/BUILD Sat Jun 10 09:46:16 2017
@@ -23,8 +23,9 @@ java_library(
     name = "jaxen-testsuite",
     srcs = glob(["src/main/java/**/*.java"]),
     resources = glob(["src/main/resources/**/*"]),
+    testonly = 1,
     deps = [
         "@jaxen//jar",
-        "@junit//jar",
+        "//third_party:junit",
     ],
 )

Modified: webservices/axiom/trunk/testing/jaxp-testsuite/BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/testing/jaxp-testsuite/BUILD?rev=1798301&r1=1798300&r2=1798301&view=diff
==============================================================================
--- webservices/axiom/trunk/testing/jaxp-testsuite/BUILD (original)
+++ webservices/axiom/trunk/testing/jaxp-testsuite/BUILD Sat Jun 10 09:46:16 2017
@@ -24,12 +24,11 @@ java_library(
     srcs = glob(["src/main/java/**/*.java"]),
     deps = [
         # TODO: Xerces needs to come before Crimson; this shouldn't be the case
-        "@xerces//jar",
+        "//third_party:xerces",
         "@crimson//jar",
         "@saxon//jar",
         "@xalan//jar",
         "@xalan_serializer//jar",
-        "@xml_apis//jar",
         "//testing/multiton",
     ],
 )

Modified: webservices/axiom/trunk/testing/soap-testsuite/BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/testing/soap-testsuite/BUILD?rev=1798301&r1=1798300&r2=1798301&view=diff
==============================================================================
--- webservices/axiom/trunk/testing/soap-testsuite/BUILD (original)
+++ webservices/axiom/trunk/testing/soap-testsuite/BUILD Sat Jun 10 09:46:16 2017
@@ -23,6 +23,7 @@ java_library(
     name = "soap-testsuite",
     srcs = glob(["src/main/java/**/*.java"]),
     resources = glob(["src/main/resources/**/*"]),
+    testonly = 1,
     deps = [
         "//components/xml-utils",
         "//testing/multiton",

Modified: webservices/axiom/trunk/testing/testutils/BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/testing/testutils/BUILD?rev=1798301&r1=1798300&r2=1798301&view=diff
==============================================================================
--- webservices/axiom/trunk/testing/testutils/BUILD (original)
+++ webservices/axiom/trunk/testing/testutils/BUILD Sat Jun 10 09:46:16 2017
@@ -22,12 +22,13 @@ package(default_visibility = ["//visibil
 java_library(
     name = "testutils",
     srcs = glob(["src/main/java/**/*.java"]),
+    testonly = 1,
     deps = [
         "@commons_io//jar",
         "@guava//jar",
-        "@junit//jar",
         "@osgi_core//jar",
         "@truth//jar",
+        "//third_party:junit",
     ],
 )
 

Modified: webservices/axiom/trunk/testing/xml-testsuite/BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/testing/xml-testsuite/BUILD?rev=1798301&r1=1798300&r2=1798301&view=diff
==============================================================================
--- webservices/axiom/trunk/testing/xml-testsuite/BUILD (original)
+++ webservices/axiom/trunk/testing/xml-testsuite/BUILD Sat Jun 10 09:46:16 2017
@@ -30,6 +30,7 @@ java_library(
     srcs = glob(["src/main/java/**/*.java"]),
     resources = glob(["src/main/resources/**/*"]) + ["filelist"],
     visibility = ["//visibility:public"],
+    testonly = 1,
     deps = [
         "@commons_codec//jar",
         "@commons_io//jar",



Mime
View raw message