fc70ea3961
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
61 lines
1.2 KiB
Python
61 lines
1.2 KiB
Python
include_defs('//lib/maven.defs')
|
|
|
|
java_binary(
|
|
name = 'asciidoc',
|
|
main_class = 'AsciiDoctor',
|
|
deps = [':asciidoc_lib'],
|
|
visibility = ['PUBLIC'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'asciidoc_lib',
|
|
srcs = ['java/AsciiDoctor.java'],
|
|
deps = [
|
|
':asciidoctor',
|
|
':jruby',
|
|
'//lib:args4j',
|
|
'//lib:guava',
|
|
'//lib/log:api',
|
|
],
|
|
visibility = ['//tools/eclipse:classpath'],
|
|
)
|
|
|
|
java_binary(
|
|
name = 'doc_indexer',
|
|
main_class = 'DocIndexer',
|
|
deps = [':doc_indexer_lib'],
|
|
visibility = ['PUBLIC'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'doc_indexer_lib',
|
|
srcs = ['java/DocIndexer.java'],
|
|
deps = [
|
|
':asciidoc_lib',
|
|
'//gerrit-server:constants',
|
|
'//lib:args4j',
|
|
'//lib:guava',
|
|
'//lib/lucene:lucene-analyzers-common',
|
|
'//lib/lucene:lucene-core',
|
|
],
|
|
visibility = ['//tools/eclipse:classpath'],
|
|
)
|
|
|
|
maven_jar(
|
|
name = 'asciidoctor',
|
|
id = 'org.asciidoctor:asciidoctorj:1.5.2',
|
|
sha1 = '39d33f739ec1c46f6e908a725264eb74b23c9f99',
|
|
license = 'Apache2.0',
|
|
visibility = [],
|
|
attach_source = False,
|
|
)
|
|
|
|
maven_jar(
|
|
name = 'jruby',
|
|
id = 'org.jruby:jruby-complete:1.7.18',
|
|
sha1 = 'a1be3e1790aace5c99614a87785454d875eb21c2',
|
|
license = 'DO_NOT_DISTRIBUTE',
|
|
visibility = [],
|
|
attach_source = False,
|
|
)
|