Skip to content

Commit

Permalink
[bazel] Add more maven targets
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Aug 13, 2019
1 parent 0861f4c commit 16cb1fd
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 8 deletions.
19 changes: 19 additions & 0 deletions java/client/src/org/openqa/selenium/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,22 @@ java_export(
# Nothing from third party
],
)

java_export(
name = "client-combined",
maven_coordinates = "org.seleniumhq.selenium:selenium-java:" + SE_VERSION,
pom_template = ":template-pom",
exports = [
":core",
"//java/client/src/org/openqa/selenium/chrome",
"//java/client/src/org/openqa/selenium/firefox",
"//java/client/src/org/openqa/selenium/firefox/xpi",
"//java/client/src/org/openqa/selenium/edge:edgeium",
"//java/client/src/org/openqa/selenium/edge/edgehtml",
"//java/client/src/org/openqa/selenium/ie",
"//java/client/src/org/openqa/selenium/opera",
"//java/client/src/org/openqa/selenium/remote",
"//java/client/src/org/openqa/selenium/safari",
"//java/client/src/org/openqa/selenium/support",
],
)
8 changes: 4 additions & 4 deletions java/client/src/org/openqa/selenium/opera/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
load("//java:maven.bzl", "java_export")
load("//java:version.bzl", "SE_VERSION")

java_library(
java_export(
name = "opera",
srcs = glob(["*.java"]),
tags = [
"maven_coordinates=org.seleniumhq.selenium:selenium-opera-driver:%s" % SE_VERSION,
],
maven_coordinates = "org.seleniumhq.selenium:selenium-opera-driver:%s" % SE_VERSION,
pom_template = "//java/client/src/org/openqa/selenium:template-pom",
visibility = ["//visibility:public"],
deps = [
"//java/client/src/org/openqa/selenium:core",
Expand Down
8 changes: 4 additions & 4 deletions java/client/src/org/openqa/selenium/remote/http/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
load("//java:maven.bzl", "java_export")
load("//java:version.bzl", "SE_VERSION")

java_library(
java_export(
name = "http",
srcs = glob(["*.java"]),
tags = [
"maven_coordinates=org.seleniumhq.selenium:selenium-http:%s" % SE_VERSION,
],
maven_coordinates = "org.seleniumhq.selenium:selenium-http:%s" % SE_VERSION,
pom_template = "//java/client/src/org/openqa/selenium:template-pom",
visibility = [
"//visibility:public",
],
Expand Down

0 comments on commit 16cb1fd

Please sign in to comment.