That's what I get for looking at the trunk in svn ;) When I searched Jira for .cvsrc the most recent item I can up with was SCM-136. Not sure how I missed SCM-190. Thanks.
carlos -----Original Message----- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, May 19, 2006 8:50 AM To: Maven Users List Subject: Re: cvs-settings.xml In 1.0 beta-3, we have a bug on cvs-settings loading. we load it from ${user.dir}/.scm/ instead of ${user.home}/.scm http://jira.codehaus.org/browse/SCM-190 Emmanuel [EMAIL PROTECTED] a écrit : > Whoops . . . I was trying to force the CvsUtil class that reads the > settings file to throw a XmlPullParserException. However, even when I > had invalid XML the scm plugin just chugged along. > > The XML should read: > > <cvs-settings> > <useCvsrc>true</useCvsrc> > <traceCvsCommand>true</traceCvsCommand> > <compressionLevel>0</compressionLevel> > </cvs-settings> > > The results are the same: > > [EMAIL PROTECTED] > /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:[EMAIL PROTECTED]:/home/cvs -q > update -d > [INFO] Working directory: C:\development\workspace\usitc-common > [INFO] Executing: cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:/home/cvs -q log > [INFO] Working directory: C:\development\workspace\usitc-common > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 4 seconds > [INFO] Finished at: Fri May 19 08:42:47 EDT 2006 > [INFO] Final Memory: 4M/7M > [INFO] > ------------------------------------------------------------------------ > > Carlos > > -----Original Message----- > From: Dennis Lundberg [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 18, 2006 5:46 PM > To: Maven Users List > Subject: Re: cvs-settings.xml > > [EMAIL PROTECTED] wrote: > >>Dennis, >> >>Thanks for the quick reply. What about the .cvsrc file? >> >>Looking at jira - http://jira.codehaus.org/browse/SCM-136 - it seems >>that this was added in beta-3. > > > It sure looks that way. > > >>I double checked my repository and I am using v1.0-beta-3. >> >>Any guesses as to what I am doing wrong? > > > See below... > > >>Carlos >> >>-----Original Message----- >>From: Dennis Lundberg [mailto:[EMAIL PROTECTED] >>Sent: Thursday, May 18, 2006 4:31 PM >>To: Maven Users List >>Subject: Re: cvs-settings.xml >> >>[EMAIL PROTECTED] 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: >>> > > > Is this a typo in your email or does your file look like this (with > "asdf" added to the starting tag)? > > >>><cvs-settingsasdf> >>> <useCvsrc>true</useCvsrc> >>> <traceCvsCommand>true</traceCvsCommand> >>> <compressionLevel>0</compressionLevel> >>></cvs-settings> > > > <snip> > --------------------------------------------------------------------- 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]
