This seems like a bug or I am doing something wrong with IntelliJ (which is possible, new to it and Java develoment (from .NET and C#)).
I have a multi-module project setup with maven handling dependencies.
I have a "super pom" and multiple child poms where the super pom has shared dependecies and the child has specific dependencies.
I have one module "web" that depends on another module "core". I have added a module dependency on web to core in the "compile" scope. I have added the compile output of the "core" module to the artifacts of the "web" module.
The problem is, is that everytime I adjust (change, add, remove etc) a maven dependecy, Intellij loses the module dependency in "web" on "core". Literally every single time, I have to re-add it and add it to the artifacts.
Is this a bug in IntelliJ or am I doing something wrong with the dependencies?