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

        

Reply via email to