String (@NotNull MavenProject mavenProject) { Element mavenPackagingPluginConfiguration = getMavenPackagingPluginConfiguration(mavenProject); final Element mavenArchiveConfiguration = mavenPackagingPluginConfiguration != null ? mavenPackagingPluginConfiguration.getChild("archive") : null; final Element manifestConfiguration = mavenArchiveConfiguration != null ? mavenArchiveConfiguration.getChild("manifest") : null; final ManifestImporter manifestImporter = ManifestImporter.getManifestImporter(mavenProject.getPackaging()); return manifestImporter.getClasspath(mavenProject, manifestConfiguration); }