camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Automatic documentation of a component
Date Wed, 06 Mar 2019 11:39:57 GMT
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
<stefan.ziegler.de@gmail.com> wrote:
>
> Hi
>
> I'm writing my first apache camel component:
> https://github.com/edigonzales/camel-ili2pg
>
> I'm wondering how to get the automatic documentation of the component and
> endpoint options in the asciidoc file? I have put an emtpy .adoc file in
> src/main/docs/ only with
>
> // component options: START
> // component options: END
>
> // endpoint options: START
> // endpoint options: END
>
> written in it.
>
> I then run "mvn clean install" but I couldn't find any updated / new
> asciidoc file with the component options. Endpoints etc are annotated.
>
> Thanks for any hints.
> regards
> Stefan



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Mime
View raw message