iMashtak commented on PR #12786:
URL: https://github.com/apache/camel/pull/12786#issuecomment-1903978167

   As far as i can see from logs, there is a problem in 
`generate-all-dsl-mojo`. It needs a `camel-core-model` dependency but if i do 
so, there is a cyclic dependency problem. That because i generate DataFormat 
DSL, not write it manually, and need some reflection over `camel-core-model` 
classes.
   So... i will use magic of class loader as described here: 
[link](https://stackoverflow.com/questions/49737706/access-project-classes-from-a-maven-plugin).
 Will make custom class loader. It is safe approach cause `camel-kotlin-api` 
depends on `camel-core-model` and will be built only after it. That means that 
we will certainly have compiled classes of `camel-core-model` at the 
`camel-kotlin-api` compilation moment.


-- 
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-unsubscr...@camel.apache.org

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

Reply via email to