Dear all, I'm trying to use the changelog plugin with Maven 2.0.2. I have followed the instructions available at: http://mojo.codehaus.org/changelog-maven-plugin/howto.html and my pom.xml contains the following snippet: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>changelog-maven-plugin</artifactId> <version>2.0-beta-1</version> </plugin> The connection has been successfully tested with the scm:validate task and is defined as: <scm> <connection>scm:cvs:local:/usr/cvsroot:SIS</connection> <developerConnection>scm:cvs:local:/usr/cvsroot:SIS</developerConnection> </scm>
Running mvn site leads to the following problem: [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() Indeed, something fishy must be happening as the reports are displaying wrong information (i.e.: Total commits: 0 Total number of files changed: 0) Trying to run the goal directly also fails, with the following error message: mvn -e changelog:changelog + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'changelog'. [INFO] ---------------------------------------------------------------------------- [ERROR] BUILD ERROR [INFO] ---------------------------------------------------------------------------- [INFO] The plugin 'org.apache.maven.plugins:maven-changelog-plugin' does not exist or no valid version could be found [INFO] ---------------------------------------------------------------------------- [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-changelog-plugin' does not exist or no valid version could be found Something I cannot understand already (but I'm new to Maven so maybe it's not relevant) is why it's searching for maven-changelog-plugin, when the pom.xml is referencing a changelog-maven-plugin. The jar file is in the repository: here:~/software/maven-2.0.2/repo/org/codehaus/mojo/changelog-maven-plugin/2.0-beta-1 1171 % ls changelog-maven-plugin-2.0-beta-1.jar changelog-maven-plugin-2.0-beta-1.pom changelog-maven-plugin-2.0-beta-1.jar.sha1 changelog-maven-plugin-2.0-beta-1.pom.sha1 Thanks a lot for any help that could be provided and sorry if I missed something obvious :-( Cheers, sosni PS: I'm running on Solaris 8, with Java 1.5.0_06 if that matters.
