Skip to content

Commit 9b7d2a9

Browse files
authored
Documentation/java compilation step (#76)
* added note on java compilation and dependency resolution Signed-off-by: san-zrl <san@zurich.ibm.com> * improved formatting Signed-off-by: san-zrl <san@zurich.ibm.com> --------- Signed-off-by: san-zrl <san@zurich.ibm.com> Signed-off-by: Andreas Schade <77783802+san-zrl@users.noreply.github.com>
1 parent 6b08a5e commit 9b7d2a9

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,16 @@ jobs:
4242
if-no-files-found: warn
4343
```
4444
45-
[!NOTE]
46-
For java repositories, the precision and the quality of generated CBOM depends on the scanner's ability
47-
to resolve symbols defined in the dependencies. We therefore recommend to build all java code prior to scanning
48-
as shown in above example. `cbomkit-action` auto-constructs a list of directories used by the scanner to search for java dependencies (jar/zip files). By default, this list contains the project directory (cloning target) and the maven/gradle default repository path. The scanning option `CBOMKIT_JAVA_JAR_DIR` allows to append an additional path expression to the default list. This expression may contain wildcards (`*`) to denote arbitrary directories.
45+
> [!NOTE]
46+
> For java repositories, the precision and the quality of generated CBOM depends
47+
> on the scanner's ability to resolve symbols defined in the dependencies. We
48+
> therefore recommend to build all java code prior to scanning as shown in above
49+
> example. `cbomkit-action` auto-constructs a list of directories used by the
50+
> scanner to search for java dependencies (jar/zip files). By default, this list
51+
> contains the project directory (cloning target) and the maven/gradle default
52+
> repository path. The scanning option `CBOMKIT_JAVA_JAR_DIR` allows to append
53+
> an additional path expression to the default list. This expression may contain
54+
> wildcards (`*`) to denote arbitrary directories.
4955

5056
### Parameters
5157

0 commit comments

Comments
 (0)