This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/main by this push:
new 80a57b0e0f Ignore checksums on real-local-repository in
karaf-maven-plugin ITs (#3093)
80a57b0e0f is described below
commit 80a57b0e0f7c70895eb10171eccf57906961aa83
Author: Holger Friedrich <[email protected]>
AuthorDate: Fri Nov 13 11:14:56 2026 +0100
Ignore checksums on real-local-repository in karaf-maven-plugin ITs (#3093)
Maven 4.0.0-rc-7 rejects artifacts from the file:// local repo that
feeds the invoker ITs, because "mvn install" writes no checksum files.
All invoker ITs fail resolving karaf-bom. Set checksumPolicy=ignore
for that repository.
---
.../src/test/filtered-resources/settings.xml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git
a/tooling/karaf-maven-plugin/src/test/filtered-resources/settings.xml
b/tooling/karaf-maven-plugin/src/test/filtered-resources/settings.xml
index 4be67eaa11..7f6ac52717 100644
--- a/tooling/karaf-maven-plugin/src/test/filtered-resources/settings.xml
+++ b/tooling/karaf-maven-plugin/src/test/filtered-resources/settings.xml
@@ -29,12 +29,24 @@
<repository>
<id>real-local-repository</id>
<url>${session.localRepository.url}</url>
+ <releases>
+ <checksumPolicy>ignore</checksumPolicy>
+ </releases>
+ <snapshots>
+ <checksumPolicy>ignore</checksumPolicy>
+ </snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>real-local-repository</id>
<url>${session.localRepository.url}</url>
+ <releases>
+ <checksumPolicy>ignore</checksumPolicy>
+ </releases>
+ <snapshots>
+ <checksumPolicy>ignore</checksumPolicy>
+ </snapshots>
</pluginRepository>
</pluginRepositories>
</profile>