[
http://jira.codehaus.org/browse/MNG-4458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=199378#action_199378
]
Michael K commented on MNG-4458:
--------------------------------
I set this in my settings.xml.
I found the possible options in the documentation, maybe it is not up to date.
http://maven.apache.org/settings.html#Repositories
>>I think ignore means to ignore any bad checksums (but it will still check
>>them).
But what is the difference between ignore and warn?
If i set to ignore I get only one message per checksum failure:
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'51403ddd3ac1d3b53b56521eece012fb83ca5de4'; remote =
'da07249a9cd7854dc00e8f16518736005986a72f' - RETRYING
If I set to warn I get two messages per checksum failure:
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'51403ddd3ac1d3b53b56521eece012fb83ca5de4'; remote =
'da07249a9cd7854dc00e8f16518736005986a72f' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'51403ddd3ac1d3b53b56521eece012fb83ca5de4'; remote =
'da07249a9cd7854dc00e8f16518736005986a72f' - IGNORING
In both cases the (first) log ends with RETRYING, thats curious for me.
By the way, is there a possibility to switch of checksum comparison entirely?
> checksumPolicy always gets ignored
> ----------------------------------
>
> Key: MNG-4458
> URL: http://jira.codehaus.org/browse/MNG-4458
> Project: Maven 2
> Issue Type: Bug
> Components: Settings
> Affects Versions: 2.2.1
> Reporter: Michael K
>
> I have many checksum errors on my builds. But the builds runs successfully.
> So I want to ignore the checksum errors to save time. But setting of
> checksumPolicy to ignore doesn't take any effect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira