You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Build] Declare mirror for eclipse p2 repository (#117732) (#117735)
The spotlight plugin directly resolves dependencies from p2 which causes
`java.io.IOException: Failed to load eclipse jdt formatter` issues if that repo is not accessible.
This is a workaround for the eclipse p2 default repository being down resulting in all our
ci jobs to fail.
The artifacts in question we wanna cache live in `~/.m2/repository`
Copy file name to clipboardExpand all lines: build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/FormattingPrecommitPlugin.java
+4-1
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,8 @@
17
17
importorg.gradle.api.Project;
18
18
19
19
importjava.io.File;
20
+
importjava.util.Arrays;
21
+
importjava.util.Map;
20
22
21
23
/**
22
24
* This plugin configures formatting for Java source using Spotless
@@ -64,7 +66,8 @@ public void apply(Project project) {
0 commit comments