我在运行mvn site命令生成report的时候得到3个warnings,结果ChangeLogReport, DeveloperActivityReport和FileActivityReport都是空的。
我用的是Maven2.0.4, changelog-maven-plugin 2.0-beta-1. 版本控制使用的是CVS , 这3个 warnings在windows和UNIX都存在。
[WARNING] Error loading report org.apache.maven.changelog.ChangeLogReport - AbstractMethodError: canGenerateReport()
[WARNING] Error loading report org.apache.maven.changelog.DeveloperActivityReport - AbstractMethodError: canGenerateReport()
[WARNING] Error loading report org.apache.maven.changelog.FileActivityReport - AbstractMethodError: canGenerateReport()
下面是我的pom.xml文件的配置,不知道是不是有问题?
<reporting>
<plugins>
<!--Change log-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>changelog-maven-plugin</artifactId>
<version>2.0-beta-1</version>
<configuration>
<type>range</type>
<range>300</range>
<repositoryConnection>scm:cvs:pserver:
[email protected]:40780/opt/psrc/psrc:gimo</repositoryConnection>
<properties>
<maven.changelog.factory>org.apache.maven.perforcelib.PerforceChangeLogFactory</maven.changelog.factory>
</properties>
<dateFormat>yyyy/MM/dd HH:mm:ss</dateFormat>
</configuration>
</plugin>
</plugins>
</reporting>
<scm>
<connection>scm:cvs:pserver:
[email protected]:40780/opt/psrc/psrc:gimo</connection>
<developerConnection>scm:cvs:pserver:
[email protected]:40780/opt/psrc/psrc:gimo</developerConnection>
<tag>HEAD</tag>
<url>