You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-dev@maven.apache.org by Guillaume Michel <gu...@nortel.com> on 2006/12/13 10:08:30 UTC

Issue using Maven SCM CVS 1.0 beta 4

Hi,

I encountered the following issue using 'scm:checkin' command.
The environment is Windows. SCM CVS provider version  is 1.0-beta-4.

The 'scm:checkin' is translated in a cvs command, displayed on standard
output which is the following:

[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-scm-plugin:1.0-beta-4:checkin' -->
[DEBUG]   (f) basedir = C:\myProjDIR
[DEBUG]   (f) connectionType = developerConnection
[DEBUG]   (s) connectionUrl =
scm:cvs:pserver:user@host:/localdisk/user_data/cvs/repository:PROJ_MODUL
E
[DEBUG]   (f) developerConnectionUrl =
scm:cvs:pserver:user@host:/localdisk/user_data/cvs/repository:PROJ_MODUL
E
[DEBUG]   (f) excludes = **/target/*
[DEBUG]   (f) includes = pom.xml,**/pom.xml
[DEBUG]   (f) message = commit modified POM
[DEBUG]   (f) password = ...
[DEBUG]   (f) settings = org.apache.maven.settings.Settings@1ff92f5
[DEBUG]   (f) username = user
[DEBUG]   (s) workingDirectory = C:\myProjDIR
[DEBUG] -- end configuration --
[INFO] [scm:checkin]

[INFO] Executing: cvs -z3 -f -t -d
:pserver:user@host:/localdisk/user_data/cvs/repository -q commit -R -F
D:\Profiles\gumichel\LOCALS~1\Temp\scm-commit-message51181.txt pom.xml 

I thought (perhaps here is the mistake) that -f added by Mojo standed
for '-f' commit: force commit event if file is unchanged.
This the behavior I expected.

If this is the case, '-f' option should be after 'commit' keyword. Befor
'commit' keyword it is another -f meaning.
It should be:

[INFO] Executing: cvs -z3 -t -d
:pserver:user@host:/localdisk/user_data/cvs/repository -q commit -R -F
D:\Profiles\gumichel\LOCALS~1\Temp\scm-commit-message51181.txt -f
pom.xml 



Is this a bug or a misunderstanding (from me) of scm:checkin behavior ?

Any answer will be appreciated.

Best regards.


Guillaume.