You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/10/06 06:00:11 UTC

[jira] Created: (MNG-1105) remove release.properties after successful release:perform

remove release.properties after successful release:perform
----------------------------------------------------------

         Key: MNG-1105
         URL: http://jira.codehaus.org/browse/MNG-1105
     Project: Maven 2
        Type: Bug
  Components: maven-release-plugin  
 Reporter: Brett Porter
    Priority: Minor


can't do this until exit codes work on windows though as it reports success even on failure

-- 
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: (MNG-1105) remove release.properties after successful release:perform

Posted by "Trent Rosenbaum (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1105?page=comments#action_50897 ] 

Trent Rosenbaum commented on MNG-1105:
--------------------------------------

I feel that the release.properties file should not be removed after the perform method has been run.  A message to explain this, (as suggested earlier) could be the default behaviour of the maven-release plugin and maybe a configuration element could be used to set it otherwise?  This is a good file to keep around in large companies because you may few people taking part in the release process.  This file allows others to quickly extract and deploy project deliverables to new locations.

> remove release.properties after successful release:perform
> ----------------------------------------------------------
>
>          Key: MNG-1105
>          URL: http://jira.codehaus.org/browse/MNG-1105
>      Project: Maven 2
>         Type: Bug
>   Components: maven-release-plugin
>     Reporter: Brett Porter
>     Priority: Minor

>
>
> can't do this until exit codes work on windows though as it reports success even on failure

-- 
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: (MRELEASE-20) remove release.properties after successful release:perform

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-20?page=comments#action_56727 ] 

Jason van Zyl commented on MRELEASE-20:
---------------------------------------

The release.properties will only be removed after the release:perform is successful. If at any point the process fails the release.properties will remain so you can see what went wrong.

> remove release.properties after successful release:perform
> ----------------------------------------------------------
>
>          Key: MRELEASE-20
>          URL: http://jira.codehaus.org/browse/MRELEASE-20
>      Project: Maven 2.x Release Plugin
>         Type: Bug

>     Reporter: Brett Porter
>     Assignee: Jason van Zyl
>     Priority: Minor
>      Fix For: 2.0-beta-5

>
>
> can't do this until exit codes work on windows though as it reports success even on failure

-- 
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: (MNG-1105) remove release.properties after successful release:perform

Posted by "Arik Kfir (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1105?page=comments#action_50899 ] 

Arik Kfir commented on MNG-1105:
--------------------------------

What about putting it in the 'target' dir?

Reason: I think this file is both temporary (used for the build only) AND useful. For instance, I couldn't figure out why my release fails until I glanced at the file and saw that it used the wrong svn username...this way, it is still temporary, but if it needs to be looked at after the release, the developer can still do so (provided that he/she knows that it is there - a message might be in place here).


> remove release.properties after successful release:perform
> ----------------------------------------------------------
>
>          Key: MNG-1105
>          URL: http://jira.codehaus.org/browse/MNG-1105
>      Project: Maven 2
>         Type: Bug
>   Components: maven-release-plugin
>     Reporter: Brett Porter
>     Priority: Minor

>
>
> can't do this until exit codes work on windows though as it reports success even on failure

-- 
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: (MNG-1105) remove release.properties after successful release:perform

Posted by "Arik Kfir (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1105?page=comments#action_48464 ] 

Arik Kfir commented on MNG-1105:
--------------------------------

Perhaps emit a message at the end for the user, along the lines of: "Release was successful - you may remove the 'release.properties' file if you wish, or keep it for reference."?

> remove release.properties after successful release:perform
> ----------------------------------------------------------
>
>          Key: MNG-1105
>          URL: http://jira.codehaus.org/browse/MNG-1105
>      Project: Maven 2
>         Type: Bug
>   Components: maven-release-plugin
>     Reporter: Brett Porter
>     Priority: Minor

>
>
> can't do this until exit codes work on windows though as it reports success even on failure

-- 
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: (MNG-1105) remove release.properties after successful release:perform

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1105?page=comments#action_50416 ] 

Dan Tran commented on MNG-1105:
-------------------------------

+1 not to remove

> remove release.properties after successful release:perform
> ----------------------------------------------------------
>
>          Key: MNG-1105
>          URL: http://jira.codehaus.org/browse/MNG-1105
>      Project: Maven 2
>         Type: Bug
>   Components: maven-release-plugin
>     Reporter: Brett Porter
>     Assignee: Allan Ramirez
>     Priority: Minor

>
>
> can't do this until exit codes work on windows though as it reports success even on failure

-- 
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: (MRELEASE-20) remove release.properties after successful release:perform

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRELEASE-20?page=all ]

Jason van Zyl updated MRELEASE-20:
----------------------------------

    Fix Version: 2.0-beta-5

> remove release.properties after successful release:perform
> ----------------------------------------------------------
>
>          Key: MRELEASE-20
>          URL: http://jira.codehaus.org/browse/MRELEASE-20
>      Project: Maven 2.x Release Plugin
>         Type: Bug

>     Reporter: Brett Porter
>     Priority: Minor
>      Fix For: 2.0-beta-5

>
>
> can't do this until exit codes work on windows though as it reports success even on failure

-- 
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: (MRELEASE-20) remove release.properties after successful release:perform

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRELEASE-20?page=all ]
     
Jason van Zyl closed MRELEASE-20:
---------------------------------

    Resolution: Fixed

Integration testing shows that the release.properties are removed at the end of a successful run. The change slipped in with the IT added.

> remove release.properties after successful release:perform
> ----------------------------------------------------------
>
>          Key: MRELEASE-20
>          URL: http://jira.codehaus.org/browse/MRELEASE-20
>      Project: Maven 2.x Release Plugin
>         Type: Bug

>     Reporter: Brett Porter
>     Assignee: Jason van Zyl
>     Priority: Minor
>      Fix For: 2.0-beta-5

>
>
> can't do this until exit codes work on windows though as it reports success even on failure

-- 
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: (MNG-1105) remove release.properties after successful release:perform

Posted by "Trent Rosenbaum (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1105?page=comments#action_50902 ] 

Trent Rosenbaum commented on MNG-1105:
--------------------------------------

Putting the release.properties file in the target directory makes complete sense.  This way the file has a life time that is inline with the checkout directory also created by the maven-release plugin.  If the developer wants to store the file in a new location then that is done before the mvn clean:clean is executed.  A message explaining this would be more appropriate.

> remove release.properties after successful release:perform
> ----------------------------------------------------------
>
>          Key: MNG-1105
>          URL: http://jira.codehaus.org/browse/MNG-1105
>      Project: Maven 2
>         Type: Bug
>   Components: maven-release-plugin
>     Reporter: Brett Porter
>     Priority: Minor

>
>
> can't do this until exit codes work on windows though as it reports success even on failure

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