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.

0
7 comments

Hello, Brian!

Thank you for reporting this!

Try expanding the Project's node in the Maven Tool Window, the “Dependencies” entry should be there:

0

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.

0

This is curious!

Could you please try the following:

  1. Close all instances of IDEA
  2. Rename or remove the System Directory (not all of its' contents are reset during the caches invalidation)
  3. Reimport the Project: Open → Navigate to the Project's directory → Double-click the root pom.xml → Open as Project
0

Lots 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.

0

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.

0

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. 

0

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.

0

Please sign in to leave a comment.