Provide Joda time only for Elasticsearch

Change-Id: Iccfdb1e20ed0f5847c369e7b253cd3421fbdf527
This commit is contained in:
Alice Kober-Sotzek 2017-10-01 15:14:44 +02:00
parent 983ffb09f9
commit cc36aa3b91
4 changed files with 27 additions and 27 deletions

View File

@ -192,18 +192,6 @@ maven_jar(
sha1 = "de80fe047052445869b96f6def6baca7182c95af",
)
maven_jar(
name = "joda_time",
artifact = "joda-time:joda-time:2.9.9",
sha1 = "f7b520c458572890807d143670c9b24f4de90897",
)
maven_jar(
name = "joda_convert",
artifact = "org.joda:joda-convert:1.8.1",
sha1 = "675642ac208e0b741bc9118dcbcae44c271b992a",
)
load("//lib:guava.bzl", "GUAVA_VERSION", "GUAVA_BIN_SHA1")
maven_jar(
@ -941,6 +929,18 @@ maven_jar(
sha1 = "e2a604a584e6633545ac6b1fe99ef888ab96dae9",
)
maven_jar(
name = "joda_time",
artifact = "joda-time:joda-time:2.9.9",
sha1 = "f7b520c458572890807d143670c9b24f4de90897",
)
maven_jar(
name = "joda_convert",
artifact = "org.joda:joda-convert:1.8.1",
sha1 = "675642ac208e0b741bc9118dcbcae44c271b992a",
)
maven_jar(
name = "compress_lzf",
artifact = "com.ning:compress-lzf:1.0.2",

View File

@ -17,10 +17,10 @@ java_library(
"//lib/elasticsearch",
"//lib/elasticsearch:jest",
"//lib/elasticsearch:jest-common",
"//lib/elasticsearch:joda-time",
"//lib/guice",
"//lib/guice:guice-assistedinject",
"//lib/jgit/org.eclipse.jgit:jgit",
"//lib/joda:joda-time",
"//lib/log:api",
"//lib/lucene:lucene-analyzers-common",
"//lib/lucene:lucene-core",

View File

@ -8,13 +8,13 @@ java_library(
":compress-lzf",
":hppc",
":jna",
":joda-time",
":jsr166e",
":netty",
":t-digest",
"//lib/jackson:jackson-core",
"//lib/jackson:jackson-dataformat-cbor",
"//lib/jackson:jackson-dataformat-smile",
"//lib/joda:joda-time",
"//lib/lucene:lucene-codecs",
"//lib/lucene:lucene-highlighter",
"//lib/lucene:lucene-join",
@ -47,6 +47,19 @@ java_library(
],
)
java_library(
name = "joda-time",
data = ["//lib:LICENSE-Apache2.0"],
exports = ["@joda_time//jar"],
runtime_deps = ["joda-convert"],
)
java_library(
name = "joda-convert",
data = ["//lib:LICENSE-Apache2.0"],
exports = ["@joda_convert//jar"],
)
java_library(
name = "compress-lzf",
data = ["//lib:LICENSE-Apache2.0"],

View File

@ -1,13 +0,0 @@
java_library(
name = "joda-time",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = ["@joda_time//jar"],
runtime_deps = ["joda-convert"],
)
java_library(
name = "joda-convert",
data = ["//lib:LICENSE-Apache2.0"],
exports = ["@joda_convert//jar"],
)