I've been working on a Maven project for a while now.
In my parent POM, I have the following:
In my POM, I have the following:
Maven resolves this just fine, but every so often (seems like when IDEA is "resolving dependencies"), I'll start getting errors in my Java classes. In this particular case, it's under project/src/test/java/...
The only way to fix the issue in IDEA is to do Alt+Enter (I'm on Mac), and choose "Add library 'Maven: net.project.class:java-test-utils:bundle:1.0.8-SNAPSHOT' to classpath"
And then when I'm resolving dependencies again, I have to add it to the classpath again! Is there a solution to this? Is this a bug?
There are other times where instead of adding something to the classpath, I have to "Add dependency on module 'other-module'".
This is occurring since IDEA X and is present in 10.0.1, 10.0.2, 10.0.3, and 10.5.