[ http://jira.codehaus.org/browse/MCHANGELOG-42?page=comments#action_71985 ] Abhijit Diwan commented on MCHANGELOG-42: -----------------------------------------
It worked thank you very much for help but I feel we should have update about the repositories to point to. Now my plugin section looks like this. It is very diificult to search web to see what is wrong in pom. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changelog-plugin</artifactId> <version>2.0-SNAPSHOT</version> <reportSets> <reportSet> <id>Perofrce report</id> <configuration> <type>range</type> <range>10</range> <repositoryConnection> scm:perforce://EJB/ejb-dev/MavenCodeline/</repositoryConnection> <properties> <maven.changelog.factory> org.apache.maven.perforcelib.PerforceChangeLogFactory</maven.changelog.factory> </properties> <dateFormat>yyyy/MM/dd HH:mm:ss</dateFormat> </configuration> <reports> <report>changelog</report> <report>file-activity</report> <report>dev-activity</report> </reports> </reportSet> </reportSets> </plugin> thanks a lot again for the help. You can close the issue. > Changelog produces empty output. > -------------------------------- > > Key: MCHANGELOG-42 > URL: http://jira.codehaus.org/browse/MCHANGELOG-42 > Project: Maven 2.x Changelog Plugin > Issue Type: Bug > Affects Versions: 2.0-beta-1 > Environment: Windows XP SP2 / maven-2.0.4 > Reporter: Abhijit Diwan > > I am trying to get changelog for my project and the mvn site command > generates empty changelog output. > Following is the scm section of my pom.xml > <scm> > > <connection>scm:perforce:<PRIVACYHIDDEN>@fish:1678://EJB/ejb-dev/MavenCodeline</connection> > </scm> > and the plugin section I have > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>changelog-maven-plugin</artifactId> > <reportSets> > <reportSet> > <id>Perofrce report</id> > <configuration> > <type>range</type> > <range>30</range> > </configuration> > <reports> > <report>changelog</report> > <report>file-activity</report> > <report>dev-activity</report> > </reports> > </reportSet> > </reportSets> > </plugin> > I get following error when I generate site using maven site command. > [ERROR] There are test failures. > [INFO] [site:site] > [WARNING] Error loading report org.apache.maven.changelog.ChangeLogReport - > Abst > ractMethodError: canGenerateReport() > [WARNING] Error loading report org.apache.maven.changelog.FileActivityReport > - A > bstractMethodError: canGenerateReport() > [WARNING] Error loading report org.apache.maven.changes.ChangesMojo - > AbstractMe > thodError: canGenerateReport() > [WARNING] Error loading report org.apache.maven.jira.JiraMojo - > AbstractMethodEr > ror: canGenerateReport() > Is it something related to setting maven.changelog.factory to > "org.apache.maven.perforcelib.PerforceChangeLogFactory". But where do you set > this value if this is what i need. > Please help. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira