• Intro Headers Instructions Macros Commands
  • Fork me on GitHub
    • 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
    • Header Reference
    • Instruction
    • Instruction Index
    • Macro Reference
    • Macro Index
    • Command Reference
    • Plugins Reference
    • Settings
    • Errors
    • Warnings
    • Frequently Asked Questions
  • How to install bnd

    bnd is not a single product, it is a library (bndlib) used in many different software build environments. It runs inside Maven, ant, gradle, Eclipse, sbt, and maybe one day in Intellij. To install bnd, you will have to install these tools.

    • Ant Plugin The plugin to build bnd artifacts with ant.
    • Bnd Gradle Plugins The Bnd Gradle Plugins from the Bnd developers.
    • Bnd Maven Plugins The Bnd Maven Plugins from the Bnd developers.
    • Eclipse Bndtools The most famous of them all, the one and only Bndtools!
    • Apache Felix Maven Bundle Plugin The Apache Felix Maven Bundle Plugin.
    • Gradle Bundle Plugin A Gradle Plugin from Artyom Dmitriev.
    • Gradle OSGi Plugin The Gradle OSGi Plugin that comes with Gradle.
    • OSGi-Run Plugin A Gradle Plugin to create and run an OSGi runtime.

    Command Line

    That said, there is also a command line version of bnd, providing an easy way to try out its many features. You can install bnd through brew on MacOS.

    Libraries

    The binaries are available on Cloudbees. The latest version can be found at:

    https://bndtools.ci.cloudbees.com/job/bnd.master/lastSuccessfulBuild/artifact/
    

    However, Cloudbees currently also contains the previously released libraries.

    If you are a maven user, you can find many version in central. The coordinates are:

    	<dependency>
    		<groupId>biz.aQute.bnd</groupId>
    		<artifactId>biz.aQute.bndlib</artifactId>
    		<version>....</version>
    	</dependency>
    

    Source Code

    bnd is maintained at github. If you want to change the code, just clone it and modify it. In general we accept pull requests, and often even highly appreciate them.

    Manual

    The manual is also on github. If you see an improvement, do not hesitate to clone the repo and create a pull request. Improvements are bug corrections but we also like short articles about how to do do something with bnd.

    Communication Settings

    If you’re behind a firewall that requires proxies or you use repositories that require authentication see -connection-settings.

    • Contact
    • Developers
    • More