Trying to get hold of MavenModel but always getting null

I'm trying to get of the MavenModel instance like this:


but this always returns null. I can see that it's the call to DomManager.getFileElement((XmlFile)file, MavenModel.class) that is return null to it.
Any ideas ?

Please sign in to leave a comment.