Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Incremental build and shared cache for Apache Maven #1

Open
wants to merge 1 commit into
base: MNG-7129/maven-3.6.3-base
Choose a base branch
from

Conversation

maximilian-novikov-db
Copy link

@maximilian-novikov-db maximilian-novikov-db commented Aug 12, 2021

!!! was merged to Apache Maven repo apache#526 !!!

To familiarize yourself with the feature we recommend to start with the provided doc: https://github.com/deutschebank/maven/blob/7d1b8c094f2145909978142a0faa4257a244dc22/Documentation/CACHE.md

An example of nginx config for remote cache:

worker_processes  4;

events {
    worker_connections  1024;
}


http {
    include       mime.types;
    default_type  application/octet-stream;

    sendfile        on;

    keepalive_timeout  65;

uht="$upstream_header_time" urt="$upstream_response_time"';

    server {
        listen       10080;
        server_name  localhost;

upstream_time;
        access_log   off;

        location / {
            root  <PATH_TO_CACHE_FOLDER>;
            autoindex on;
            client_max_body_size 1G;
            client_body_temp_path <PATH_TO_TEMP_CACHE_FOLDER>;
            dav_methods PUT DELETE MKCOL COPY MOVE;
            create_full_put_path  on;
            dav_access            group:rw  all:r;
        }
    }
}

…en-3.6.3 to MNG-7129/maven-3.6.3-incremental

Squashed commit of the following:

commit 21c620a34ddbbf84b3c44014b069a7b222cf91a7
Author: Maximilian Novikov <maximilian.novikov@db.com>
Date:   Tue Aug 10 19:41:41 2021 +0200

    Merge pull request apache#3 in ABFX/maven-forked from code-cleanup-2 to incremental-maven-3.6.3

    Squashed commit of the following:

    commit 3401739ec9eb957fb03887f6a3c24477c9c3327b
    Author: Alexander Ashitkin <alexander.ashitkin@db.com>
    Date:   Tue Aug 10 13:37:13 2021 -0400

        cleanup db specifics

    commit 5d32f00559951445ecaf7d5ec4d847541c10e7e9
    Author: Alexander Ashitkin <alexander.ashitkin@db.com>
    Date:   Tue Aug 10 11:05:28 2021 -0400

        cleanup db specifics

commit fcec28f82c0d447de64032c610b39fa75bb344b0
Merge: 6fd401af2 5b0dc1858
Author: Alexander Ashitkin <alexander.ashitkin@db.com>
Date:   Mon Aug 9 13:22:16 2021 +0100

    Pull request apache#9: Remote cache setup

    Merge in BND/maven-forked from feature/remote-cache-setup to incremental-maven-3.6.3

    * commit '5b0dc1858cf4ca499502f0741b2f3bf2ac55530c':
      remote cache setup - fail fast, baseline build, diff reporting, documentation.

commit 5b0dc1858cf4ca499502f0741b2f3bf2ac55530c
Author: Alexander Ashitkin <alexander.ashitkin@db.com>
Date:   Mon Mar 22 03:30:03 2021 +0100

    remote cache setup - fail fast, baseline build, diff reporting, documentation.

commit 6fd401af285692df568312ee66ee00edfe21f1cc
Author: Maximilian Novikov <maximilian.novikov@db.com>
Date:   Tue Apr 13 17:36:49 2021 +0100

    Pull request apache#8: Incremental Maven - added non-overrideable cache entries

    Merge in BND/maven-forked from non-overritable-build-info to incremental-maven-3.6.3

    Squashed commit of the following:

    commit 405bbef8a59cabc0b83e9a64717f65fbd6fb9e3d
    Author: maximilian.novikov@db.com <maximilian.novikov@db.com>
    Date:   Mon Apr 12 20:18:27 2021 +0200

        Incremental Maven - added non-overrideable cache entries - review fixes

    commit 197704672756e558fb3521e16859d0be324044b8
    Author: maximilian.novikov@db.com <maximilian.novikov@db.com>
    Date:   Fri Apr 9 11:35:48 2021 +0200

        Incremental Maven - added non-overrideable cache entries

commit 64c4b1f5cbdf920ad43560f34cc5be56d4557acf
Author: Alexander Ashitkin <alexander.ashitkin@db.com>
Date:   Tue Mar 9 04:10:20 2021 +0100

    injected version

commit 727e507ae2fd90dce7011f3f1c76eb4969577d5e
Author: maximilian.novikov@db.com <maximilian.novikov@db.com>
Date:   Wed Jan 13 16:17:25 2021 +0100

    Incremental Maven - Java 11 fix

commit b2f297566d5afcb0a285985cb5540685a28cafec
Author: maximilian.novikov@db.com <maximilian.novikov@db.com>
Date:   Tue Jan 12 14:10:08 2021 +0100

    Incremental Maven - initial commit
@maximilian-novikov-db maximilian-novikov-db changed the title Merge pull request #4 in ABFX/maven-forked from incremental-maven-3.6… Incremental build and shared cache for Apache Maven Aug 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant