This project provides a Build Cache Extension feature which calculates out-of-date modules in the build dependencies graph and improves build times by avoiding re-building unnecessary modules. Read cache guide for more details.
The code currently relies on un-released modifications in the core Maven project, available both for latest 3.x and for 4.0-alpha-x SNAPSHOTS: see MNG-7391.
Two gitmodules are included in maven
directory of this Git repository to allow building the needed Maven distributions and perform integration tests using those: run git submodule init && git submodule update
to prepare content.
In order to build those Maven distributions, you first need to launch once the build-maven.sh
script or the following command in the maven/maven3
and maven/maven4
(alpha) directories:
mvn install -DskipTests -P versionlessMavenDist
This will build the custom SNAPSHOT distributions of Maven 3 and 4-alpha.
Then you can build the extension like a normal Maven project.
This code is under the Apache License, Version 2.0, January 2004.
See the NOTICE
file for required notices and attributions.