【问题标题】:Migrate a report created with Makefile into a Maven site report将使用 Makefile 创建的报告迁移到 Maven 站点报告
【发布时间】:2012-06-20 08:53:19
【问题描述】:

我对 maven 很陌生,但我要求将我当前的报告移动到 mvn site 的子目录中的 Makefile 创建的报告中。

我将报告中所有非 java 的东西都放到了 legacy-report 目录中。所以当前的树大概是这样的:

pom.xml
legacy-report/
    Makefile
    www/           # <<< created by 'make all'
       index.html 
subtree-1/
    pom.xml
    src/
subtree-2/
    pom.xml
    src/

所以我为我的法律报告启用 mvn site 的问题是

  • 我应该使用什么 maven(报告)插件?
  • 我应该如何更改目录布局?
  • 如何将其集成到主要的 pom.xml 中?
  • 我的legacy-reporting 目录中是否需要pom.xml,它(大致)是什么样的?

【问题讨论】:

  • 您通过 Makefile 创建了什么样的报告?
  • @khmarbaise 单个 index.html 带有摘要显示内联并链接到许多还生成的带有详细信息的 PNG 和 PDF——graphviz dot 精确的图表(想象它是一组静态调用图)。

标签: maven maven-2 makefile maven-plugin maven-site-plugin


【解决方案1】:

所以在弄清楚你真正在说什么之后,你应该看看这里的插件:

http://graphviz-maven-plugin.bryon.us/index.html

这将使您有机会通过 Maven 创建 graphivz 图形。问题是是否有办法创建它的 index.html。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-04-08
    • 1970-01-01
    • 2018-01-29
    • 2012-07-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多