You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ca...@usitc.gov on 2006/05/18 22:18:21 UTC
cvs-settings.xml
Using maven v2.0.4 with JDK 1.5 on a windows XP machine.
I am new to Maven and have been trying to integrate it with a small
project at work that currently uses ant for build mgmt. However, I am
having a minor problem with the scm plugin. Based on the scm cvs
instructions at http://maven.apache.org/scm/cvs.html I set up a
cvs-settings file located at:
C:\Documents and Settings\carlos.fernandez\.scm\cvs-settings.xml
This file consists of:
<cvs-settingsasdf>
<useCvsrc>true</useCvsrc>
<traceCvsCommand>true</traceCvsCommand>
<compressionLevel>0</compressionLevel>
</cvs-settings>
when I run a scm command, the default compression level is used and none
of the settings in my .cvsrc file are used. BTW - when I use cvs
directly on the command line the settings in the .cvsrc file are
respected.
Just to double check, the system prop "user.home" returns C:\Documents
and Settings\carlos.fernandez
Any help would be appreciated.
I am sure it is something blatantly obvious that I am missing.
carlos
mvn output
carlos.fernandez@WXP-003519
/cygdrive/c/development/workspace/usitc-common
$ mvn scm:update
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'scm'.
[INFO]
------------------------------------------------------------------------
-
---
[INFO] Building Maven Quick Start Archetype
[INFO] task-segment: [scm:update] (aggregator-style)
[INFO]
------------------------------------------------------------------------
-
---
[INFO] [scm:update]
[INFO] Executing: cvs -z3 -f -d :pserver:carlos@webdev1:/home/cvs -q
update -d
[INFO] Working directory: C:\development\workspace\usitc-common
[INFO] Executing: cvs -z3 -f -d :pserver:carlos@webdev1:/home/cvs -q log
[INFO] Working directory: C:\development\workspace\usitc-common
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Thu May 18 15:37:30 EDT 2006
[INFO] Final Memory: 4M/8M
[INFO]
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: cvs-settings.xml
Posted by Dennis Lundberg <de...@apache.org>.
Carlos.Fernandez@usitc.gov wrote:
> Using maven v2.0.4 with JDK 1.5 on a windows XP machine.
>
> I am new to Maven and have been trying to integrate it with a small
> project at work that currently uses ant for build mgmt. However, I am
> having a minor problem with the scm plugin. Based on the scm cvs
> instructions at http://maven.apache.org/scm/cvs.html I set up a
> cvs-settings file located at:
>
> C:\Documents and Settings\carlos.fernandez\.scm\cvs-settings.xml
>
> This file consists of:
>
> <cvs-settingsasdf>
> <useCvsrc>true</useCvsrc>
> <traceCvsCommand>true</traceCvsCommand>
> <compressionLevel>0</compressionLevel>
> </cvs-settings>
>
> when I run a scm command, the default compression level is used and none
> of the settings in my .cvsrc file are used. BTW - when I use cvs
> directly on the command line the settings in the .cvsrc file are
> respected.
The compression level problem is known, and fixed. See
http://jira.codehaus.org/browse/SCM-191
> Just to double check, the system prop "user.home" returns C:\Documents
> and Settings\carlos.fernandez
>
> Any help would be appreciated.
>
> I am sure it is something blatantly obvious that I am missing.
>
> carlos
>
> mvn output
>
> carlos.fernandez@WXP-003519
> /cygdrive/c/development/workspace/usitc-common
> $ mvn scm:update
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'scm'.
> [INFO]
> ------------------------------------------------------------------------
> -
> ---
> [INFO] Building Maven Quick Start Archetype
> [INFO] task-segment: [scm:update] (aggregator-style)
> [INFO]
> ------------------------------------------------------------------------
> -
> ---
> [INFO] [scm:update]
> [INFO] Executing: cvs -z3 -f -d :pserver:carlos@webdev1:/home/cvs -q
> update -d
> [INFO] Working directory: C:\development\workspace\usitc-common
> [INFO] Executing: cvs -z3 -f -d :pserver:carlos@webdev1:/home/cvs -q log
> [INFO] Working directory: C:\development\workspace\usitc-common
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Thu May 18 15:37:30 EDT 2006
> [INFO] Final Memory: 4M/8M
> [INFO]
> ------------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org