Trying to get hold of MavenModel but always getting null
I'm trying to get of the MavenModel instance like this:
org.jetbrains.idea.maven.dom.PomDescriptor.getPom(pomFile)
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 ?
请先登录再写评论。