Changing the line to grab the built library from
The "Building ..." line uses the artifact name, not the artifact id. Commonly, these are the same (thus my mistake), but they are not required to match.
For example, Ingestion Workflow uses a different name for the workflow-test-gcp
artifact.
This causes the analyze-maven-dependencies
to miss the fact that this is a built library, which makes it think it is a first-party dependency. Since it is almost always set to a SNAPSHOT
version, that raises red flags in other areas.
Test Data:
The core difference is that workflow-test-gcp
is not listed in the latter, since it is detected as a self-built library.
Edited by David Diederich