I have 2 projects as seen in the attached files.
My first project contains a single interface that defines a String constant.
My second project, uses the String constant from my first project.
When i try to use dependency:analyze to fail the build as seen below, i can't make the system work.
If i add the dependency from project 2 to project 1, i get:
But if i remove it, i get:
If i remove the supposedly unused dependency, then I get a compile error:
Here is the build definition i have...