Problem
The SeaLights build scan needs the prefix of the packages in order to focus the scan only on your code and not include third party code.
Sometimes you don't know what the package prefix is.
...
Code Block |
---|
java -jar sl-build-scanner.jar -modules |
Infonote |
---|
This command requires to place the Sealights Build Scanner in the same working directory of the java artifacts analyzed. |
...
Additional options are available for this command:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
java -jar sl-build-scanner.jar -modules [-r] [-modulePathLength <arg>] |
Parameter | Description |
---|---|
| Recursive |
search |
all |
folders |
under |
the |
workspace |
path | |
| Print modules with the length provided as a parameter (default value is 2). |
Sample result
In the screenshot below, you'll see an illustration of the result from the modules command. for this specific artifact analyzed the relevant packages are highlighted.
The packages included parameter used for the scan of this artifact will be: "*com.kuhniverse.*"
...
Related articles
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
|
Page Properties | ||
---|---|---|
| ||
|