String (final Project project, final MavenRunnerParameters runnerParameters) { final VirtualFile virtualFile = LocalFileSystem.getInstance().refreshAndFindFileByPath(runnerParameters.getWorkingDirPath() + "/pom.xml"); if (virtualFile != null) { MavenProject mavenProject = MavenProjectsManager.getInstance(project).findProject(virtualFile); if (mavenProject != null) { if (!StringUtil.isEmptyOrSpaces(mavenProject.getMavenId().getArtifactId())) { return mavenProject.getMavenId().getArtifactId(); } } } return null; }