我正在使用名为maven- Confluence -reporting-plugin的插件,以便将我的文档直接部署到Confluence Wiki上。这是很好的工作,它已经正确地映射/链接到默认站点阶段。基本上,我跟踪了这些指令。
现在我想整合一份科伯图拉报告,也有它在汇合处,或至少我想有一个链接到从汇合处获得的Cobertura报告。
有人已经这么做了吗?
基本上,现在我可以:
我想:
目前,我的pom.xml中有这样的内容:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0</version>
<configuration>
<reportPlugins>
<plugin>
<groupId>org.bsc.maven</groupId>
<artifactId>maven-confluence-reporting-plugin</artifactId>
<version>3.3.0-beta3</version>
<reportSets>
<reportSet>
<id>confluence</id>
<configuration>
<endPoint>http://localhost:8090/rpc/xmlrpc</endPoint>
<spaceKey>REP</spaceKey>
<parentPageTitle>Home</parentPageTitle>
<title>myFirstTest</title>
<labels>
<label>test</label>
<label>confluence</label>
</labels>
<templateWiki>${basedir}/src/site/confluence/template.confluence</templateWiki>
<wikiFilesExt>.confluence</wikiFilesExt>
<serverId>confluence</serverId>
<properties>
<prop>the_text_value</prop><!-- SIMPLE TEXT -->
<prop1>classpath:plugin-report.properties</prop1><!-- FROM CLASSPATH -->
<prop2>file://${basedir}/confluence.html</prop2><!-- FROM FILE
SYSTEM -->
</properties>
</configuration>
<reports>
<report>confluence-summary</report>
</reports>
</reportSet>
</reportSets>
</plugin>我不知道如何在上面添加Cobertura插件。
发布于 2014-10-14 21:22:46
首先,我建议您遵循文档这里,因为从4.x开始,插件可以不用连接到站点阶段就可以使用(我必须更新codehaus )
第二,请记住,这个插件部署到汇合,页面已经以wiki格式,所以我认为更好的方式是
https://stackoverflow.com/questions/26233377
复制相似问题