blob: 0143f05bc38cd0964dcd8c5be194193309b85f73 [file] [log] [blame]
package-version=${version;===;${Bundle-Version}}
lucene-core-version-range=${range;[===,=+);7.5.0}
lucene-core-version=${version;===;7.5.0}
Export-Package: \
org.apache.lucene.document;version="${package-version}";misc=split;mandatory:=misc, \
org.apache.lucene.index;version="${package-version}";misc=split;mandatory:=misc, \
org.apache.lucene.search;version="${package-version}";misc=split;mandatory:=misc, \
org.apache.lucene.store;version="${package-version}";misc=split;mandatory:=misc, \
org.apache.lucene.util.fst;version="${package-version}";misc=split;mandatory:=misc, \
!about.html,!about_files, \
*.internal.*;x-internal:=true;version="${package-version}", \
*.implementation.*;x-internal:=true;version="${package-version}", \
*.impl.*;x-internal:=true;version="${package-version}", \
*;version="${package-version}"
# For now, use hard requirement on lucene-core to resolve some packages that
# happen to be split to ensure OSGi wires the correct dependency:
Require-Bundle: \
org.apache.lucene.core;bundle-version="${lucene-core-version-range}"
# The lucene imports are covered by the Require-Bundle
Import-Package: \
!org.apache.lucene*, \
!org.tartarus*, \
*;resolution:=optional