Skip to content
bnd, the swiss army knife for OSGi. A tool to build OSGi bundles.
Java Groovy Other
Latest commit a8a3f03 May 30, 2016 @pkriens pkriens Merge pull request #1481 from pkriens/master
[maven] Metadata parser failure on Nexus
Failed to load latest commit information.
.gradle-wrapper build: Update gradlew to 2.13 Apr 25, 2016
aQute.libg [strings] Added split methods May 24, 2016
biz.aQute.bnd.annotation build: Remove maven artifact building from gradle build Apr 20, 2016
biz.aQute.bnd.embedded-repo embedded-repo: Allow pom Apr 20, 2016
biz.aQute.bnd.exporters Maven Bnd Repository Apr 4, 2016
biz.aQute.bnd.gradle [gradle] Did not build properly at full clean May 30, 2016
biz.aQute.bnd.test build: Release to maven shaped repo Apr 20, 2016
biz.aQute.bnd.testextension build: Release to maven shaped repo Apr 21, 2016
biz.aQute.bnd [resolve command] Removed bug patch May 24, 2016
biz.aQute.bndlib.comm.tests Maven Bnd Repository Apr 4, 2016
biz.aQute.bndlib.tests Bad test case fixed May 26, 2016
biz.aQute.bndlib ee verification: Allow OSGi/Minimum-1.0 May 27, 2016
biz.aQute.configadmin coll.toArray(new T[coll.size()]) => coll.toArray(new T[0]) Apr 6, 2016
biz.aQute.demo.subsys javadoc: Clean up the many warnings in the build Feb 11, 2016
biz.aQute.http.testservers build: Release to maven shaped repo Apr 21, 2016
biz.aQute.jpm Maven Bnd Repository Apr 4, 2016
biz.aQute.junit build: Remove maven artifact building from gradle build Apr 21, 2016
biz.aQute.launcher bndtools/bndtools#1267 Don't update framework during build May 5, 2016
biz.aQute.remote remote: Broken descriptions due to missing line continuation char May 17, 2016
biz.aQute.repository.aether fix null artifact file uploading Apr 7, 2016
biz.aQute.repository [maven] Metadata parser May 30, 2016
biz.aQute.resolve fixes #1474 - biz.aQute.resolve.ResolverValidator.check(String...) re… May 26, 2016
biz.aQute.tester build: Remove maven artifact building from gradle build Apr 21, 2016
cnf build: Update to 3.3.0 for next release May 17, 2016
demo build: Release to maven shaped repo Apr 21, 2016
dist build: Sort bundle list before indexing May 6, 2016
maven Moved to OSGi R6 May 26, 2016
org.osgi.impl.bundle.repoindex.ant javadoc: Clean up the many warnings in the build Feb 12, 2016
org.osgi.impl.bundle.repoindex.api bnd annotations: Switch to OSGi versioning annotations Mar 17, 2016
org.osgi.impl.bundle.repoindex.cli build: Bundle-Copyright is centralized in cnf/build.bnd May 4, 2016
org.osgi.impl.bundle.repoindex.lib indexer: Handle list types on empty lists May 6, 2016
org.osgi.impl.bundle.repoindex.test build: Release to maven shaped repo Apr 21, 2016
.gitattributes gitattributes: Add .bndrun files Dec 7, 2015
.gitignore gitignore: Tidy up root .gitignore Nov 25, 2014
.mailmap .mailmap: Add name for Ray Nov 30, 2015
.travis.yml build: Encapsulate mvn command into gradle task Apr 28, 2016
CONTRIBUTING.md build: Use compileOnly configuration new to Gradle 2.12 Mar 30, 2016
LICENSE license: Add a LICENSE file for Apache License 2.0 Dec 10, 2015
README.md readme: Update Java target of launcher and junit Aug 28, 2015
REPOINDEX.md repoindex: Add readme file from old bindex repo Nov 19, 2014
appveyor.yml build: Encapsulate mvn command into gradle task Apr 28, 2016
build.gradle build: Handle test folders as task inputs May 4, 2016
gradle.properties build: Get gradle plugin from maven shaped repo Apr 21, 2016
gradlew build: Update gradlew to 2.13 Apr 25, 2016
gradlew.bat build: Update gradlew to 2.13 Apr 25, 2016
rebuild-with-local-plugin rebuild: Change default target now that we release to maven repo Apr 22, 2016
settings.gradle build: Get gradle plugin from maven shaped repo Apr 21, 2016

README.md

README bnd

bnd is a swiss army knife for OSGi, it creates manifest headers for you based on analyzing the class code, it verifies your settings, it manages project dependencies, gives you quote of the day, diffs jars, and much more.

The information about bnd can be found at http://bnd.bndtools.org

Repository

The git repository contains all code. It contains the following projects:

  • aQute.libg - Library to be statically linked (Conditional-Package)
  • biz.aQute.bnd - A command line utility and ant plugin
  • biz.aQute.bndlib - The core library
  • biz.aQute.bndlib.tests - Tests for the core library
  • biz.aQute.jpm - Just another package manager for Java
  • biz.aQute.junit - Junit tester (runs on Java 1.5)
  • biz.aQute.launcher - Launcher (runs on Java 1.6)
  • biz.aQute.repository - Different repos with OBR
  • biz.aQute.resolve - OBR Resolver
  • cnf - Configuration directory
  • demo - Used in testing
  • dist - Contains the distribution after 'gradle'

License

All code is Apache 2.0 Licensed so you can do what you want with the source code.

API

Though I am usually pretty good at backward compatibility, there is no guarantee. This is an unpaid project and one of the most annoying thing of work is being backward compatible on the Java API when you know a better way to do it. Properties will be backward compatible if there is any possibility. So be aware, its ok to use this package but do not complain if new releases require some work.

If you're building a tool with a general audience, e.g. bndtools, that includes bnd for a general audience I would appreciate if you got in touch with me so I can keep in touch. I am always interested in ideas.

Eclipse

bndtools is the development environment of bnd. An earlier Eclipse plugin in bnd is no longer available.

Building

Gradle is used to build bnd. The workspace root has a build.gradle file that builds all projects in proper order.

./gradlew - Assembles, tests and releases the projects into dist/bundles
./gradlew :dist:build - Assembles and tests the projects
./gradlew :dist:index - Assembles and releases the projects into dist/bundles

The workspace root includes the gradle wrapper, gradlew, command.

CloudBees Build Status Travis CI Build Status

Release

bnd is continuously built and released on CloudBees.

Built on DEV@cloud

Feedback

Feedback is always welcome, for general discussions use the bndtools-users@googlegroups.com list. We also have the bndtools-dev@googlegroups.com list for discussions on the development of bnd.

Bugs and issues should go to https://github.com/bndtools/bnd/issues

Other feedback or specific functionality send to Peter.Kriens@aQute.biz

Contributing

Want to hack on bnd? There are instructions to get you started.

They are probably not perfect, please let us know if anything feels wrong or incomplete.

Something went wrong with that request. Please try again.