Apache Maven Build Cache Extension

Clone this repo:
  1. 064a3d9 Declare API and Util next to SPI (#515) by Tamas Cservenak · 25 hours ago master
  2. a03ca53 Bump org.eclipse.sisu:org.eclipse.sisu.plexus from 1.0.1 to 1.1.0 (#516) by dependabot[bot] · 4 days ago
  3. 35629cc Update readme (#514) by Tamas Cservenak · 13 days ago
  4. 5ce1c85 Reverse Maven versions (#509) by Tamas Cservenak · 13 days ago
  5. 9bdd6c8 Bump apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml (#505) by dependabot[bot] · 13 days 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 3.9 (default)
mvn verify -Prun-its

# Maven 3.10
mvn verify -Prun-its,maven3.10

Maven 4 support is incoming (waits for 4.0.0-rc-6).

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 3.9 (default)
mvn verify -Prun-its-smoke

# Maven 3.10
mvn verify -Prun-its-smoke,maven3.10

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