On Mon, 28 Mar 2022 at 18:14, Claus Ibsen <claus.ib...@gmail.com> wrote:
> Hi > > The docs tells you where it outputs and how you can add plugins to > include the src/generated folder > https://camel.apache.org/manual/camel-component-maven-plugin.html#_generate Yes you can change the defaults but the problem is that the current defaults help to hide the bug in the plugin. > > You can also set which phase to execute the plugin > I tried both generated-sources and compile phase. - generated-sources didn't generate anything. - compile did generate the code but it executes after the compiler runs so it never gets a chance to compile it. I tried moving the camel-component-maven-plugin to appear before the maven-compiler-plugin in the pom.xml but this seems to have no effect in the order of execution. I am using maven 3.6.0