You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "grgrzybek (via GitHub)" <gi...@apache.org> on 2023/05/19 11:03:11 UTC

[GitHub] [camel] grgrzybek commented on a diff in pull request #10000: Xml in jbang

grgrzybek commented on code in PR #10000:
URL: https://github.com/apache/camel/pull/10000#discussion_r1198837275


##########
tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/ModelXmlWriterGeneratorMojo.java:
##########
@@ -791,7 +812,13 @@ private Predicate<Member> accessible(Class<?> clazz) {
 
     private boolean isXmlBindAnnotated(Member m) {
         return Stream.of(((AnnotatedElement) m).getAnnotations())
-                .anyMatch(a -> a.getClass().getAnnotatedInterfaces()[0].getType().getTypeName().startsWith("jakarta.xml.bind.annotation."));
+                .anyMatch(a -> a.getClass().getAnnotatedInterfaces()[0].getType().getTypeName().startsWith("jakarta.xml.bind.annotation.")
+                        /*&& !a.getClass().getAnnotatedInterfaces()[0].getType().getTypeName().endsWith("XmlAnyElement")*/);

Review Comment:
   done. force pushed to PR branch



-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org