Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • changelog-maven-plugin and CVS

    3 answers - 2699 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    I have been trying to get the changelog-maven-plugin to work with CVS for a
    few hours now. I have searched for the topic and found a few good threads,
    but I never really found a definite solution.
    Error Message
    [WARNING] Error loading report -
    AbstractMethodError: canGenerateReport()
    [WARNING] Error loading report
    - AbstractMethodError:
    canGenerateReport()
    [WARNING] Error loading report
    - AbstractMethodError: canGenerateReport()
    Maven Version
    2.0.4
    changelog-maven-plugin Version
    2.0-beta-1
    S
    Windows Xp Pro
    Plugin Declaration in PM.xml
    <reporting>
    <plugins>
    <plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>changelog-maven-plugin</artifactId>
    </plugin>
    </plugins>
    </reporting>
    SCM Configuration PM.xml
    First Variation:
    <scm>
    <connection>@cvsserver:2401:/a/cvs:MS</connection>
    <developerConnection>@cvsserver:2401:/a/cvs:MS</developerConnection>
    <url>http://repository</url>
    </scm>
    Second Variation
    <scm>
    <connection>scm:cvs:pserver:username:@cvsserver:2401:/a/cvs:MS</connection>
    <developerConnection>scm:cvs:pserver:username:@cvsserver:2401:/a/cvs:MS</developerConnection>
    <url>http://repository</url>
    </scm>
    Note that I removed the password yet left the : just like some thread
    suggested. I also did a cvs login from the command line right before I tried
    the above scm.
    Third Variation
    <scm>
    <connection>scm:cvs:pserver:username:@cvsserver:/a/cvs:MS</connection>
    <developerConnection>scm:cvs:pserver:username:@cvsserver:/a/cvs:MS</developerConnection>
    <url>http://repository</url>
    </scm>
    Note that I removed the port number.
    The SCM Template I am Trying to Follow
    I will put this here for quick reference:
    scm:cvs<delimiter>pserver<delimiter>[username[<delimiter>password]@]servername[<delimiter>port]<delimiter>path_to_repository<delimiter>module_name
    Notes
    1) I am not using the standard Maven directory structure. All I am supposed
    to do with Maven is create a project site for an existing project using mvn
    site:site.
    2) The site is generated successfully (I love the site!), but clicking on
    any of the changelog links displays this message:
    No sources found to create a report.
    3) I hope I was thorough enough, and thank you for your help in advance!
    -Sam
  • No.1 | | 2927 bytes | |

    I posted this message a couple of days ago and I got no replies. Did I miss
    any details that I needed to include? If you know of a better place to find
    a solution, could you please redirect me to it?

    Sam Anabtawi wrote:

    I have been trying to get the changelog-maven-plugin to work with CVS for
    a few hours now. I have searched for the topic and found a few good
    threads, but I never really found a definite solution.

    Error Message
    [WARNING] Error loading report
    - AbstractMethodError: canGenerateReport()
    [WARNING] Error loading report
    - AbstractMethodError:
    canGenerateReport()
    [WARNING] Error loading report
    - AbstractMethodError:
    canGenerateReport()

    Maven Version
    2.0.4

    changelog-maven-plugin Version
    2.0-beta-1

    S
    Windows Xp Pro

    Plugin Declaration in PM.xml
    <reporting>
    <plugins>
    <plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>changelog-maven-plugin</artifactId>
    </plugin>
    </plugins>
    </reporting>

    SCM Configuration PM.xml

    First Variation:
    <scm>

    <connection>@cvsserver:2401:/a/cvs:MS</connection>

    <developerConnection>@cvsserver:2401:/a/cvs:MS</developerConnection>
    <url>http://repository</url>
    </scm>

    Second Variation
    <scm>

    <connection>scm:cvs:pserver:username:@cvsserver:2401:/a/cvs:MS</connection>

    <developerConnection>scm:cvs:pserver:username:@cvsserver:2401:/a/cvs:MS</developerConnection>
    <url>http://repository</url>
    </scm>

    Note that I removed the password yet left the : just like some thread
    suggested. I also did a cvs login from the command line right before I
    tried the above scm.

    Third Variation
    <scm>

    <connection>scm:cvs:pserver:username:@cvsserver:/a/cvs:MS</connection>

    <developerConnection>scm:cvs:pserver:username:@cvsserver:/a/cvs:MS</developerConnection>
    <url>http://repository</url>
    </scm>

    Note that I removed the port number.

    The SCM Template I am Trying to Follow
    I will put this here for quick reference:

    scm:cvs<delimiter>pserver<delimiter>[username[<delimiter>password]@]servername[<delimiter>port]<delimiter>path_to_repository<delimiter>module_name

    Notes
    1) I am not using the standard Maven directory structure. All I am
    supposed to do with Maven is create a project site for an existing project
    using mvn site:site.
    2) The site is generated successfully (I love the site!), but clicking on
    any of the changelog links displays this message:

    No sources found to create a report.

    3) I hope I was thorough enough, and thank you for your help in advance!
    -Sam
  • No.2 | | 3004 bytes | |

    Sam,
    I am not sure if you have been able to fix this issue or not but, there are
    some issues with the version of plugin you are using now. I had the same
    issue and was asked to use a different version: 2.0-SNAPSHT

    Anywayz here is the thread:
    #a6840168

    Sree

    Sam Anabtawi wrote:

    I have been trying to get the changelog-maven-plugin to work with CVS for
    a few hours now. I have searched for the topic and found a few good
    threads, but I never really found a definite solution.

    Error Message
    [WARNING] Error loading report
    - AbstractMethodError: canGenerateReport()
    [WARNING] Error loading report
    - AbstractMethodError:
    canGenerateReport()
    [WARNING] Error loading report
    - AbstractMethodError:
    canGenerateReport()

    Maven Version
    2.0.4

    changelog-maven-plugin Version
    2.0-beta-1

    S
    Windows Xp Pro

    Plugin Declaration in PM.xml
    <reporting>
    <plugins>
    <plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>changelog-maven-plugin</artifactId>
    </plugin>
    </plugins>
    </reporting>

    SCM Configuration PM.xml

    First Variation:
    <scm>

    <connection>@cvsserver:2401:/a/cvs:MS</connection>

    <developerConnection>@cvsserver:2401:/a/cvs:MS</developerConnection>
    <url>http://repository</url>
    </scm>

    Second Variation
    <scm>

    <connection>scm:cvs:pserver:username:@cvsserver:2401:/a/cvs:MS</connection>

    <developerConnection>scm:cvs:pserver:username:@cvsserver:2401:/a/cvs:MS</developerConnection>
    <url>http://repository</url>
    </scm>

    Note that I removed the password yet left the : just like some thread
    suggested. I also did a cvs login from the command line right before I
    tried the above scm.

    Third Variation
    <scm>

    <connection>scm:cvs:pserver:username:@cvsserver:/a/cvs:MS</connection>

    <developerConnection>scm:cvs:pserver:username:@cvsserver:/a/cvs:MS</developerConnection>
    <url>http://repository</url>
    </scm>

    Note that I removed the port number.

    The SCM Template I am Trying to Follow
    I will put this here for quick reference:

    scm:cvs<delimiter>pserver<delimiter>[username[<delimiter>password]@]servername[<delimiter>port]<delimiter>path_to_repository<delimiter>module_name

    Notes
    1) I am not using the standard Maven directory structure. All I am
    supposed to do with Maven is create a project site for an existing project
    using mvn site:site.
    2) The site is generated successfully (I love the site!), but clicking on
    any of the changelog links displays this message:

    No sources found to create a report.

    3) I hope I was thorough enough, and thank you for your help in advance!
    -Sam
  • No.3 | | 3714 bytes | |

    Sam,
    I am not sure if you have been able to fix this issue or not but, there are
    some issues with the version of plugin you are using now. I had the same
    issue and was asked to use a different version: 2.0-SNAPSHT

    Anywayz here is the thread:
    #a6840168

    Sree

    Sam Anabtawi wrote:

    I posted this message a couple of days ago and I got no replies. Did I
    miss any details that I needed to include? If you know of a better place
    to find a solution, could you please redirect me to it?

    Sam Anabtawi wrote:
    >
    >I have been trying to get the changelog-maven-plugin to work with CVS for
    >a few hours now. I have searched for the topic and found a few good
    >threads, but I never really found a definite solution.
    >
    >Error Message
    >[WARNING] Error loading report
    >- AbstractMethodError: canGenerateReport()
    >[WARNING] Error loading report
    >- AbstractMethodError:
    >canGenerateReport()
    >[WARNING] Error loading report
    >- AbstractMethodError:
    >canGenerateReport()
    >
    >Maven Version
    >2.0.4
    >
    >changelog-maven-plugin Version
    >2.0-beta-1
    >
    >S
    >Windows Xp Pro
    >
    >Plugin Declaration in PM.xml
    ><reporting>
    ><plugins>
    ><plugin>
    ><groupId>org.codehaus.mojo</groupId>
    ><artifactId>changelog-maven-plugin</artifactId>
    ></plugin>
    ></plugins>
    ></reporting>
    >
    >SCM Configuration PM.xml
    >
    >First Variation:
    ><scm>
    >
    ><connection>@cvsserver:2401:/a/cvs:MS</connection>
    >
    ><developerConnection>@cvsserver:2401:/a/cvs:MS</developerConnection>
    ><url>http://repository</url>
    ></scm>
    >
    >Second Variation
    ><scm>
    >
    ><connection>scm:cvs:pserver:username:@cvsserver:2401:/a/cvs:MS</connection>
    >
    ><developerConnection>scm:cvs:pserver:username:@cvsserver:2401:/a/cvs:MS</developerConnection>
    ><url>http://repository</url>
    ></scm>
    >
    >Note that I removed the password yet left the : just like some thread
    >suggested. I also did a cvs login from the command line right before I
    >tried the above scm.
    >
    >Third Variation
    ><scm>
    >
    ><connection>scm:cvs:pserver:username:@cvsserver:/a/cvs:MS</connection>
    >
    ><developerConnection>scm:cvs:pserver:username:@cvsserver:/a/cvs:MS</developerConnection>
    ><url>http://repository</url>
    ></scm>
    >
    >Note that I removed the port number.
    >
    >The SCM Template I am Trying to Follow
    >I will put this here for quick reference:
    >
    >scm:cvs<delimiter>pserver<delimiter>[username[<delimiter>password]@]servername[<delimiter>port]<delimiter>path_to_repository<delimiter>module_name
    >
    >Notes
    >1) I am not using the standard Maven directory structure. All I am
    >supposed to do with Maven is create a project site for an existing
    >project using mvn site:site.
    >2) The site is generated successfully (I love the site!), but clicking on
    >any of the changelog links displays this message:
    >
    >No sources found to create a report.
    >
    >3) I hope I was thorough enough, and thank you for your help in advance!
    >
    >-Sam
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >

Re: changelog-maven-plugin and CVS


max 4000 letters.
Your nickname that display:
In order to stop the spam: 1 + 0 =
QUESTION ON "Java"

EMSDN.COM