You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andrew Peter Marlow (JIRA)" <ji...@apache.org> on 2019/06/10 07:17:00 UTC

[jira] [Commented] (MJARSIGNER-59) increase reliability when contacting timestamp service over unreliable network

    [ https://issues.apache.org/jira/browse/MJARSIGNER-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16859774#comment-16859774 ] 

Andrew Peter Marlow commented on MJARSIGNER-59:
-----------------------------------------------

The need to retry when signing jars is apparant in the eclipse plugin where the functionality has been added. See the documentation at [https://www.eclipse.org/cbi/sitedocs/eclipse-jarsigner-plugin/sign-mojo.html] where it talks about properties such as {{cbi.jarsigner.retryLimit}} and {{cbi.jarsigner.retryTimer. Thus, we can retry when using eclipse but not when using maven.}}

> increase reliability when contacting timestamp service over unreliable network
> ------------------------------------------------------------------------------
>
>                 Key: MJARSIGNER-59
>                 URL: https://issues.apache.org/jira/browse/MJARSIGNER-59
>             Project: Maven Jar Signer Plugin
>          Issue Type: Improvement
>    Affects Versions: 3.0.0
>            Reporter: Andrew Peter Marlow
>            Priority: Major
>
> {color:#000000}The signing plugin fails in the presence of an unreliable network. {color}
> {color:#000000}Could retries be added please? I am thinking of something like up to 3 {color:#000000}retries,{color}{color}
> {color:#000000}{color:#000000}sleeping for one second between.{color}{color}
>  
> {color:#000000}I have just started to use this plugin and this is a major issue. It {color}
> {color:#000000}makes my overnight builds fail more often than not. Prior to me making {color}
> {color:#000000}this change the project produced unsigned jars during the java build {color}
> {color:#000000}and later on via a python script added the signing. Once the {color}
> {color:#000000}unreliable network issue was identified the python script was changed, {color}
> {color:#000000}adding retries (the network issue will most likely never be fixed). {color}
> {color:#000000}These retries in the python script fixed the issue.{color}
> {color:#000000}Now I am using the maven plugin the issue is back.{color}
>  
> Some people might think that if this is happening in a wired corporate
> network then the network issue ought to be identified and resolved by the corporation.
> Well, maybe. But this issue could easily strike on networks that are
> inherently less reliable such as wifi and mobile.
> So I really think that the retries should be there to cater for that.
>  
> {color:#000000} {color}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)