[ 
http://jira.codehaus.org/browse/MRELEASE-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=166679#action_166679
 ] 

Tuomas Kiviaho commented on MRELEASE-353:
-----------------------------------------

Provider seems to be responsible indeed (as the error log states). For me a 
simple cleanup of workspace recovered the problem in above sample. The plugin 
try to cleanup the workspace before preparation but it might not be always 
appropriate (unwanted side effects etc.). Provider API might also prevent the 
implementation.

> release:prepare failed after a refactoring
> ------------------------------------------
>
>                 Key: MRELEASE-353
>                 URL: http://jira.codehaus.org/browse/MRELEASE-353
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.0-beta-7
>         Environment: Windows XP Pro SP2, maven-2.0.9, svn-1.4.5, java-1.6.0_03
>            Reporter: Guillaume Boucherie
>
> The goal release:prepare failed if it is launched after a refactoring of a 
> project.
> By refactoring I mean change a package name or delete a directory.
> So after doing this kind of refactoring if you try do to a release:prepare 
> you got an error when the plugin try to create the tag in svn :
>     [INFO] Tagging release with the label maven-header-plugin-1.1...
>     [INFO] Executing: svn --non-interactive copy --file 
> C:\DOCUME~1\GUILLA~1.IDE\LOCALS~1\Temp\maven-scm-896035269.commit . 
> http://s-neptune/subversion2/sweetdev-forge/tags/maven-header-plugin-1.1
>     [INFO] Working directory: 
> E:\projects\sweetdev-forge\trunk\maven-plugins\maven-header-plugin
>     [INFO] 
> ------------------------------------------------------------------------
>     [ERROR] BUILD FAILURE
>     [INFO] 
> ------------------------------------------------------------------------
>     [INFO] Unable to tag SCM
>     Provider message:
>     The svn tag command failed.
>     Command output:
>     svn: Commit failed (details follow):
>     svn: Directory 
> 'E:\projects\sweetdev-forge\trunk\maven-plugins\maven-header-plugin\src\main\java\com\ideo\sweetdevria'
>  is missing
> I must create a fresh checkout of my project for the release:prepare goal to 
> work.

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

        

Reply via email to