#Note: the bnd.bnd file is generated by the run_core_generators.sh script (specifically, by the BndGenerator).

# Make the Bundle-SymbolicName fully qualified, not just the artifact id
Bundle-SymbolicName: com.github.javaparser.javaparser-core

# Export all packages except impl
-exportcontents: \
    com.github.javaparser, \
    com.github.javaparser.ast, \
    com.github.javaparser.ast.body, \
    com.github.javaparser.ast.comments, \
    com.github.javaparser.ast.expr, \
    com.github.javaparser.ast.modules, \
    com.github.javaparser.ast.nodeTypes, \
    com.github.javaparser.ast.nodeTypes.modifiers, \
    com.github.javaparser.ast.observer, \
    com.github.javaparser.ast.stmt, \
    com.github.javaparser.ast.type, \
    com.github.javaparser.ast.validator, \
    com.github.javaparser.ast.validator.language_level_validations, \
    com.github.javaparser.ast.validator.language_level_validations.chunks, \
    com.github.javaparser.ast.validator.postprocessors, \
    com.github.javaparser.ast.visitor, \
    com.github.javaparser.javadoc, \
    com.github.javaparser.javadoc.description, \
    com.github.javaparser.metamodel, \
    com.github.javaparser.printer, \
    com.github.javaparser.printer.concretesyntaxmodel, \
    com.github.javaparser.printer.configuration, \
    com.github.javaparser.printer.configuration.imports, \
    com.github.javaparser.printer.lexicalpreservation, \
    com.github.javaparser.printer.lexicalpreservation.changes, \
    com.github.javaparser.quality, \
    com.github.javaparser.resolution, \
    com.github.javaparser.resolution.cache, \
    com.github.javaparser.resolution.declarations, \
    com.github.javaparser.resolution.logic, \
    com.github.javaparser.resolution.model, \
    com.github.javaparser.resolution.model.typesystem, \
    com.github.javaparser.resolution.promotion, \
    com.github.javaparser.resolution.types, \
    com.github.javaparser.resolution.types.parametrization, \
    com.github.javaparser.utils

# Don't use the project's version for the packages
# We prefer not setting a version as we don't follow OSGi version semantics
-nodefaultversion: true

# Fix broken link on docs
# https://github.com/javaparser/javaparser/issues/3947
# https://github.com/bndtools/bnd/tree/master/maven-plugins/bnd-maven-plugin 
Bundle-DocURL: https://javaparser.org
