The blackduck-common library supplies convenient communication with a Black Duck server through REST API's as well as providing convenient ways to download the CLI and execute it.
You can download the latest release from Maven Central.
All documentation for blackduck-common can be found on the base project: https://github.com/blackducksoftware/blackduck-common/wiki
To run integration tests, create a test.properties file under src/test/resources and populate the relevant key-value pairs (See TestingPropertyKey enum for possible keys).