maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anatoly Kupriyanov (JIRA)" <j...@codehaus.org>
Subject [jira] (MRELEASE-777) release plugin shouldn't git clone if the SCM is git
Date Mon, 18 Feb 2013 21:24:13 GMT

    [ https://jira.codehaus.org/browse/MRELEASE-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=319936#comment-319936
] 

Anatoly Kupriyanov edited comment on MRELEASE-777 at 2/18/13 3:22 PM:
----------------------------------------------------------------------

It is unclear because I am not sure. :)

It would be fine if the plugin at least doesn't delete the target/checkout, but pulls changes
from the local repo ("localCheckout" parameter) and cleans it with "git clean". It will work
fast enough, updating only changed files, not the whole repository.

However, in most cases it is even unnecessary, e.g. CI server could build in the basedir.
So, it could be additional feature disabled by default, convenient for CIs.

BTW, why the release plugin doesn't run build "target/checkout" straight away?

                
      was (Author: kan.izh):
    It is unclear because I am not sure. :)

It would be fine if the plugin at least doesn't delete the target/checkout, but pulls changes
from the local repo ("localCheckout" parameter). It will work fast enough, updating only changed
files, not the whole repository.

However, in most cases it is even unnecessary, e.g. CI server could build in the basedir.
So, it could be additional feature disabled by default, convenient for CIs.

BTW, why the release plugin doesn't run build "target/checkout" straight away?

                  
> release plugin shouldn't git clone if the SCM is git
> ----------------------------------------------------
>
>                 Key: MRELEASE-777
>                 URL: https://jira.codehaus.org/browse/MRELEASE-777
>             Project: Maven 2.x Release Plugin
>          Issue Type: Improvement
>         Environment: Linux x86_64, maven 2.2.1
>            Reporter: Joel Orlina
>            Assignee: Mark Struberg
>
> See here for original issue:
> https://issues.sonatype.org/browse/MVNCENTRAL-202

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message