davsclaus commented on code in PR #17035:
URL: https://github.com/apache/camel/pull/17035#discussion_r1942347257
##########
dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/download/KnownDependenciesResolver.java:
##########
@@ -80,4 +80,13 @@ public MavenGav mavenGavForClass(String className) {
}
return answer;
}
+
+ private String findGav(String prefix) {
+ String gav = mappings.get(prefix);
+ while (gav == null && prefix.lastIndexOf(".") != -1) {
Review Comment:
You cannot keep dropping sub package names, which can end up into picking
the wrong JAR.
It should only drop the classname
--
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]