I have been trying to get the changelog-maven-plugin to work with CVS for a
few days now. I have no idea what is wrong with my setup, when I run mvn
site I get the following error messages:
Things I Have Already Tried Based on Prior Replies
1) Switched to plugin version 2.0-SNAPSHOT
2) Many variations of my SCM declaration (posted below).
Error Message
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in
any resource loader.
[INFO] Velocimacro : error using VM library template VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'V
M_global_library.vm'
[[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
Don't know if these have anything to do with it, but they are always there.
Maven Version
2.0.4
changelog-maven-plugin Version
2.0-SNAPSHOT
OS
Windows Xp Pro
Plugin Declaration in POM.xml
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
<version>2.0-SNAPSHOT</version>
</plugin>
</plugins>
</reporting>
SCM Configuration POM.xml
First Variation:
<scm>
<connection>scm:cvs:pserver:username:[EMAIL
PROTECTED]:2401:/a/cvs:OMS</connection>
<developerConnection>scm:cvs:pserver:username:[EMAIL
PROTECTED]:2401:/a/cvs:OMS</developerConnection>
<url>http://repository</url>
</scm>
Second Variation
<scm>
<connection>scm:cvs:pserver:username:@cvsserver:2401:/a/cvs:OMS</connection>
<developerConnection>scm:cvs:pserver:username:@cvsserver:2401:/a/cvs:OMS</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:OMS</connection>
<developerConnection>scm:cvs:pserver:username:@cvsserver:/a/cvs:OMS</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>[EMAIL
PROTECTED]<delimiter>port]<delimiter>path_to_repository<delimiter>module_name
Other 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.
My Questions
1) Are those error messages I posted earlier the cause of this?
2) Is there any way to get some more feedback regarding the error? My
problem here is that I have NO IDEA where things are going wrong so I don't
know where to start fixing.
3) Is there an error in my SCM declaration? It doesn't seem to complain
regardless of what I put there. Is there a way to test the SCM declaration?
Sorry for the long post, but my boss is expecting this to get done because
he heard that making a Maven site was very "easy" which makes me stupid or
lazy for not getting it done so far. I hope I was thorough enough, and thank
you for your help in advance!
-Sam
--
View this message in context:
http://www.nabble.com/changelog-maven-plugin-and-scm-error-tf2227141.html#a7012529
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]