You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/01/07 12:55:53 UTC

[GitHub] [camel] orpiske commented on a change in pull request #6677: CAMEL-17435: remove the Generated annotation so we can reduce dependencies in some modules

orpiske commented on a change in pull request #6677:
URL: https://github.com/apache/camel/pull/6677#discussion_r780246231



##########
File path: tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/ModelXmlParserGeneratorMojo.java
##########
@@ -223,7 +222,6 @@ private JavaClass generateParser(List<Class<?>> model, ClassLoader classLoader)
         parser.addImport(List.class);
         parser.addImport(ArrayList.class);
         parser.addAnnotation(SuppressWarnings.class).setLiteralValue("\"unused\"");
-        parser.addAnnotation(Generated.class).setLiteralValue("\"" + getClass().getName() + "\"");

Review comment:
       Yes we can. Let me try that.




-- 
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