blob: 00a847de2f9d902867f89615ea71924263386d90 [file] [log] [blame] [edit]
load("//tools/bzl:plugin.bzl", "PLUGIN_TEST_DEPS", "gerrit_plugin")
load("//tools/bzl:junit.bzl", "junit_tests")
gerrit_plugin(
name = "saml",
srcs = glob(["src/main/java/**/*.java"]),
manifest_entries = [
"Gerrit-PluginName: saml",
],
resources = glob(["src/main/resources/**"]),
deps = [
"@commons-collections//jar",
"@cryptacular//jar",
"@joda-time//jar",
"@opensaml-core//jar",
"@opensaml-messaging-api//jar",
"@opensaml-messaging-impl//jar",
"@opensaml-profile-api//jar",
"@opensaml-profile-impl//jar",
"@opensaml-saml-api//jar",
"@opensaml-saml-impl//jar",
"@opensaml-security-api//jar",
"@opensaml-security-impl//jar",
"@opensaml-soap-api//jar",
"@opensaml-soap-impl//jar",
"@opensaml-storage-api//jar",
"@opensaml-storage-impl//jar",
"@opensaml-xmlsec-api//jar",
"@opensaml-xmlsec-impl//jar",
"@pac4j-core//jar",
"@pac4j-saml//jar",
"@santuario-xmlsec//jar",
"@shibboleth-utilities//jar",
"@shibboleth-xmlsectool//jar",
"@spring-core//jar",
"@stax2-api//jar",
"@velocity//jar",
"@woodstox-core//jar",
],
)
junit_tests(
name = "saml_tests",
srcs = glob(["src/test/java/**/*.java"]),
tags = ["saml"],
deps = PLUGIN_TEST_DEPS + [
":saml__plugin",
"//javatests/com/google/gerrit/util/http/testutil",
],
)