Henning Hoefer opened MNG-8720 and commented
When you have a symlink in your project path, the warning "{}Project root directory and multiModuleProjectDirectory are not aligned{}" is always triggered.
The reason is, that in DefaultRootLocator, both paths are compared with Objects.equals instead of {}Files.isSameFile{}, when the root is resolved by the JVM (resulting in a canonical path) while the fallback directory is using the property passed in from the bash start script (which doesn't resolve the found path to a canonical one).
This can either be fixed in the DefaultRootLocator as described above, or in the start script, by resolving the found root using realpath (might not be available on Windows though?).
Affects: 4.0.0-rc-3
Remote Links: