Claus Ibsen created CAMEL-27986:
-----------------------------------

             Summary: camel-package-maven-plugin - description generation drops 
characters and misses some main option groups
                 Key: CAMEL-27986
                 URL: https://issues.apache.org/jira/browse/CAMEL-27986
             Project: Camel
          Issue Type: Bug
          Components: camel-package-maven-plugin
            Reporter: Claus Ibsen
             Fix For: 4.25.0


h4. 1. JavadocHelper.sanitizeDescription

It drops a * that ends a Javadoc line ("jms:*" became "jms:"), drops ~, @, 
double quotes and backticks (the maven-settings text showed 
"/.m2/settings.xml"), and leaves a space before punctuation after a {@code} 
("serverInfo.title .").

h4. 2. PrepareCamelMainMojo

There is no camel.vault.springConfig group, so main.adoc has no table for those 
8 options; the camel.vault.kubernetes table also lists the 2 kubernetescm 
options (prefix match); the RestHostNameResolver enum is hardcoded without none.

h4. 3. Generated AsciiDoc option tables do not escape *

A * in a description can pair with another one into bold text, even across 
table cells.

h4. 4. PrepareCamelJBangDocMojo.execute(MavenProject)

It sets jbangJsonFile to camel-main-configuration-metadata.json, the wrong file 
(only that code path; Maven's execute() uses the right default).

Found while checking the option and console descriptions of CAMEL-27980.

----
_Filed by Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to