History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SCM-212
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Mike Perham
Reporter: Steve Smythe
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven SCM

scm:tag while using Perforce fails if label already exists

Created: 31/May/06 01:51 PM   Updated: 02/Dec/06 01:14 AM
Component/s: maven-scm-provider-perforce
Affects Version/s: None
Fix Version/s: 1.0-beta-4

Time Tracking:
Not Specified

File Attachments: 1. Text File log.txt (14 kb)

Environment: Perforce

Complexity: Intermediate


 Description  « Hide
scm:tag while using Perforce fails if label already exists.

C:\p4dev\users\ssmythe\maven2\test>mvn -Dtag=foo scm:tag
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'scm'.
[INFO] ----------------------------------------------------------------------------
[INFO] Building Test Maven2 Project
[INFO] task-segment: [scm:tag]
[INFO] ----------------------------------------------------------------------------
[INFO] [scm:tag]
[ERROR] Provider message:
[ERROR] Tag failed
[ERROR] Command output:
[ERROR] Label foo not changed.

[INFO] ----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ----------------------------------------------------------------------------
[INFO] Command failed.Tag failed
[INFO] ----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Wed May 31 11:08:10 PDT 2006
[INFO] Final Memory: 3M/7M
[INFO] ----------------------------------------------------------------------------

I've included a debug and error output log.

Is there a way to ignore this error? Like set some property -Dtag.error.ignore=true or something like that?



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Mike Perham - 02/Dec/06 01:14 AM
This was fixed some time ago but is waiting on a new release of the SCM subsystem as a whole.