Everything is in Maven and works fine in CI, which definitely does not use idea. But in some situations Idea believes the pom isn't as fresh as its rendition, unfortunately. I can live with some caching, but everytime that happens and the "clean cache" option doesn't work, I weep.
I don’t tend to run into that. But you should be able to fix it right clicking the pom and choosing Maven -> Reimport.
The number of times I actually needed to clean my cache I could probably count on one hand over the last 10 years.
But I don't think it's necessarily about the tooling.
And yes, Hibernate is just horrible.