This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-ear-plugin.git

commit de5a816f9d25573396efefaa7f592b7579cdbb73
Author: Gerd Aschemann <[email protected]>
AuthorDate: Fri Jun 12 15:07:59 2026 +0200

    Ignore checksums in IT settings.xml (workaround)
    
    The fixture m2snapshots ships maven-metadata.xml without
    .sha1/.md5 companions; Maven 4 / Resolver 2.0.13 raises
    ChecksumFailureException and the snapshot version cannot
    be resolved.
    
    Add <checksumPolicy>ignore</checksumPolicy> to all repo
    blocks. Matches the established Apache pattern (11 plugins
    verified). Deeper discussion raised on [email protected].
---
 src/it/settings.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/it/settings.xml b/src/it/settings.xml
index 04d4107..6716345 100644
--- a/src/it/settings.xml
+++ b/src/it/settings.xml
@@ -32,9 +32,11 @@ under the License.
           <url>@localRepositoryUrl@</url>
           <releases>
             <enabled>true</enabled>
+            <checksumPolicy>ignore</checksumPolicy>
           </releases>
           <snapshots>
             <enabled>true</enabled>
+            <checksumPolicy>ignore</checksumPolicy>
           </snapshots>
         </repository>
         <repository>
@@ -42,9 +44,11 @@ under the License.
           <url>file://@localSnapshotRepositoryPath@</url>
           <releases>
             <enabled>false</enabled>
+            <checksumPolicy>ignore</checksumPolicy>
           </releases>
           <snapshots>
             <enabled>true</enabled>
+            <checksumPolicy>ignore</checksumPolicy>
           </snapshots>
         </repository>
       </repositories>
@@ -54,9 +58,11 @@ under the License.
           <url>@localRepositoryUrl@</url>
           <releases>
             <enabled>true</enabled>
+            <checksumPolicy>ignore</checksumPolicy>
           </releases>
           <snapshots>
             <enabled>true</enabled>
+            <checksumPolicy>ignore</checksumPolicy>
           </snapshots>
         </pluginRepository>
       </pluginRepositories>

Reply via email to