Apache Maven Build Cache Extension

Clone this repo:
  1. 8b862ca Test-jar type dependencies fail to be resolved during checksum calculation with -f builds (#468) by Olivier Lamy · 12 days ago master
  2. 9973052 [Test Only] Comprehensive test coverage (#462) by Alex Ashitkin · 4 weeks ago
  3. df45256 documentation fixes and updates (#460) by Alex Ashitkin · 5 weeks ago
  4. 23be609 Bump resolverVersion from 1.9.26 to 1.9.27 (#459) by dependabot[bot] · 6 weeks ago
  5. e0dd51b Bump resolverVersion from 1.9.25 to 1.9.26 (#458) by dependabot[bot] · 7 weeks ago

Apache Maven Build Cache Extension

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.

Requires Maven 3.9+ (MNG-7391).

Running Integration Tests

Test coverage, Testing approach

Full test suite

# Maven 4 (default)
mvn verify -Prun-its

# Maven 3
mvn verify -Prun-its,maven3

Smoke profile (quick developer check)

The run-its-smoke profile runs a focused subset of ~42 integration tests annotated with @Tag("smoke"). It covers the most critical cache behaviours plus at least one test per Maven project flavour (P01–P19) and per major cache trait (F1–F13). Typical runtime is significantly shorter than the full suite.

# Maven 4
mvn verify -Prun-its-smoke

# Maven 3
mvn verify -Prun-its-smoke,maven3

Tests are selected via the JUnit 5 tag smoke. To add a new test to the smoke profile, annotate its class with @Tag("smoke").

License

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

See the NOTICE file for required notices and attributions.

Apache Maven X Account Apache Maven Bluesky Account Apache Maven Mastodon Account