This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 7a478a57950 CAMEL-18800: camel-jbang - Maven downloader backwards
compatible with javax.inject annotations that are in use by Maven 3.8.x and
Maven resolver.
7a478a57950 is described below
commit 7a478a5795022146257abab86782e6b6a3e1b160
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Jan 11 14:47:48 2023 +0100
CAMEL-18800: camel-jbang - Maven downloader backwards compatible with
javax.inject annotations that are in use by Maven 3.8.x and Maven resolver.
---
.../src/main/java/org/apache/camel/main/injection/DIRegistry.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/injection/DIRegistry.java
b/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/injection/DIRegistry.java
index e229ff0a211..7fda121f4dc 100644
---
a/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/injection/DIRegistry.java
+++
b/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/injection/DIRegistry.java
@@ -102,7 +102,7 @@ public class DIRegistry extends SupplierRegistry {
for (Annotation a : type.getAnnotations()) {
if (isNamedAnnotation(a)) {
String s = a.toString();
- // @javax.inject.Named("file-lock")
+ // @javax.inject.Named("valueHere")
String name = StringHelper.between(s, "(\"", "\")");
return name;
}