Apache Maven Build Cache Extension

ASF Jira Apache License, Version 2.0, January 2004 Maven Central Jenkins Status Jenkins tests

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.

Building

The code currently relies on un-released modifications in the core Maven project. Two gitmodules are included in 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 directories:

mvn install -DskipTests -P versionlessMavenDist

This will build the custom distributions of Maven.

Then you can build the extension like a normal Maven project.

License

This code is under the Apache License, Version 2.0, January 2004.

See the NOTICE file for required notices and attributions.