maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukas Theussl (JIRA)" <j...@codehaus.org>
Subject [jira] Moved: (MRELEASE-174) mvn release:prepare will not tag in subversion repository
Date Thu, 09 Nov 2006 08:19:31 GMT
     [ http://jira.codehaus.org/browse/MRELEASE-174?page=all ]

Lukas Theussl moved MPRELEASE-22 to MRELEASE-174:
-------------------------------------------------

    Workflow: Maven New  (was: jira)
         Key: MRELEASE-174  (was: MPRELEASE-22)
     Project: Maven 2.x Release Plugin  (was: maven-release-plugin)

> mvn release:prepare will not tag in subversion repository
> ---------------------------------------------------------
>
>                 Key: MRELEASE-174
>                 URL: http://jira.codehaus.org/browse/MRELEASE-174
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>         Environment: linux ubuntu 
>            Reporter: Andrew
>            Priority: Minor
>
> The release plugin won't tag a version in subversion after performing release:prepare
-DdryRun=true. 
> We are currently using a Subversion 1.4 client and repository server. 
> Steps to reproduce :-
> mvn release:prepare -DdryRun=true
> mvn release:prepare  (I assume should tag at this point)
> No tag is created in repository.
> If however the following :-  mvn release:prepare -Dresume=false is run  after the release:prepare
the tag will be created as expected.
> The output from the mvn release:prepare was interesting, it appears that the  release:prepare
-DdryRun=true has already performed the release preparation even though its a dry run.
> andrew@andrew-dev:~/development/persistence-r1$ mvn release:prepare
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'release'.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Persistence library
> [INFO]    task-segment: [release:prepare] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> [INFO] [release:prepare]
> [INFO] Release preparation already completed. You can now continue with release:perform,
or start again using the -Dresume=false flag
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Thu Nov 09 09:08:23 EST 2006
> [INFO] Final Memory: 5M/10M
> [INFO] ------------------------------------------------------------------------
> My guess is that the release:prepare -DdryRun=true
> shouldn't write  completedPhase=end-release to release.properties ?

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

        

Mime
View raw message