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:54:25 UTC
[GitHub] [camel] davsclaus commented on a change in pull request #6677: CAMEL-17435: remove the Generated annotation so we can reduce dependencies in some modules
davsclaus commented on a change in pull request #6677:
URL: https://github.com/apache/camel/pull/6677#discussion_r780245495
##########
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:
Can we add a javadoc like the others do with
```
/**
* Generated by camel build tools - do NOT edit this file!
*/
```
--
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