Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

Support for report plugin #85

@xezzon

Description

@xezzon

Summary(关于这个pr的描述,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)

When outputting html, allow it to be used as a report plugin.

输出 html 时,允许将其用作 report 插件。

Basic example(pr的用例,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)

<project>
  <reporting>
    <plugins>
      <plugin>
        <groupId>io.github.xezzon</groupId>
        <artifactId>smart-doc-maven-plugin</artifactId>
        <version>${smart-doc-maven-plugin.version}</version>
        <reportSets>
          <reportSet>
            <reports>
              <report>html</report>
              <report>grpc-html</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <reportSets>
          <reportSet>
            <reports>
              <report>index</report>
              <report>summary</report>
              <report>modules</report>
              <report>licenses</report>
              <report>dependencies</report>
              <report>plugins</report>
              <report>dependency-info</report>
              <report>scm</report>
              <report>team</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
    </plugins>
  </reporting>
</project>

Motivation(提出这个pr目的,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)

The output of reporting is recognised by maven-project-info-reports-plugin. No additional configuration is required to make it part of the project documentation.

reporting 的输出结果可以被 maven-project-info-reports-plugin 识别到。无需额外配置,即可作为项目文档的一部分。

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions