I\'m using buildnumber-maven-plugin to get Mercurial changeset as project build number:
org.codehaus.mojo
As it is working fine. I think it would be some cache or may be little bug which has no major effect giving some info. So I want to suggest you some options
You can rebuild your project and then check
Build > Rebuild Project
You can clear your ide's caches
File -> invalidate caches
Restart application
Sometimes silly trick may solve the issue.
There are some ways to solve the issue and also discussion what is happening version to version. You can go through
IntelliJ inspection gives "Cannot resolve symbol" but still compiles code
You can make a try Michał Wróbel's blog: Cannot resolve symbol XYZ in IntelliJ although maven builds sources properly
You can also disable reading pom.xml
on every small changes in IntelliJ Idea:
Intellij IDEA and Maven, disable reading pom.xml on every small change, even without a save