title: Failed to dispatch transfer event 'PUT PROGRESSED https://<>.d.codeartifact.<>.amazonaws.com/session-0.0.1.pom <> session\pom.xml'
body: <p>I am using maven 3.8.4 and trying to upload maven jar to aws codeartifact. Getting below error</p>
  <p>[DEBUG] Failed to dispatch transfer event 'PUT PROGRESSED <a href="https://wolken-artifact-256162449727.d.codeartifact.us-west-2.amazonaws.com/maven/maven-repo/com/wolken/session/0.0.1/session-0.0.1.pom" rel="nofollow noreferrer">https://wolken-artifact-256162449727.d.codeartifact.us-west-2.amazonaws.com/maven/maven-repo/com/wolken/session/0.0.1/session-0.0.1.pom</a> &lt;&gt; E:\Wolken\ESD\WolkenCare\Code\outbound-schedular\Checking\session\pom.xml' to org.apache.maven.cli.transfer.ConsoleMavenTransferListener
  java.lang.IllegalArgumentException: progressed file size cannot be greater than size: 4970 &gt; 2485
  at org.apache.commons.lang3.Validate.isTrue (Validate.java:158)
  at org.apache.maven.cli.transfer.AbstractMavenTransferListener$FileSizeFormat.formatProgress (AbstractMavenTransferListener.java:195)
  at org.apache.maven.cli.transfer.ConsoleMavenTransferListener.getStatus (ConsoleMavenTransferListener.java:117)
  at org.apache.maven.cli.transfer.ConsoleMavenTransferListener.transferProgressed (ConsoleMavenTransferListener.java:90)
  at org.eclipse.aether.internal.impl.SafeTransferListener.transferProgressed (SafeTransferListener.java:106)
  at org.eclipse.aether.connector.basic.TransferTransportListener.transportProgressed (TransferTransportListener.java:96)
  at org.eclipse.aether.transport.wagon.WagonTransferListener.transferProgress (WagonTransferListener.java:64)
  at org.apache.maven.wagon.events.TransferEventSupport.fireTransferProgress (TransferEventSupport.java:121)
  at org.apache.maven.wagon.AbstractWagon.fireTransferProgress (AbstractWagon.java:664)
  at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.access$200 (AbstractHttpClientWagon.java:119)
  at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon$WagonHttpEntity.writeTo (AbstractHttpClientWagon.java:236)
  at org.apache.maven.wagon.providers.http.httpclient.impl.DefaultBHttpClientConnection.sendRequestEntity (DefaultBHttpClientConnection.java:156)
  at org.apache.maven.wagon.providers.http.httpclient.impl.conn.CPoolProxy.sendRequestEntity (CPoolProxy.java:152)
  at org.apache.maven.wagon.providers.http.httpclient.protocol.HttpRequestExecutor.doSendRequest (HttpRequestExecutor.java:238)
  at org.apache.maven.wagon.providers.http.httpclient.protocol.HttpRequestExecutor.execute (HttpRequestExecutor.java:123)
  at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.MainClientExec.execute (MainClientExec.java:272)
  at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.ProtocolExec.execute (ProtocolExec.java:186)
  at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec.execute (RetryExec.java:89)
  at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RedirectExec.execute (RedirectExec.java:110)
  at org.apache.maven.wagon.providers.http.httpclient.impl.client.InternalHttpClient.doExecute (InternalHttpClient.java:185)
  at org.apache.maven.wagon.providers.http.httpclient.impl.client.CloseableHttpClient.execute (CloseableHttpClient.java:83)</p>
  <p>Referred this as well <a href="https://issues.apache.org/jira/browse/WAGON-591" rel="nofollow noreferrer">https://issues.apache.org/jira/browse/WAGON-591</a></p>