You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/05/16 14:17:00 UTC

[jira] [Commented] (MBUILDCACHE-20) Allow configuring whether local or remote builds should be preferred

    [ https://issues.apache.org/jira/browse/MBUILDCACHE-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17537567#comment-17537567 ] 

Michael Osipov commented on MBUILDCACHE-20:
-------------------------------------------

Makes sense.

> Allow configuring whether local or remote builds should be preferred
> --------------------------------------------------------------------
>
>                 Key: MBUILDCACHE-20
>                 URL: https://issues.apache.org/jira/browse/MBUILDCACHE-20
>             Project: Maven Build Cache Extension
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>            Priority: Major
>
> Currently, a remote lookup is done first and if none succeeds, a lookup of a previous local build is done (for a given input checksum).  I don't really understand the benefit of this and I think it should be reversed, or at least made configurable.
> The code is at: https://github.com/apache/maven-build-cache-extension/blob/a3a44e72404228c536b5a8c21d2e67f0183452a1/src/main/java/org/apache/maven/buildcache/CacheControllerImpl.java#L169-L187



--
This message was sent by Atlassian Jira
(v8.20.7#820007)