Re: Automatic documentation of a component

2019-03-06 Thread Claus Ibsen
Hi No it should not, but its the update-readme goal of the camel-package-maven-plugin that does this. Mind that this package tool is written with mind of helping with the Camel project itself, and not specific to Camel end users. So there can be some corner cases where you can't do the same. On

Re: Automatic documentation of a component

2019-03-06 Thread Stefan Ziegler
Does the code has to be in the "org.apache.camel.component" package? Or can it be anything? Stefan On Wed, Mar 6, 2019 at 3:52 PM Claus Ibsen wrote: > Hi > > Yeah the adoc file should be in src/main/docs and be named > > componentName-component.adoc > > so if the component is named acme, then i

Re: Automatic documentation of a component

2019-03-06 Thread Claus Ibsen
Hi Yeah the adoc file should be in src/main/docs and be named componentName-component.adoc so if the component is named acme, then it should be acme-component.adoc On Wed, Mar 6, 2019 at 2:58 PM Stefan Ziegler wrote: > > Hi > > I used the maven archetype so I think it should be all there. >

Re: Automatic documentation of a component

2019-03-06 Thread Stefan Ziegler
Hi I used the maven archetype so I think it should be all there. Which names have to match? The name of the .adoc file must be identical to ...? regards Stefan On Wed, Mar 6, 2019 at 12:48 PM Claus Ibsen wrote: > Hi > > You need to have a maven plugin added and another dependency. > > See thi

Re: Automatic documentation of a component

2019-03-06 Thread Claus Ibsen
Hi You need to have a maven plugin added and another dependency. See this pom https://github.com/apache/camel/blob/camel-2.x/connectors/examples/beverage-component/pom.xml Also the maven archetype for component should include all of this also. On Wed, Mar 6, 2019 at 12:07 PM Stefan Ziegler wro