Dependency tab missing from Maven window
Answered
There used to be a dependency tab/folder here; now it's gone:
The only way I can get my test cases to run now is to select the off-line mode. This seems more of a hack than a solution. I've tried all the tricks on this forum (restarting IDE, invalidating cache, removing .idea/.iml files and reimporting project, etc.) but I can no longer get the dependencies to appear in this window.
Please sign in to leave a comment.
Hello, Brian!
Thank you for reporting this!
Try expanding the Project's node in the Maven Tool Window, the “
Dependencies
” entry should be there:It's not there:
The only way I can get my unit tests to recognize the dependencies is to select the offline button first. I've rebuilt multiple times, invalidated caches, and have removed the .idea/.iml files and re-imported. This was working at some point last week, and then I closed the project to work on something else, and now I can't seem to get this tab back.
This is curious!
Could you please try the following:
pom.xml
→ Open as ProjectLots of indexing after I restarted, looks like all the dependencies were indexed. I can do maven builds, but still am missing the dependency tab/folder in the Maven view.
I can see in the Dependency Analyzer that all the deps are there. I simply can no longer view them in the Maven view.
That seems like a fairly unique issue.
Does it affect all Maven-based Projects or only the specific one(s)?
Would you be able to share the logs (Help → Collect Logs and Diagnostic Data) and, if possible, one of the affected Projects for further investigation?
You can share the logs privately using our upload service.
Let me see what I can share with you all. I might need to create a smaller version of the project; it's rather large.
As far as I can tell, this only affects maven projects.
Sorry for the delay in getting back on this. So I'm not sure what happened, but somewhere along the way, something changed and now I can see dependencies under each dependent project:
I'm not sure what happened to the top-level Dependencies but I no longer need to go offline to pick these up in the codebase. So, I guess we can close this for now, and if further issues come up I'll just create a new issue. Thanks for the assist.