-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Description
Hi guys,
I'm trying to use component-detection to scan Ant + Ivy projects, but encounter the following issue when running on an environment with ant and jdk installed:
[17:53:13 INF] Finding components...
[17:53:13 INF] No instructions received to scan docker images.
[17:53:13 INF] Preparing Rust component detection
[17:53:13 INF] Starting enumeration of /ivy/ivy-demo
[17:53:13 INF] Enumerated 4 files and 0 directories in 00:00:00.0293762
[17:53:13 INF] Detection mode: FALLBACK
[17:53:13 INF] No Cargo.toml files found; ownership and metadata cache unavailable
[17:53:13 INF] FALLBACK mode: Processing 0 Cargo.toml/Cargo.lock files
[17:53:13 INF] Processing /ivy-demo/ivy.xml.
[17:53:14 ERR] Ant command failed with return code 1
[17:53:14 WRN] Ant command stderr:
BUILD FAILED
/tmp/vule5dto.uz1/build.xml:11: Compile failed; see the compiler error output for details.
But when I add ivy.jar into directory .ant/lib, the scan works fine.
According to Ivy Detection, I don't see ivy.jar is mentioned, but based on the way Ivy Detection works with IvyComponentDetectionAntTask.java I believe ivy.jar is mandatory.
Metadata
Metadata
Assignees
Labels
No labels