Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.
Ari Kamen edited this page Dec 21, 2017 · 75 revisions

Dev Notes

Building Hub-Detect for Eclipse

Please run the following command before working in Eclipse after checking out the source:

gradlew cleanEclipse eclipse

Using Hub-Detect

Run:

bash <(curl -s https://blackducksoftware.github.io/hub-detect/hub-detect.sh)

Help

bash <(curl -s https://blackducksoftware.github.io/hub-detect/hub-detect.sh) -h

Using Spaces

Because of the way bash is executed, spaces need to be escaped. For example:

bash <(curl -s https://blackducksoftware.github.io/hub-detect/hub-detect.sh) --detect.project.name=\"Project Test\"

SNAPSHOTS

To use the latest snapshot, set the following environment variable

DETECT_USE_SNAPSHOT=1

Direct jar download

Grab the jars from our public AF: http://test-repo.blackducksoftware.com/artifactory/webapp/#/artifacts/browse/tree/General/bds-integrations-release/com/blackducksoftware/integration/hub-detect

Using gradle inspector locally (airgap)

Please download the gradle-inspector and its transitives: https://github.com/blackducksoftware/hub-detect/tree/gh-pages

Unzip the zip into a location of your choice.

Then use the following property: detect.gradle.inspector.air.gap.path=<path/to/folder/with/jars>

Spring

For extra details about Spring's configuration: https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html

Clone this wiki locally