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

[jira] Created: (MNG-1429) release.properties should be removed between (failed) release runs

release.properties should be removed between (failed) release runs
------------------------------------------------------------------

         Key: MNG-1429
         URL: http://jira.codehaus.org/browse/MNG-1429
     Project: Maven 2
        Type: Bug
  Components: maven-release-plugin  
    Versions: 2.0    
    Reporter: Jorg Heymans


I spent too much time trying to find out why maven wasn't accepting my scm urls :


1) enter invalid scm url in pom
2) run maven release:prepare, it fails - release.properties is created nevertheless
3) correct scm url in pom
4) rerun maven release:prepare - updated pom values are ignored.

the solution is to manually delete release.properties to force a reread of the pom. 

If you don't realize this file is being created , you're in for a long and frustrating search :-)


-- 
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-24) release.properties should be removed between (failed) release runs

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

Jason van Zyl updated MRELEASE-24:
----------------------------------

    Fix Version: 2.0-beta-5

> release.properties should be removed between (failed) release runs
> ------------------------------------------------------------------
>
>          Key: MRELEASE-24
>          URL: http://jira.codehaus.org/browse/MRELEASE-24
>      Project: Maven 2.x Release Plugin
>         Type: Bug

>     Reporter: Jorg Heymans
>      Fix For: 2.0-beta-5

>
>
> I spent too much time trying to find out why maven wasn't accepting my scm urls :
> 1) enter invalid scm url in pom
> 2) run maven release:prepare, it fails - release.properties is created nevertheless
> 3) correct scm url in pom
> 4) rerun maven release:prepare - updated pom values are ignored.
> the solution is to manually delete release.properties to force a reread of the pom. 
> If you don't realize this file is being created , you're in for a long and frustrating search :-)

-- 
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-24) release.properties should be removed between (failed) release runs

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

    Resolution: Won't Fix

I'll add something to the documentation about the release.properties file. We want this file to stick around between failed runs so that you can see what parameters are actually being used. Seems like folks would like this file to stay around for debugging reasons. If you want to start fresh you have to manually delete this file.

> release.properties should be removed between (failed) release runs
> ------------------------------------------------------------------
>
>          Key: MRELEASE-24
>          URL: http://jira.codehaus.org/browse/MRELEASE-24
>      Project: Maven 2.x Release Plugin
>         Type: Bug

>     Reporter: Jorg Heymans
>     Assignee: Jason van Zyl
>      Fix For: 2.0-beta-5

>
>
> I spent too much time trying to find out why maven wasn't accepting my scm urls :
> 1) enter invalid scm url in pom
> 2) run maven release:prepare, it fails - release.properties is created nevertheless
> 3) correct scm url in pom
> 4) rerun maven release:prepare - updated pom values are ignored.
> the solution is to manually delete release.properties to force a reread of the pom. 
> If you don't realize this file is being created , you're in for a long and frustrating search :-)

-- 
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-1429) release.properties should be removed between (failed) release runs

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1429?page=comments#action_50707 ] 

John Casey commented on MNG-1429:
---------------------------------

this file is meant to skip duplicate SCM commits, IIRC. We should make the persistence of this file smarter, so it will only persist if a SCM commit took place.

Or, perhaps it's not even worth doing this?

> release.properties should be removed between (failed) release runs
> ------------------------------------------------------------------
>
>          Key: MNG-1429
>          URL: http://jira.codehaus.org/browse/MNG-1429
>      Project: Maven 2
>         Type: Bug
>   Components: maven-release-plugin
>     Versions: 2.0
>     Reporter: Jorg Heymans

>
>
> I spent too much time trying to find out why maven wasn't accepting my scm urls :
> 1) enter invalid scm url in pom
> 2) run maven release:prepare, it fails - release.properties is created nevertheless
> 3) correct scm url in pom
> 4) rerun maven release:prepare - updated pom values are ignored.
> the solution is to manually delete release.properties to force a reread of the pom. 
> If you don't realize this file is being created , you're in for a long and frustrating search :-)

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