Apache Maven Build Cache Extension

Clone this repo:

Branches

  1. b6d430d rename main entry point to BuildCacheMojosExecutionStrategy by Hervé Boutemy · 4 days ago master
  2. d41467f mark deploySite.sh executable by Hervé Boutemy · 5 days ago
  3. dcd782f [MBUILDCACHE-2] point to new branches implementing MNG-7391 by Hervé Boutemy · 5 days ago
  4. 205bff5 tidy up links and urls by Hervé Boutemy · 5 days ago
  5. 45fb0c0 fix few consistency issues introduced when aligning to build-cache name by Hervé Boutemy · 5 days ago

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.