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
[MRESOLVER-309] Do not kill the build when unkown remote layout (#233)
In case remote repository defines unsupported layout, filter should
just let it pass (as resolver will gracefully fail with it anyway),
while throwing RuntimeException caused abruptly stopped build.
---
https://issues.apache.org/jira/browse/MRESOLVER-309
Copy file name to clipboardExpand all lines: maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/filter/PrefixesRemoteRepositoryFilterSource.java
+16-4Lines changed: 16 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,9 @@ public RemoteRepositoryFilter getRemoteRepositoryFilter( RepositorySystemSession
112
112
}
113
113
114
114
/**
115
-
* Caches layout instances for remote repository.
115
+
* Caches layout instances for remote repository. In case of unknown layout it returns {@code null}.
116
+
*
117
+
* @return the layout instance of {@code null} if layout not supported.
0 commit comments