[ 
https://jira.codehaus.org/browse/MNG-5506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=339891#comment-339891
 ] 

Jason van Zyl commented on MNG-5506:
------------------------------------

So there are the command line parameters:

 -C,--strict-checksums                  Fail the build if checksums don't match
 -c,--lax-checksums                      Warn if checksums don't match

This is how you would catch it globally

And you can control the checksum policy in your POM by enumerating your 
repositories and controlling the policy with a property. But you cannot catch 
control them transitively without using the CLI parameter, or using a mirror 
pointing to a repository manager and controlling the policy there. So I believe 
 you have what you need to control the policy globally.
                
> Master override of checksumPolicy
> ---------------------------------
>
>                 Key: MNG-5506
>                 URL: https://jira.codehaus.org/browse/MNG-5506
>             Project: Maven 2 & 3
>          Issue Type: Sub-task
>            Reporter: Marcin Wisnicki
>
> There should be a property usable both from command line and pom to override 
> checksumPolicy for all repositories.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to