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>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-scm-plugin</artifactId>
       <version>1.0-SNAPSHOT</version>
       <configuration>
        <connectionUrl>scm:cvs:pserver:mutonj:[EMAIL 
PROTECTED]:/var/lib/cvsroot:pragmaticusEportal/dev/eportal-ear/</connectionUrl>
        <includes>"**/*.ear"</includes>
        <message>Ear file test commit</message>
       </configuration>
       <goals>
      <goal>checkin</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]

Reply via email to