The bnd settings file is more complex. The format is
NAME
settings - Set bnd/jpm global variables. The key can be
wildcard.
SYNOPSIS
settings [options] <<key>[=<value>]...>
OPTIONS
[ -b, --base64 ] - Show key in base64
[ -c, --clear ] - Clear all the settings, including the public and
private key
[ -g, --generate ] - Generate a new private/public key pair
[ -l, --location <string> ] - Override the default "~/.bnd/settings.json"
location
[ -m, --mac ] - Sign the strings on the commandline
[ -p, --password <[c> ] - Password for local file
[ -P, --publicKey ] - Show the public key
[ -s, --secretKey ] - Show the private secret key
Note that we also support the maven settings. In your plugin you can get an HttpClient that is automatically setup with information in either ~/.bnd/settings.xml or ~/.m2/settings.xml