mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-55188 (Idea fails to resolve dependencies for Maven projects if settings.xml contains repositories with <layout>p2</layout>)
Don't highlight <layout>p2</layout> red
This commit is contained in:
+5
-1
@@ -23,7 +23,11 @@ import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
public class MavenRepositoryLayoutConverter extends MavenConstantListConverter {
|
||||
private static final List<String> VALUES = Arrays.asList("default", "legacy");
|
||||
private static final List<String> VALUES = Arrays.asList("default", "legacy", "p2");
|
||||
|
||||
public MavenRepositoryLayoutConverter() {
|
||||
super(false);
|
||||
}
|
||||
|
||||
protected Collection<String> getValues(@NotNull ConvertContext context) {
|
||||
return VALUES;
|
||||
|
||||
Reference in New Issue
Block a user