mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-107943 Dependencies with a non-default type not added as external libraries in maven module
fixed: allow "maven-plugin" in dependency type. +review CR-IC @Anton.Makeev
This commit is contained in:
@@ -806,9 +806,10 @@ public class MavenProject {
|
||||
|
||||
@NotNull
|
||||
public Set<String> getSupportedDependencyTypes(@NotNull SupportedRequestType type) {
|
||||
Set<String> result = new THashSet<String>(Arrays.asList(MavenConstants.TYPE_JAR,
|
||||
MavenConstants.TYPE_TEST_JAR,
|
||||
"ejb", "ejb-client", "jboss-har", "jboss-sar", "war", "ear", "bundle"));
|
||||
Set<String> result = ContainerUtil.newTroveSet(MavenConstants.TYPE_JAR,
|
||||
MavenConstants.TYPE_TEST_JAR,
|
||||
"maven-plugin",
|
||||
"ejb", "ejb-client", "jboss-har", "jboss-sar", "war", "ear", "bundle");
|
||||
if (type == SupportedRequestType.FOR_COMPLETION) {
|
||||
result.add(MavenConstants.TYPE_POM);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user