Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for report plugin #85

Open
xezzon opened this issue Dec 15, 2024 · 0 comments
Open

Support for report plugin #85

xezzon opened this issue Dec 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@xezzon
Copy link

xezzon commented Dec 15, 2024

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 识别到。无需额外配置,即可作为项目文档的一部分。

@xezzon xezzon added the enhancement New feature or request label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant