//find the local repository - if the file is not under the
//local repo, we cannot derive the group and artifact ids,
//and therefor we cannot fix the problem (return empty array)
//
final PomRepoManager pomMgr = PomRepoManager.getInstance(module.getProject());
final VirtualFile localRepo = pomMgr.getLocalRepositoryDirectory(pPomUrl);
if (localRepo != null && VfsUtil.isAncestor(localRepo, libraryFile, true)) {
addFixAction(new AddLibraryToPomAction(this, module));
addFixAction(new RemoveLibraryFromModuleAction(this, module));
}
}