From 9fe7732702dfe3c19ac1d96095cccd7fc53412de Mon Sep 17 00:00:00 2001 From: Eric Bottard Date: Fri, 14 Nov 2025 16:51:32 +0100 Subject: [PATCH] Add Maven Build Cache plugin The build cache extension caches the results of maven goal executions and skips re-running them if the same inputs are detected again. This helps both local development (re run tests of affected modules only) and CI builds eventually (a subsequent commit will introduce sharing of the cache between CI runs) Signed-off-by: Eric Bottard --- .mvn/extensions.xml | 5 ++++ .mvn/maven-build-cache-config.xml | 34 +++++++++++++++++++++++++++ .mvn/wrapper/maven-wrapper.properties | 2 +- 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 .mvn/maven-build-cache-config.xml diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml index 31675c58918..10deec80508 100644 --- a/.mvn/extensions.xml +++ b/.mvn/extensions.xml @@ -21,4 +21,9 @@ maven-profiler 3.2 + + org.apache.maven.extensions + maven-build-cache-extension + 1.2.1 + \ No newline at end of file diff --git a/.mvn/maven-build-cache-config.xml b/.mvn/maven-build-cache-config.xml new file mode 100644 index 00000000000..c7fc52c7fdb --- /dev/null +++ b/.mvn/maven-build-cache-config.xml @@ -0,0 +1,34 @@ + + + + + + + src/ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index da1385eeb9b..744aa8a6cdb 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -13,5 +13,5 @@ # See the License for the specific language governing permissions and # limitations under the License. # -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.1/apache-maven-3.9.1-bin.zip wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar