You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Brent N Atkinson (JIRA)" <ji...@codehaus.org> on 2010/12/01 22:07:03 UTC

[jira] Created: (CONTINUUM-2591) Git based maven2 builds can't properly release or checkout on branch

Git based maven2 builds can't properly release or checkout on branch
--------------------------------------------------------------------

                 Key: CONTINUUM-2591
                 URL: http://jira.codehaus.org/browse/CONTINUUM-2591
             Project: Continuum
          Issue Type: Bug
          Components: Release
    Affects Versions: 1.3.6
            Reporter: Brent N Atkinson
            Priority: Critical


It is not possible to add or release a maven2 project using the git scm when the project is on a branch. There appears to be multiple reasons for this:

* The maven-scm version bundled with continuum is old and doesn't include git providers with sufficiently complete git support.
* Git SCM URLs don't include sufficient information to identify the branch.
* Continuum-release's UpdateWorkingCopyPhase doesn't properly update the working (it always uses master rather than the current branch)

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

        

[jira] Closed: (CONTINUUM-2591) Git based maven2 builds can't properly release or checkout on branch

Posted by "Brent N Atkinson (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brent N Atkinson closed CONTINUUM-2591.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.1 (Beta)

> Git based maven2 builds can't properly release or checkout on branch
> --------------------------------------------------------------------
>
>                 Key: CONTINUUM-2591
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2591
>             Project: Continuum
>          Issue Type: Bug
>          Components: Release
>    Affects Versions: 1.3.6
>            Reporter: Brent N Atkinson
>            Priority: Critical
>             Fix For: 1.4.1 (Beta)
>
>         Attachments: CONTINUUM-2591-trunk-2.patch, CONTINUUM-2591-trunk.patch, CONTINUUM-2591.patch
>
>
> It is not possible to add or release a maven2 project using the git scm when the project is on a branch. There appears to be multiple reasons for this:
> * The maven-scm version bundled with continuum is old and doesn't include git providers with sufficiently complete git support.
> * Git SCM URLs don't include sufficient information to identify the branch.
> * Continuum-release's UpdateWorkingCopyPhase doesn't properly update the working (it always uses master rather than the current branch)

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

        

[jira] Commented: (CONTINUUM-2591) Git based maven2 builds can't properly release or checkout on branch

Posted by "Brent N Atkinson (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=262957#action_262957 ] 

Brent N Atkinson commented on CONTINUUM-2591:
---------------------------------------------

I didn't only because there are still limitations with the git-scm that make this a little weird. For instance, the tag element in the scm configuration in the pom isn't updated it doesn't track things properly, but it does solve the release/checkout issue.

> Git based maven2 builds can't properly release or checkout on branch
> --------------------------------------------------------------------
>
>                 Key: CONTINUUM-2591
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2591
>             Project: Continuum
>          Issue Type: Bug
>          Components: Release
>    Affects Versions: 1.3.6
>            Reporter: Brent N Atkinson
>            Priority: Critical
>         Attachments: CONTINUUM-2591-trunk-2.patch, CONTINUUM-2591-trunk.patch, CONTINUUM-2591.patch
>
>
> It is not possible to add or release a maven2 project using the git scm when the project is on a branch. There appears to be multiple reasons for this:
> * The maven-scm version bundled with continuum is old and doesn't include git providers with sufficiently complete git support.
> * Git SCM URLs don't include sufficient information to identify the branch.
> * Continuum-release's UpdateWorkingCopyPhase doesn't properly update the working (it always uses master rather than the current branch)

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

        

[jira] Updated: (CONTINUUM-2591) Git based maven2 builds can't properly release or checkout on branch

Posted by "Brent N Atkinson (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brent N Atkinson updated CONTINUUM-2591:
----------------------------------------

    Attachment: CONTINUUM-2591-trunk-2.patch

Attached slightly modified patch that works on trunk.

> Git based maven2 builds can't properly release or checkout on branch
> --------------------------------------------------------------------
>
>                 Key: CONTINUUM-2591
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2591
>             Project: Continuum
>          Issue Type: Bug
>          Components: Release
>    Affects Versions: 1.3.6
>            Reporter: Brent N Atkinson
>            Priority: Critical
>         Attachments: CONTINUUM-2591-trunk-2.patch, CONTINUUM-2591-trunk.patch, CONTINUUM-2591.patch
>
>
> It is not possible to add or release a maven2 project using the git scm when the project is on a branch. There appears to be multiple reasons for this:
> * The maven-scm version bundled with continuum is old and doesn't include git providers with sufficiently complete git support.
> * Git SCM URLs don't include sufficient information to identify the branch.
> * Continuum-release's UpdateWorkingCopyPhase doesn't properly update the working (it always uses master rather than the current branch)

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

        

