Implementation Selection This is the code that goes along the blog on http://aqute.biz/2016/10/12/cli-service-selection.html You can build this repository with mvn: $ mvn install $ cd bndrun $ java -jar run.jar -mode:[console|swing|server]