I\'m using buildnumber-maven-plugin to get Mercurial changeset as project build number:
org.codehaus.mojo
The question asks for how to deactivate the verification because of the unfixed IntelliJ bug causing false errors for the syntax "${dynamic.variable}" in dynamic pom.xml variables.
Instead, here is a workaround for the bug, so the false error notification disappears and the maven still accepts the variable and everyone is happy:
Change variable syntax in this order (no joke): 1. "${dynamic.variable}" 2. "{dynamic.variable}" 3. "{$dynamic.variable}"
IntelliJ will now accept it as correct and maven will also parse and accept the dynamic variable without problem. It is obviously an undocumented maven syntax which for some reason has been implemented as the correct and only syntax in IntelliJ IDE.
I hope this helps everyone, despite it not answering the actually asked question, but eliminates the reason for asking it instead.
Have fun :)