# maven-build-cache-extension **Repository Path**: mirrors_apache/maven-build-cache-extension ## Basic Information - **Project Name**: maven-build-cache-extension - **Description**: Apache Maven Build Cache Extension - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-05 - **Last Updated**: 2026-04-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [Apache Maven Build Cache Extension](https://maven.apache.org/extensions/maven-build-cache-extension/) ================================== [![Apache License, Version 2.0, January 2004](https://img.shields.io/github/license/apache/maven.svg?label=License)][license] [![Maven Central](https://img.shields.io/maven-central/v/org.apache.maven.extensions/maven-build-cache-extension.svg?label=Maven%20Central)](https://search.maven.org/artifact/org.apache.maven.extensions/maven-build-cache-extension) [![Jenkins Status](https://img.shields.io/jenkins/s/https/ci-maven.apache.org/job/Maven/job/maven-box/job/maven-build-cache-extension/job/master.svg?)][build] [![Jenkins tests](https://img.shields.io/jenkins/t/https/ci-maven.apache.org/job/Maven/job/maven-box/job/maven-build-cache-extension/job/master.svg?)][test-results] 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](https://maven.apache.org/extensions/maven-build-cache-extension/index.html) for more details. Requires Maven 3.9+ ([MNG-7391](https://issues.apache.org/jira/browse/MNG-7391)). Running Integration Tests ------------------------- ### Test coverage, Testing approach * [Test plan](documentation/extension-features-test-plan.md) * [Test projects](documentation/maven-test-projects-universe.md) ### Full test suite ```shell # 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. ```shell # 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][license]. See the [`NOTICE`](./NOTICE) file for required notices and attributions. [home]: https://maven.apache.org/extensions/maven-build-cache-extension/ [license]: https://www.apache.org/licenses/LICENSE-2.0 [build]: https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-build-cache-extension/job/master/ [test-results]: https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven/job/maven-build-cache-extension/lastCompletedBuild/testReport/ [build-status]: https://img.shields.io/jenkins/s/https/ci-maven.apache.org/job/Maven/job/maven-box/job/maven-build-cache-extension/job/master.svg [build-tests]: https://img.shields.io/jenkins/t/https/ci-maven.apache.org/job/Maven/job/maven-box/job/maven-build-cache-extension/job/master.svg [Apache Maven X Account](https://x.com/ASFMavenProject) [Apache Maven Bluesky Account](https://bsky.app/profile/maven.apache.org) [Apache Maven Mastodon Account](https://mastodon.social/deck/@ASFMavenProject@fosstodon.org)