[jira] Commented: (CONTINUUM-2591) Git based maven2 builds can't properly release or checkout on branch

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=263053#action_263053 ] 

Brett Porter commented on CONTINUUM-2591:
-----------------------------------------

no objections here

> Git based maven2 builds can't properly release or checkout on branch
> --------------------------------------------------------------------
>
>                 Key: CONTINUUM-2591
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2591
>             Project: Continuum
>          Issue Type: Bug
>          Components: Release
>    Affects Versions: 1.3.6
>            Reporter: Brent N Atkinson
>            Priority: Critical
>         Attachments: CONTINUUM-2591-trunk-2.patch, CONTINUUM-2591-trunk.patch, CONTINUUM-2591.patch
>
>
> It is not possible to add or release a maven2 project using the git scm when the project is on a branch. There appears to be multiple reasons for this:
> * The maven-scm version bundled with continuum is old and doesn't include git providers with sufficiently complete git support.
> * Git SCM URLs don't include sufficient information to identify the branch.
> * Continuum-release's UpdateWorkingCopyPhase doesn't properly update the working (it always uses master rather than the current branch)

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

        

[jira] Commented: (CONTINUUM-2591) Git based maven2 builds can't properly release or checkout on branch

Posted by "Brent N Atkinson (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=263156#action_263156 ] 

Brent N Atkinson commented on CONTINUUM-2591:
---------------------------------------------

Committed in r1091054

> Git based maven2 builds can't properly release or checkout on branch
> --------------------------------------------------------------------
>
>                 Key: CONTINUUM-2591
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2591
>             Project: Continuum
>          Issue Type: Bug
>          Components: Release
>    Affects Versions: 1.3.6
>            Reporter: Brent N Atkinson
>            Priority: Critical
>         Attachments: CONTINUUM-2591-trunk-2.patch, CONTINUUM-2591-trunk.patch, CONTINUUM-2591.patch
>
>
> It is not possible to add or release a maven2 project using the git scm when the project is on a branch. There appears to be multiple reasons for this:
> * The maven-scm version bundled with continuum is old and doesn't include git providers with sufficiently complete git support.
> * Git SCM URLs don't include sufficient information to identify the branch.
> * Continuum-release's UpdateWorkingCopyPhase doesn't properly update the working (it always uses master rather than the current branch)

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

        

[jira] Commented: (CONTINUUM-2591) Git based maven2 builds can't properly release or checkout on branch

Posted by "Brent N Atkinson (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246094#action_246094 ] 

Brent N Atkinson commented on CONTINUUM-2591:
---------------------------------------------

Brett, my apologies. A portion of the issue was solved by updating the maven-scm providers to 1.4 (so it should be right in trunk too). However, updating the working copy during release still didn't work right. During the working copy update phase the maven-scm update() call isn't passed the proper ScmVersion for the current working copy. It always is called with null. The git scm provider assumes that means you want to pull changes from master rather than the working copy's active branch (which seems rather odd to me, but I stepped around it). It essentially does a merge of two (possibly unrelated) branches.

I should have made it more clear that the patch was only meant to illustrate the issue and is a crude workaround and not a complete fix. I fully expected that someone with more understanding of this process could improve it greatly. I based it on 1.3.6 because it is the non-beta release and it can get users around the problem. Next time, I'll submit a patch for trunk *and* the current non-beta release. Would that work?

  


> Git based maven2 builds can't properly release or checkout on branch
> --------------------------------------------------------------------
>
>                 Key: CONTINUUM-2591
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2591
>             Project: Continuum
>          Issue Type: Bug
>          Components: Release
>    Affects Versions: 1.3.6
>            Reporter: Brent N Atkinson
>            Priority: Critical
>         Attachments: CONTINUUM-2591-trunk.patch, CONTINUUM-2591.patch
>
>
> It is not possible to add or release a maven2 project using the git scm when the project is on a branch. There appears to be multiple reasons for this:
> * The maven-scm version bundled with continuum is old and doesn't include git providers with sufficiently complete git support.
> * Git SCM URLs don't include sufficient information to identify the branch.
> * Continuum-release's UpdateWorkingCopyPhase doesn't properly update the working (it always uses master rather than the current branch)

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

        

[jira] Updated: (CONTINUUM-2591) Git based maven2 builds can't properly release or checkout on branch

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated CONTINUUM-2591:
------------------------------------

    Attachment: CONTINUUM-2591-trunk.patch

here's a naive application of the patch to trunk. I haven't checked it works yet - it seemed odd to be changing the method signatures when trunk had approached it differently (I think by delegating some of the methods). It needs a closer look, but I ran out of time.

It's better to address patches to trunk - the 1.3.x releases should be small, and we're overdue to get a 1.4.1 out anyway...

