gerrit/lib/lucene/BUCK
Dave Borowitz fc70ea3961 Remove support for pre-Lucene 5 indexes
These hacks were added in 70aaf7ea to continue supporting old index
versions stored on disk, which was necessary to upgrade v14 to v25
for 2.11->2.12. Now that stable-2.12 has been cut, we can remove
support for this.

Get rid of the core-and-backward-codecs target and just use core. A
side effect of this change is that pack_war.py would now fail, since
it expects each jar that goes in lib/ to have a unique name, and there
is already a "core" target in MINA. Prefix all the lucene targets with
"lucene-" to get it working.

Change-Id: I146fc74ed649e0a44503f42bfa5822bf6fba5c03
2015-12-22 11:36:29 -05:00

51 lines
1.1 KiB
Python

include_defs('//lib/maven.defs')
VERSION = '5.3.1'
maven_jar(
name = 'lucene-core',
id = 'org.apache.lucene:lucene-core:' + VERSION,
sha1 = '36860653d7e09790ada96aeb1970b4ca396ac5d7',
license = 'Apache2.0',
exclude = [
'META-INF/LICENSE.txt',
'META-INF/NOTICE.txt',
],
)
maven_jar(
name = 'lucene-analyzers-common',
id = 'org.apache.lucene:lucene-analyzers-common:' + VERSION,
sha1 = 'bd804dbc1b8f7941018926e940d20d1016b36c4c',
license = 'Apache2.0',
deps = [':lucene-core'],
exclude = [
'META-INF/LICENSE.txt',
'META-INF/NOTICE.txt',
],
)
maven_jar(
name = 'lucene-misc',
id = 'org.apache.lucene:lucene-misc:' + VERSION,
sha1 = '7891bbc18b372135c2a52b471075b0bdf5f110ec',
license = 'Apache2.0',
deps = [':lucene-core'],
exclude = [
'META-INF/LICENSE.txt',
'META-INF/NOTICE.txt',
],
)
maven_jar(
name = 'lucene-queryparser',
id = 'org.apache.lucene:lucene-queryparser:' + VERSION,
sha1 = 'bef0e2ac5b196dbab9d0b7c8cc8196b7ef5dd056',
license = 'Apache2.0',
deps = [':lucene-core'],
exclude = [
'META-INF/LICENSE.txt',
'META-INF/NOTICE.txt',
],
)