String (@NotNull MavenProject mavenProject, @Nullable Element manifestConfiguration) { StringBuilder classpath = new StringBuilder(); String classpathPrefix = getClasspathPrefix(manifestConfiguration); for (MavenArtifact mavenArtifact : mavenProject.getDependencies()) { final DependencyScope scope = MavenLegacyModuleImporter.selectScope(mavenArtifact.getScope()); if (scope.isForProductionCompile() || scope.isForProductionRuntime()) { if (classpath.length() > 0) { classpath.append(" "); } classpath.append(classpathPrefix); String artifactFileName = mavenArtifact.getArtifactId() + "-" + mavenArtifact.getVersion() + "." + mavenArtifact.getExtension(); classpath.append(doGetClasspathItem(mavenProject, mavenArtifact, artifactFileName)); } } return classpath.toString(); }