IntelliJ complains it cannot resolve ${maven.multiModuleProjectDirectory}


In our parent pom we have a line which results in intellij underlining the $variable saying 'cannot resolve symbol maven.multiModuleProjectDirectory'

This is a 'standard' symbol in maven 3.3.1 or greater (we are using 3.5.2 or higher, often 3.6). Builds at command line are fine - this is just an editor glitch.

Is there a way to convinced intellij to be happy about this?

The full line is as follows (for capturing code coverage across our multi module project ready to share with Sonar)


It is not supported currently, please vote for this request: As a workaround you can add the variable to ignores list: