I have a project with several additional modules.
mvn clean install
works absolutely fine. But in Eclipse with an open parent project, none of the maven dependencies are available, so all my Java source files are filled with the specified compilation errors (they are not specified in the build path for the project). If I open one of the auxiliary modules as a project, then there will be no specified problems with compilation.
I tried to work
mvn clean install eclipse:clean eclipse:m2eclipsemvn clean install eclipse:clean eclipse:m2eclipse
and selecting maven project / update dependencies. Updating, closing and opening a project and Eclipse, etc.
Any ideas? Thanks in advance.
source
share