> Git based maven2 builds can't properly release or checkout on branch
> --------------------------------------------------------------------
>
>                 Key: CONTINUUM-2591
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2591
>             Project: Continuum
>          Issue Type: Bug
>          Components: Release
>    Affects Versions: 1.3.6
>            Reporter: Brent N Atkinson
>            Priority: Critical
>         Attachments: CONTINUUM-2591-trunk.patch, CONTINUUM-2591.patch
>
>
> It is not possible to add or release a maven2 project using the git scm when the project is on a branch. There appears to be multiple reasons for this:
> * The maven-scm version bundled with continuum is old and doesn't include git providers with sufficiently complete git support.
> * Git SCM URLs don't include sufficient information to identify the branch.
> * Continuum-release's UpdateWorkingCopyPhase doesn't properly update the working (it always uses master rather than the current branch)

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

        

[jira] Commented: (CONTINUUM-2591) Git based maven2 builds can't properly release or checkout on branch

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246059#action_246059 ] 

Brett Porter commented on CONTINUUM-2591:
-----------------------------------------

the patch doesn't apply cleanly to trunk, mostly because it's already been updated to a newer maven-release version. I'm not sure I understand your second comment - are you saying that this is already right in maven-scm trunk?

> Git based maven2 builds can't properly release or checkout on branch
> --------------------------------------------------------------------
>
>                 Key: CONTINUUM-2591
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2591
>             Project: Continuum
>          Issue Type: Bug
>          Components: Release
>    Affects Versions: 1.3.6
>            Reporter: Brent N Atkinson
>            Priority: Critical
>         Attachments: CONTINUUM-2591.patch
>
>
> It is not possible to add or release a maven2 project using the git scm when the project is on a branch. There appears to be multiple reasons for this:
> * The maven-scm version bundled with continuum is old and doesn't include git providers with sufficiently complete git support.
> * Git SCM URLs don't include sufficient information to identify the branch.
> * Continuum-release's UpdateWorkingCopyPhase doesn't properly update the working (it always uses master rather than the current branch)

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

        

[jira] Commented: (CONTINUUM-2591) Git based maven2 builds can't properly release or checkout on branch

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=262912#action_262912 ] 

Brett Porter commented on CONTINUUM-2591:
-----------------------------------------

did you intend to apply this to trunk now?

> Git based maven2 builds can't properly release or checkout on branch
> --------------------------------------------------------------------
>
>                 Key: CONTINUUM-2591
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2591
>             Project: Continuum
>          Issue Type: Bug
>          Components: Release
>    Affects Versions: 1.3.6
>            Reporter: Brent N Atkinson
>            Priority: Critical
>         Attachments: CONTINUUM-2591-trunk-2.patch, CONTINUUM-2591-trunk.patch, CONTINUUM-2591.patch
>
>
> It is not possible to add or release a maven2 project using the git scm when the project is on a branch. There appears to be multiple reasons for this:
> * The maven-scm version bundled with continuum is old and doesn't include git providers with sufficiently complete git support.
> * Git SCM URLs don't include sufficient information to identify the branch.
> * Continuum-release's UpdateWorkingCopyPhase doesn't properly update the working (it always uses master rather than the current branch)

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

        

[jira] Updated: (CONTINUUM-2591) Git based maven2 builds can't properly release or checkout on branch

Posted by "Brent N Atkinson (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brent N Atkinson updated CONTINUUM-2591:
----------------------------------------

    Attachment: CONTINUUM-2591.patch

The attached patch illustrates a crude workaround for the issues prevent checkout and release from a branch.

> Git based maven2 builds can't properly release or checkout on branch
> --------------------------------------------------------------------
>
>                 Key: CONTINUUM-2591
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2591
>             Project: Continuum
>          Issue Type: Bug
>          Components: Release
>    Affects Versions: 1.3.6
>            Reporter: Brent N Atkinson
>            Priority: Critical
>         Attachments: CONTINUUM-2591.patch
>
>
> It is not possible to add or release a maven2 project using the git scm when the project is on a branch. There appears to be multiple reasons for this:
> * The maven-scm version bundled with continuum is old and doesn't include git providers with sufficiently complete git support.
> * Git SCM URLs don't include sufficient information to identify the branch.
> * Continuum-release's UpdateWorkingCopyPhase doesn't properly update the working (it always uses master rather than the current branch)

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

        

[jira] Commented: (CONTINUUM-2591) Git based maven2 builds can't properly release or checkout on branch

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=263007#action_263007 ] 

Brett Porter commented on CONTINUUM-2591:
-----------------------------------------

should we just drop it into the backlog for the time being?

