Details
-
Type:
Bug
-
Status:
Reopened
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.5
-
Fix Version/s: None
-
Labels:None
-
Environment:Windows XP, Maven 1.0.2, Sun JDK 1.4.2_08, CVSNT 2.0.51 on localhost, maven-release-plugin-1.4.1
-
Number of attachments :
Description
This is weird. When I try to prepare a release using
maven scm:prepare-release
it complains that "project.xml has been locally modified".
Well, it's supposed to change that's the idea of running scm:prepare-release, right? Anyway, if I manually check in the modified project.xml and run the command again it succeeds.
Let me know if you need more information.
Here's the output I get:
------------------------------
G:\cvs\dennislundberg-codegeneration-HEAD>maven scm:prepare-release
__ __
| \/ | __ Apache_ ___ | |||||
| \/ | / ` \ V / -) ' \ ~ intelligent projects ~ | |||||
| _ | _,_ | _/___ | _ | _ | v. 1.0.2 |
|---|
build:start:
scm:find-connection:
[echo] Using connection: scm|cvs|pserver|dlg01@localhost|C:/Program/cvsnt/repositories|dennislundberg-codegeneration
scm:parse-connection:
[echo] Using SCM method: cvs
[echo] Using CVSROOT: :pserver:dlg01@localhost:C:/Program/cvsnt/repositories
[echo] Using module: dennislundberg-codegeneration
scm:check-deprecated-cvs-vars:
scm:prepare-release:
[echo] Verifying no modifications are present
[INFO] Executing: cvs -f -n -q update -d
[INFO] Working directory: G:\cvs\dennislundberg-codegeneration-HEAD
What is the new tag name?
RELEASE-2_8
What is the new version? [RELEASE-2_8]
2.8
[echo] Updating POM with version 2.8; tag RELEASE-2_8
[echo] Committing descriptors
[echo] Tagging source tree
[WARNING] Unknown status: '? '.
[WARNING] Unknown status: '? '.
Provider message:
The cvs tag command failed.
Command output:
cvs server: project.xml is locally modified
cvs [server aborted]: correct the above errors first!
BUILD FAILED
File...... C:\Documents and Settings\dlg01\.maven\cache\maven-scm-plugin-1.5\plugin.jelly
Element... scm:tag
Line...... 244
Column.... 189
Error!
Total time: 29 seconds
Finished at: Mon Sep 26 17:25:24 CEST 2005
The problem seems to be in maven-scm.