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/04/24 08:10:00 UTC

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

Andrew Peter Marlow created MJARSIGNER-59:
---------------------------------------------

             Summary: 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


{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)