You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2006/01/29 23:02:06 UTC

[jira] Reopened: (MPSCM-67) scm:prepare-release fails because project.xml has been locally modified

     [ http://jira.codehaus.org/browse/MPSCM-67?page=all ]
     
Lukas Theussl reopened MPSCM-67:
--------------------------------

     Assign To: Lukas Theussl

Dennis,
I have reverted your patch. When I tried a scm:prepare-release on a maven plugin, I got the following error:

org.apache.maven.scm.ScmException: This provider doesn't support tagging subsets of a directory

It works with your patch reverted.

> scm:prepare-release fails because project.xml has been locally modified
> -----------------------------------------------------------------------
>
>          Key: MPSCM-67
>          URL: http://jira.codehaus.org/browse/MPSCM-67
>      Project: maven-scm-plugin
>         Type: Bug

>     Versions: 1.5
>  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
>     Reporter: Dennis Lundberg
>     Assignee: Lukas Theussl
>      Fix For: 1.6
>  Attachments: MPSCM-67-2.patch, MPSCM-67.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org