Build Tools and Package Managers
Code Sight lets you specify the build tools used for a project that Black Duck scans. The details depend on the IDE.
Eclipse
The tool can be either Apache® Maven™ or npm®.
-
Maven
Specify the local installation of Maven in Eclipse Preferences: Preferences dialog > Maven > Installations.
Make sure the Maven installation has permission to execute.
Attention: Code Sight does not support the EMBEDDED runtime. -
npm
The npm executable must be in an accessible location. Add this location to the
$PATH
environment variable.
IntelliJ
The tool can be either Maven or npm.
-
Maven
Specify the local installation of Maven in IntelliJ Preferences: Preferences dialog > Build, Execution, Deployment > Build Tools > Maven > Maven home path.
Make sure the Maven installation has permission to execute.
Attention: Code Sight does not support the EMBEDDED runtime. -
npm
For the Ultimate edition of IntelliJ, Code Sight automatically uses the npm path that is specified in Preferences dialog > Languages & Frameworks > Node.js and NPM > Node Interpreter.
For the Community edition, save the npm executable in an accessible location from which it can be run. Add this location to the
$PATH
environment variable.
Visual Studio
The tool can be either NuGet or npm.
-
NuGet
For the NuGet package manager, no additional configuration is necessary.
-
npm
The npm executable must be in an accessible location. Add this location to the
$PATH
environment variable.