Closed darveshsingh closed 2 years ago
Hi @darveshsingh ,
This indeed looks like a Maven issue.
If you'll set the maven.runPreStep
parameter to true, it will trigger a clean Maven install. Will that meet your needs?
Thanks,
Lena
Hello @LenaKleyner ,
Thank you for your response. :) I am using the whitesource's Unified agent. Is it possible to set parameter that way?
Following is a sample java -jar /path/to/wss-unified-agent-20.11.1.jar -c current/folder/whitesource/wss-unified-agent.config
@darveshsingh, sure, this parameter can be set in the config file or passed as an environment variable.
@darveshsingh I am closing this issue, feel free to reopen or contact support if you have follow-up questions. Thanks, Anna
Hi team,
Hope you are doing good and staying well 💯
I've temporary done a workaround for the issue by running a clean install.
However, according to this article: https://stackoverflow.com/questions/28835418/mvn-dependencytree-fails-on-trivial-project. It seems that we have to clean and install all the jar files locally before running the dependency tree.
This seems to be a maven behaviour.
This seems to happen for SNAPSHOT builds.