I\'m using buildnumber-maven-plugin to get Mercurial changeset as project build number:
org.codehaus.mojo
Try File->Settings->Editor->Inspections->uncheck "Maven Model Inspection" and apply.