mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-51412 (Maven: autimatically discover Maven installation under mac and linux )
This commit is contained in:
@@ -474,7 +474,13 @@ public class MavenUtil {
|
||||
return home;
|
||||
}
|
||||
}
|
||||
|
||||
else if (SystemInfo.isLinux) {
|
||||
File home = new File("/usr/share/maven2");
|
||||
if (isValidMavenHome(home)) {
|
||||
return home;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user