> Git based maven2 builds can't properly release or checkout on branch
> --------------------------------------------------------------------
>
>                 Key: CONTINUUM-2591
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2591
>             Project: Continuum
>          Issue Type: Bug
>          Components: Release
>    Affects Versions: 1.3.6
>            Reporter: Brent N Atkinson
>            Priority: Critical
>         Attachments: CONTINUUM-2591-trunk-2.patch, CONTINUUM-2591-trunk.patch, CONTINUUM-2591.patch
>
>
> It is not possible to add or release a maven2 project using the git scm when the project is on a branch. There appears to be multiple reasons for this:
> * The maven-scm version bundled with continuum is old and doesn't include git providers with sufficiently complete git support.
> * Git SCM URLs don't include sufficient information to identify the branch.
> * Continuum-release's UpdateWorkingCopyPhase doesn't properly update the working (it always uses master rather than the current branch)

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

        

[jira] Commented: (CONTINUUM-2591) Git based maven2 builds can't properly release or checkout on branch

Posted by "Brent N Atkinson (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246000#action_246000 ] 

Brent N Atkinson commented on CONTINUUM-2591:
---------------------------------------------

Once the maven-scm git provider is updated, as long as the pom includes the proper 'tag' attribute in the scm metadata, continuum (actually maven-scm) can properly checkout the project and switch to the branch named in the 'tag' attribue.

> Git based maven2 builds can't properly release or checkout on branch
> --------------------------------------------------------------------
>
>                 Key: CONTINUUM-2591
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2591
>             Project: Continuum
>          Issue Type: Bug
>          Components: Release
>    Affects Versions: 1.3.6
>            Reporter: Brent N Atkinson
>            Priority: Critical
>         Attachments: CONTINUUM-2591.patch
>
>
> It is not possible to add or release a maven2 project using the git scm when the project is on a branch. There appears to be multiple reasons for this:
> * The maven-scm version bundled with continuum is old and doesn't include git providers with sufficiently complete git support.
> * Git SCM URLs don't include sufficient information to identify the branch.
> * Continuum-release's UpdateWorkingCopyPhase doesn't properly update the working (it always uses master rather than the current branch)

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

        

[jira] Commented: (CONTINUUM-2591) Git based maven2 builds can't properly release or checkout on branch

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246107#action_246107 ] 

Brett Porter commented on CONTINUUM-2591:
-----------------------------------------

yep, I understand. I actually think the technique is quite acceptable (we have special cases for other SCMs around too), perhaps best if a concurrent patch is submitted to SCM so that it can be cleaned up as soon as the next release of that happens.

As for patching trunk & branch - that's certainly helpful in getting it applied to both, with the priority being for trunk since it always has to land there anyway. In this case, because of the scope of the change (upgrading libraries / crude fix), I think it's better not to apply it to 1.3.x and instead focus on pushing for a non-beta 1.4 release soon :)

> Git based maven2 builds can't properly release or checkout on branch
> --------------------------------------------------------------------
>
>                 Key: CONTINUUM-2591
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2591
>             Project: Continuum
>          Issue Type: Bug
>          Components: Release
>    Affects Versions: 1.3.6
>            Reporter: Brent N Atkinson
>            Priority: Critical
>         Attachments: CONTINUUM-2591-trunk.patch, CONTINUUM-2591.patch
>
>
> It is not possible to add or release a maven2 project using the git scm when the project is on a branch. There appears to be multiple reasons for this:
> * The maven-scm version bundled with continuum is old and doesn't include git providers with sufficiently complete git support.
> * Git SCM URLs don't include sufficient information to identify the branch.
> * Continuum-release's UpdateWorkingCopyPhase doesn't properly update the working (it always uses master rather than the current branch)

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

        

[jira] Commented: (CONTINUUM-2591) Git based maven2 builds can't properly release or checkout on branch

Posted by "Brent N Atkinson (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=263029#action_263029 ] 

Brent N Atkinson commented on CONTINUUM-2591:
---------------------------------------------

It might be good to integrate it as it grants git users the ability to use continuum in a normal work flow. I can integrate into trunk as long as no one opposes. Barring that, backlog is ok.

> Git based maven2 builds can't properly release or checkout on branch
> --------------------------------------------------------------------
>
>                 Key: CONTINUUM-2591
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2591
>             Project: Continuum
>          Issue Type: Bug
>          Components: Release
>    Affects Versions: 1.3.6
>            Reporter: Brent N Atkinson
>            Priority: Critical
>         Attachments: CONTINUUM-2591-trunk-2.patch, CONTINUUM-2591-trunk.patch, CONTINUUM-2591.patch
>
>
> It is not possible to add or release a maven2 project using the git scm when the project is on a branch. There appears to be multiple reasons for this:
> * The maven-scm version bundled with continuum is old and doesn't include git providers with sufficiently complete git support.
> * Git SCM URLs don't include sufficient information to identify the branch.
> * Continuum-release's UpdateWorkingCopyPhase doesn't properly update the working (it always uses master rather than the current branch)

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