You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2005/09/26 17:54:12 UTC

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

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


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


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

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPSCM-67?page=all ]
     
Lukas Theussl closed MPSCM-67:
------------------------------

     Resolution: Fixed
    Fix Version: 1.6

Patch applied. Thanks!

> 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
>      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


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

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPSCM-67?page=all ]

Dennis Lundberg updated MPSCM-67:
---------------------------------

    Attachment: MPSCM-67.patch

> 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
>  Attachments: 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


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

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ 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


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

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPSCM-67?page=all ]

Dennis Lundberg updated MPSCM-67:
---------------------------------

    Attachment: MPSCM-67-2.patch

> 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
>  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


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

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPSCM-67?page=comments#action_58164 ] 

Lukas Theussl commented on MPSCM-67:
------------------------------------

Dennis,
I think with the fix for MPSCM-77 you should have a workaround for your problem (it allows you to remove the backup files by hand before committing and tagging). I'd like to release scm-plugin-1.6, so I will schedule this issue for a later release, is that ok?

> 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


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

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPSCM-67?page=comments#action_57265 ] 

Dennis Lundberg commented on MPSCM-67:
--------------------------------------

So it would seem that the problem that I experienced is only a problem with CVS. And also that other scm providers does not work in the same way. I will try to make a new patch that takes this into consideration.

> 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


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

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPSCM-67?page=all ]

Lukas Theussl updated MPSCM-67:
-------------------------------

    Fix Version:     (was: 1.6)

I'd like to release this week.

> 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
>  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


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

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPSCM-67?page=comments#action_58450 ] 

Dennis Lundberg commented on MPSCM-67:
--------------------------------------

I'm OK with moving this issue to a later release, after all I have not provided a patch that work yet :-) Need to set up a proper testing environment for this.

Hopefully I can find some time soon to try the fix for MPSCM-77. Do you have an ETA in mind for 1.6?

> 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