You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Boris Maras (JIRA)" <ji...@codehaus.org> on 2009/01/07 10:14:19 UTC

[jira] Commented: (MRELEASE-353) release:prepare failed after a refactoring

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

Boris Maras commented on MRELEASE-353:
--------------------------------------

I have exactly the same problem.
The missing directory is a d:\...\PRO\trunk\client
"client" is a module that used to exist in a previous version (2 months ago). It has been deleted since that moment, and 2 successfull releases have been made in between.
This module has, of course, been deleted in the master pom.xml (<modules> part)

We used Maven 2.0.8 and recently upgraded to Maven 2.0.9. We also use version 2.0-beta-7 of the plugin, and our svn client and server are also in version 1.4.5. We use sun jdk 1.6.0_10 under Windows XP Pro SP2

My temporary workaround has been to re-create this directory by hand (without declaring it in the master pom). But I'll need to delete it in the long term and I'm afraid I'll have the same problems for next release.

> 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