Commit d10d8b1
Fix maven repository discovery (#518)
* Fix maven repository discovery
Fixes the maven repository discovery by checking if the candidate paths
have a `/repository` directory. An exception is thrown if no valid
repository paths are found.
* Update shared/src/main/kotlin/org/javacs/kt/classpath/Home.kt
Reformat single expression `createPathOrNull` function.
Co-authored-by: fwcd <30873659+fwcd@users.noreply.github.com>
* Update shared/src/main/kotlin/org/javacs/kt/classpath/Home.kt
Co-authored-by: fwcd <30873659+fwcd@users.noreply.github.com>
---------
Co-authored-by: Callum Lamont <callum.lamont@complyadvantage.com>
Co-authored-by: fwcd <30873659+fwcd@users.noreply.github.com>1 parent bd5d987 commit d10d8b1
File tree
1 file changed
+19
-11
lines changed1 file changed
+19
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
| 9 | + | |
6 | 10 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | | - | |
18 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments