Skip to content

Commit 16cb1fd

Browse files
committed
[bazel] Add more maven targets
1 parent 0861f4c commit 16cb1fd

File tree

3 files changed

+27
-8
lines changed

3 files changed

+27
-8
lines changed

java/client/src/org/openqa/selenium/BUILD.bazel

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,22 @@ java_export(
2424
# Nothing from third party
2525
],
2626
)
27+
28+
java_export(
29+
name = "client-combined",
30+
maven_coordinates = "org.seleniumhq.selenium:selenium-java:" + SE_VERSION,
31+
pom_template = ":template-pom",
32+
exports = [
33+
":core",
34+
"//java/client/src/org/openqa/selenium/chrome",
35+
"//java/client/src/org/openqa/selenium/firefox",
36+
"//java/client/src/org/openqa/selenium/firefox/xpi",
37+
"//java/client/src/org/openqa/selenium/edge:edgeium",
38+
"//java/client/src/org/openqa/selenium/edge/edgehtml",
39+
"//java/client/src/org/openqa/selenium/ie",
40+
"//java/client/src/org/openqa/selenium/opera",
41+
"//java/client/src/org/openqa/selenium/remote",
42+
"//java/client/src/org/openqa/selenium/safari",
43+
"//java/client/src/org/openqa/selenium/support",
44+
],
45+
)

java/client/src/org/openqa/selenium/opera/BUILD.bazel

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
load("//java:maven.bzl", "java_export")
12
load("//java:version.bzl", "SE_VERSION")
23

3-
java_library(
4+
java_export(
45
name = "opera",
56
srcs = glob(["*.java"]),
6-
tags = [
7-
"maven_coordinates=org.seleniumhq.selenium:selenium-opera-driver:%s" % SE_VERSION,
8-
],
7+
maven_coordinates = "org.seleniumhq.selenium:selenium-opera-driver:%s" % SE_VERSION,
8+
pom_template = "//java/client/src/org/openqa/selenium:template-pom",
99
visibility = ["//visibility:public"],
1010
deps = [
1111
"//java/client/src/org/openqa/selenium:core",

java/client/src/org/openqa/selenium/remote/http/BUILD.bazel

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
load("//java:maven.bzl", "java_export")
12
load("//java:version.bzl", "SE_VERSION")
23

3-
java_library(
4+
java_export(
45
name = "http",
56
srcs = glob(["*.java"]),
6-
tags = [
7-
"maven_coordinates=org.seleniumhq.selenium:selenium-http:%s" % SE_VERSION,
8-
],
7+
maven_coordinates = "org.seleniumhq.selenium:selenium-http:%s" % SE_VERSION,
8+
pom_template = "//java/client/src/org/openqa/selenium:template-pom",
99
visibility = [
1010
"//visibility:public",
1111
],

0 commit comments

Comments
 (0)