Manifest (@Nullable Element mavenArchiveConfiguration) { String manifestPath = MavenJDOMUtil.findChildValueByPath(mavenArchiveConfiguration, "manifestFile"); if (manifestPath != null) { File manifestFile = new File(manifestPath); if (!manifestFile.isAbsolute()) { manifestFile = new File(myMavenProject.getDirectory(), manifestPath); } if (manifestFile.isFile()) { try (FileInputStream fis = new FileInputStream(manifestFile)) { return new Manifest(fis); } catch (IOException ignore) { } } } return null; }