Skip to content

[MJAVADOC-814] Ability to split grouped packages over multiple lines #1192

Closed
@jira-importer

Description

@jira-importer

Richard Eckart de Castilho opened MJAVADOC-814 and commented

When configuring groups, the packages in the group need to be written on a single line separated with colons.

<groups>
  <group>
    <title>Core</title>
    <packages>
      org.apache.uima.analysis_component:org.apache.uima.analysis_engine
    </packages>
  </group>
</groups>

If there are many packages that can not easily be captured using a prefix pattern, this yields a very long line.

It would be greate if one could split the packages over multiple lines such as

<groups>
  <group>
    <title>Core</title>
    <packages>
      org.apache.uima.analysis_component:
      org.apache.uima.analysis_engine
    </packages>
  </group>
</groups>

The code internally already calls org.apache.maven.plugins.javadoc.JavadocUtil.quotedArgument(String) to sanitze the line breaks away, but it seems the whitespace still breaks it and javadoc tool in the end only recognizes the first package in the multi-line group.

Even nicer may be.

<groups>
  <group>
    <title>Core</title>
    <packages>
      <package>org.apache.uima.analysis_component</package>
      <package>org.apache.uima.analysis_engine</package>
    </packages>
  </group>
</groups>

Affects: 3.10.0

Remote Links:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions