Failed maven-scm-plugin: Check in
I'm trying to check in an ear file into CVS .When I run the command 'mvn scm:checkin' , the check in is failing with the following message : [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-scm-plugin:1.0-SNAPSHOT :checkin' -- [DEBUG] (f) basedir = D:\MAVEN-WORK\eportal-ear [DEBUG] (f) connectionType = developerConnection [DEBUG] (s) connectionUrl = scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/ lib/cvsroot:pragmaticusEportal/dev/eportal-ear [DEBUG] (f) developerConnectionUrl = scm:cvs:pserver:mutonj:[EMAIL PROTECTED] .14:/var/lib/cvsroot:pragmaticusEportal/dev/eportal-ear [DEBUG] (f) includes = **/*.ear [DEBUG] (f) message = Ear file test commit [DEBUG] (f) settings = [EMAIL PROTECTED] [DEBUG] -- end configuration -- [INFO] [scm:checkin] [INFO] Executing: cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:/var/lib/cvsroot -q commit -R -F C:\DOCUME~1\mutonhj\LOCALS~1\Temp\scm-commit-message61509.txt [INFO] Working directory: D:\MAVEN-WORK\eportal-ear [ERROR] Provider message: [ERROR] The cvs command failed. [ERROR] Command output: [ERROR] cvs commit: in directory .: cvs [commit aborted]: there is no version here; run 'cvs checkout' first [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Command failed.The cvs command failed. [INFO] [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Command failed.The cvs c ommand failed. My plugin is configured as shown below : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-scm-plugin/artifactId version1.0-SNAPSHOT/version configuration connectionUrlscm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:pragmaticusEportal/dev/eportal-ear//connectionUrl includes**/*.ear/includes messageEar file test commit/message /configuration goals goalcheckin/goal /goals /plugin I've googled for the error and the only explanation I can find seems to be pointing to the idea that I'm trying to add the ear file to a non-existent sub-directory , which isn't the case because pragmaticusEportal/dev/eportal-ear/ is indeed existent. -- Jeff Mutonho Cape Town South Africa GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Failed maven-scm-plugin: Check in
You can't commit a file if you aren't in a working copy directory. Emmanuel Jeff Mutonho a écrit : I'm trying to check in an ear file into CVS .When I run the command 'mvn scm:checkin' , the check in is failing with the following message : [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-scm-plugin:1.0-SNAPSHOT :checkin' -- [DEBUG] (f) basedir = D:\MAVEN-WORK\eportal-ear [DEBUG] (f) connectionType = developerConnection [DEBUG] (s) connectionUrl = scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/ lib/cvsroot:pragmaticusEportal/dev/eportal-ear [DEBUG] (f) developerConnectionUrl = scm:cvs:pserver:mutonj:[EMAIL PROTECTED] .14:/var/lib/cvsroot:pragmaticusEportal/dev/eportal-ear [DEBUG] (f) includes = **/*.ear [DEBUG] (f) message = Ear file test commit [DEBUG] (f) settings = [EMAIL PROTECTED] [DEBUG] -- end configuration -- [INFO] [scm:checkin] [INFO] Executing: cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:/var/lib/cvsroot -q commit -R -F C:\DOCUME~1\mutonhj\LOCALS~1\Temp\scm-commit-message61509.txt [INFO] Working directory: D:\MAVEN-WORK\eportal-ear [ERROR] Provider message: [ERROR] The cvs command failed. [ERROR] Command output: [ERROR] cvs commit: in directory .: cvs [commit aborted]: there is no version here; run 'cvs checkout' first [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Command failed.The cvs command failed. [INFO] [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Command failed.The cvs c ommand failed. My plugin is configured as shown below : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-scm-plugin/artifactId version1.0-SNAPSHOT/version configuration connectionUrlscm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:pragmaticusEportal/dev/eportal-ear//connectionUrl includes**/*.ear/includes messageEar file test commit/message /configuration goals goalcheckin/goal /goals /plugin I've googled for the error and the only explanation I can find seems to be pointing to the idea that I'm trying to add the ear file to a non-existent sub-directory , which isn't the case because pragmaticusEportal/dev/eportal-ear/ is indeed existent. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Failed maven-scm-plugin: Check in
On 11/27/06, Emmanuel Venisse [EMAIL PROTECTED] wrote: You can't commit a file if you aren't in a working copy directory. Emmanuel Thanks Emmanuel.The log says [INFO] Working directory: D:\MAVEN-WORK\eportal-ear .Do you mean I should run this from the directory where the actual ear file is located (which in my case is D:\MAVEN-WORK\eportal-ear\target) ? Is that what you mean by working copy directory. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Failed maven-scm-plugin: Check in
A working copy directory is the directory where you done the checkout. For CVS, it must contains a CVS directory. Emmanuel Jeff Mutonho a écrit : On 11/27/06, Emmanuel Venisse [EMAIL PROTECTED] wrote: You can't commit a file if you aren't in a working copy directory. Emmanuel Thanks Emmanuel.The log says [INFO] Working directory: D:\MAVEN-WORK\eportal-ear .Do you mean I should run this from the directory where the actual ear file is located (which in my case is D:\MAVEN-WORK\eportal-ear\target) ? Is that what you mean by working copy directory. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Failed maven-scm-plugin: Check in
On 11/27/06, Emmanuel Venisse [EMAIL PROTECTED] wrote: A working copy directory is the directory where you done the checkout. For CVS, it must contains a CVS directory. Emmanuel Thanks.Seems sorted now. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven-scm-plugin: Check in
I've got a requirement to use maven to check in a war file into some CVS repository.I know the maven-scm-plugin has a 'checkin' goal , but I'm not sure how its used.May someone show me an example of how I can use the 'checkin' goal to put a war file into a CVS repository. Thanx -- Jeff Mutonho Cape Town South Africa GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven-scm-plugin: Check in
since scm:checkin doc is available, could you give it a try ? On 11/23/06, Jeff Mutonho [EMAIL PROTECTED] wrote: I've got a requirement to use maven to check in a war file into some CVS repository.I know the maven-scm-plugin has a 'checkin' goal , but I'm not sure how its used.May someone show me an example of how I can use the 'checkin' goal to put a war file into a CVS repository. Thanx -- Jeff Mutonho Cape Town South Africa GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]