• Intro Headers Instructions Macros Commands
Fork me on GitHub
    • Introduction
    • How to install bnd
    • Guided Tour
    • Guided Tour Workspace & Projects
    • Concepts
    • Best practices
    • Build
    • Project Setup
    • Generating JARs
    • Versioning
    • Baselining
    • Service Components
    • Metatype
    • Contracts
    • Bundle Annotations
    • Accessor Properties
    • SPI Annotations
    • Resolving Dependencies
    • Launching
    • Startlevels
    • Testing
    • Testing with Launchpad
    • Packaging Applications
    • JPMS Libraries
    • Wrapping Libraries to OSGi Bundles
    • Generating Documentation
    • Commands
    • For Developers
    • Tips for Windows users
    • Tools bound to bnd
    • Reference
    • Headers
    • Instruction Reference
    • Instruction Index
    • Macro Reference
    • Macro Index
    • Plugins
    • External Plugins
    • Settings
    • Errors
    • Warnings
    • Frequently Asked Questions
  • -jpms-multi-release BOOLEAN
    JPMS

    This instruction controls that if a JAR setup to be a multi-release jar the manifests & module-infos for each supported versions should be added. If this instruction is true, it will generate this metadata, if the instruction is absent or the value is not true, then it will ignore the versions.

    A multi release Jar (MRJ) will contain directories in META-INF/versions/, where the directory name is a release number. If this instruction is enabled, then during manifest generation, bnd will also calculate a manifest and module-info in each versioned directory.

    • GitHub