slawekjaranowski commented on code in PR #11495:
URL: https://github.com/apache/maven/pull/11495#discussion_r2567827516
##########
maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java:
##########
@@ -275,9 +288,14 @@ public void injectProxy(RepositorySystemSession session,
List<ArtifactRepository
}
}
- private ArtifactRepositoryLayout getLayout(String id) {
+ private ArtifactRepositoryLayout getLayout(String repoId, String id) {
ArtifactRepositoryLayout layout = layouts.get(id);
+ if (layout == null) {
+ LOGGER.warn("No layout '{}' found for repository id '{}'", id,
repoId);
Review Comment:
ok, I will move it to debug level ...
wrong repository layout, can be defined in pom imported from external
artifact, users can not do anything with it
and in worst we don't have in this place information which pom/artifact is
actually processed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]