• Intro Headers Instructions Macros
  • Fork me on GitHub
    • Release
    • Introduction
    • How to install bnd
    • Guided Tour
    • Guided Tour Workspace & Projects
    • Concepts
    • Best practices
    • Build
    • Generating JARs
    • Versioning
    • Baselining
    • Service Components
    • Metatype
    • Contracts
    • Manifest Annotations
    • Resolving Dependencies
    • Launching
    • Testing
    • Packaging Applications
    • Wrapping Libraries to OSGi Bundles
    • From the command line
    • For Developers
    • Plugins
    • Tools bound to bnd
    • File Format
    • Header Reference
    • Instruction
    • Instruction Index
    • Macro Reference
    • Command Reference
    • Plugins Reference
    • Settings
    • Errors
    • Warnings
    • Frequently Asked Questions
    Supported by OSGi enRoute
  • Plugins

    Plugins

    Plugins are objects that can extend the functionality of bnd. They are called from inside bnd when a certain action should take place. For example, bnd uses a repository and plugins provide the actual repository implementations. Or for example, the SpringComponent analyzes the Spring files and adds references found in that XML to the imports.

    A plugin is defined as:

    PLUGIN ::= FQN ( ';' \<directive\|attribute\> )*
    

    The following directive is defined for all plugin:

      path:   A path to the jar file that contains the plugin. The directory/jar at that location is placed on your classpath for that plugin.  

    bnd current supports the following plugin types:

    Plugin Name Summary
    Ant Workspace PluginEnsures that when a new project is created it also has a build.xml for an ant build
    Blueprint PluginAnalyzes JARs for blueprint files so that any class references are added to the imports
    Eclipse PluginWill add .project and .classpath files to newly created projects
    FileRepo PluginProvides a bnd repository stored on the local file system
    Git Workspace PluginEnsures that certain directories have a gitignore
    Gradle Workspace PluginProvides the proper setup for a project when it is used in gradle
    Java Persistence Architecture PluginAnalyses JPA persistence.xml files and adds any discovered class to the imported packages.
    Maven Bnd Repository PluginA plugin to use and release to Maven repositories
    Bnd Pom RepositoryA plugin to use a Maven POM as a repository
    Signer PluginProvides the capability to sign files
    Spring PluginAnalyzes spring files and adds any discovered classes to the imported packages.
    URL Basic Authentication PluginProvides basic authentication to the bnd's URL Connector handling
    URL bnd Authentication PluginProvides bnd authentication to the bnd's URL Connector handling
    URL HTTPS Verification PluginVerfifies that an HTTPS connection can be trusted
    Repository Wrapper PluginA plugin that provides an OSGi Capability Repository on top of bnd repositories
    • Contact
    • Developers
    • More