if (pValue instanceof PomNode) {
final PomNode pomNode = (PomNode) pValue;
label.setIcon(Icons.MAVEN);
final PomManager pomMgr = PomManager.getInstance(project);
final String url = pomNode.getUserObject();
String text = PathUtil.toPresentableUrl(url);
if (pomMgr.isValid(url)) {
final PomModelManager modelMgr = PomModelManager.getInstance(project);
final PsiProject psi = modelMgr.getPsiProject(url);
if (psi != null) {
final String name = psi.getName();
if (name == null || name.trim().length() == 0) {