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.

Solution

The Sealights build scanner provides the ability to show you a list of prefixes in a specific java artifact.
You do so by using the following command:

java -jar sl-build-scanner.jar -modules /path/to/artifact.jar


To avoid scanning unnecessary artifacts that could potentially create background noise, it is recommended to run the above command from the directory in which your artifact is located.

Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.



Related issues