Claus Ibsen created CAMEL-7187:
----------------------------------

             Summary: apt document generator - OSGi split package issue when 
writing to same package
                 Key: CAMEL-7187
                 URL: https://issues.apache.org/jira/browse/CAMEL-7187
             Project: Camel
          Issue Type: Improvement
          Components: tooling
    Affects Versions: 2.12.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.12.3, 2.13.0


The apt processor should generate the html docs in component package and not in 
org.apache.camel.component. As the latter causes osgi split packages, and also 
each component bundle plugin does not include that package, and therefore the 
documentation is missing in the JARs.

Having the docs in the component package where the .class code is resolves this 
problem.

Another alternative is to write to META-INF/services/org/apache/camel/component 
like component.properties does.

Though then resource loading from runtime is a little more tricky.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to