I ran into this same problem (see my posting on 1/9/08). It only occurs when generateReleasePoms is true. If you look at the debug output, it does attempt to do a "cvs add" on release-pom.xml...however for some reason the add doesn't happen. It works okay when generateReleasePoms is false.
-----Original Message----- From: Guillaume Lederrey [mailto:[EMAIL PROTECTED] Sent: Monday, January 14, 2008 5:18 AM To: Maven Users List Subject: SCM not adding file to CVS before commit when doing a release I'm having problem with the maven-release-plugin. I'm trying to do a release with "mvn -e -Dmaven.scm.provider.cvs.implementation=cvs_native release:prepare". I have the following configuration for the release plugin : <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.0-beta-7</version> <configuration> <autoVersionSubmodules>true</autoVersionSubmodules> <generateReleasePoms>true</generateReleasePoms> </configuration> </plugin> When running, I get the following error. It seems to me that the release plugin (or the SCM plugin) "forgot" to run a "cvs add". How can I tell them to do the add before the commit ? Or didnt I understand the problem right ? Caused by: org.apache.maven.plugin.MojoFailureException: Unable to commit files Provider message: The cvs command failed. Command output: cvs commit: use `cvs add' to create an entry for release-pom.xml cvs [commit aborted]: correct above errors first! -- Jabber : [EMAIL PROTECTED] Skype : Guillaume.Lederrey Projects : * http://rwanda.wordpress.com/ * http://rwandatech.wordpress.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------------------------------------------- This e-mail message may contain privileged and/or confidential information, and is intended to be received only by persons entitled to receive such information. If you have received this e-mail in error, please notify the sender immediately. Please delete it and all attachments from any servers, hard drives or any other media. Other use of this e-mail by you is strictly prohibited. All e-mails and attachments sent and received are subject to monitoring, reading and archival by Monsanto, including its subsidiaries. The recipient of this e-mail is solely responsible for checking for the presence of "Viruses" or other "Malware". Monsanto, along with its subsidiaries, accepts no liability for any damage caused by any such code transmitted by or accompanying this e-mail or any attachment. --------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
