Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.4.0
-
None
Description
When a PUT request is redirected and the redirect is followed, the transfer is progressed resulting in two issues:
- On very progress event one sees:
[DEBUG] Failed to dispatch transfer event 'PUT PROGRESSED http://oss.sonatype.org/service/local/staging/deploy/maven2/myProject.pom <> /Users/haotianw/workplace/myProject/pom.xml' to org.apache.maven.cli.transfer.ConsoleMavenTransferListener java.lang.IllegalArgumentException: progressed file size cannot be greater than size: 6984 > 4936
- The total upload size displayed with Maven embedder is double in size of the resource being uploaded.
This is how it looks now:
[DEBUG] http-outgoing-0 >> PUT /bar/3.5-SNAPSHOT/foo.jar HTTP/1.1 [DEBUG] http-outgoing-0 >> Cache-control: no-cache [DEBUG] http-outgoing-0 >> Cache-store: no-store [DEBUG] http-outgoing-0 >> Pragma: no-cache [DEBUG] http-outgoing-0 >> User-Agent: Apache-Maven/3.7.0-SNAPSHOT (Java 1.8.0_232; Windows 10 10.0) [DEBUG] http-outgoing-0 >> Content-Length: 135824373 [DEBUG] http-outgoing-0 >> Host: localhost:8080 [DEBUG] http-outgoing-0 >> Connection: Keep-Alive [DEBUG] http-outgoing-0 >> Expect: 100-continue [DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate [DEBUG] http-outgoing-0 << HTTP/1.1 100 Progress (1): foo.jar (0.5/136 MB) Progress (1): foo.jar (1.0/136 MB) Progress (1): foo.jar (1.6/136 MB) Progress (1): foo.jar (2.1/136 MB) Progress (1): foo.jar (2.6/136 MB) Progress (1): foo.jar (3.1/136 MB) Progress (1): foo.jar (3.7/136 MB) Progress (1): foo.jar (4.2/136 MB) Progress (1): foo.jar (4.7/136 MB) Progress (1): foo.jar (5.2/136 MB) Progress (1): foo.jar (5.8/136 MB) Progress (1): foo.jar (6.3/136 MB) Progress (1): foo.jar (6.8/136 MB) Progress (1): foo.jar (7.3/136 MB) Progress (1): foo.jar (7.9/136 MB) Progress (1): foo.jar (8.4/136 MB) Progress (1): foo.jar (8.9/136 MB) Progress (1): foo.jar (9.4/136 MB) Progress (1): foo.jar (10.0/136 MB) Progress (1): foo.jar (10/136 MB) Progress (1): foo.jar (11/136 MB) Progress (1): foo.jar (12/136 MB) Progress (1): foo.jar (12/136 MB) Progress (1): foo.jar (13/136 MB) Progress (1): foo.jar (13/136 MB) Progress (1): foo.jar (14/136 MB) Progress (1): foo.jar (14/136 MB) Progress (1): foo.jar (15/136 MB) Progress (1): foo.jar (15/136 MB) Progress (1): foo.jar (16/136 MB) Progress (1): foo.jar (16/136 MB) Progress (1): foo.jar (17/136 MB) Progress (1): foo.jar (17/136 MB) Progress (1): foo.jar (18/136 MB) Progress (1): foo.jar (18/136 MB) Progress (1): foo.jar (19/136 MB) Progress (1): foo.jar (19/136 MB) Progress (1): foo.jar (20/136 MB) Progress (1): foo.jar (20/136 MB) Progress (1): foo.jar (21/136 MB) Progress (1): foo.jar (21/136 MB) Progress (1): foo.jar (22/136 MB) Progress (1): foo.jar (23/136 MB) Progress (1): foo.jar (23/136 MB) Progress (1): foo.jar (24/136 MB) Progress (1): foo.jar (24/136 MB) Progress (1): foo.jar (25/136 MB) Progress (1): foo.jar (25/136 MB) Progress (1): foo.jar (26/136 MB) Progress (1): foo.jar (26/136 MB) Progress (1): foo.jar (27/136 MB) Progress (1): foo.jar (27/136 MB) Progress (1): foo.jar (28/136 MB) Progress (1): foo.jar (28/136 MB) Progress (1): foo.jar (29/136 MB) Progress (1): foo.jar (29/136 MB) Progress (1): foo.jar (30/136 MB) Progress (1): foo.jar (30/136 MB) Progress (1): foo.jar (31/136 MB) Progress (1): foo.jar (31/136 MB) Progress (1): foo.jar (32/136 MB) Progress (1): foo.jar (33/136 MB) Progress (1): foo.jar (33/136 MB) Progress (1): foo.jar (34/136 MB) Progress (1): foo.jar (34/136 MB) Progress (1): foo.jar (35/136 MB) Progress (1): foo.jar (35/136 MB) Progress (1): foo.jar (36/136 MB) Progress (1): foo.jar (36/136 MB) Progress (1): foo.jar (37/136 MB) Progress (1): foo.jar (37/136 MB) Progress (1): foo.jar (38/136 MB) Progress (1): foo.jar (38/136 MB) Progress (1): foo.jar (39/136 MB) Progress (1): foo.jar (39/136 MB) Progress (1): foo.jar (40/136 MB) Progress (1): foo.jar (40/136 MB) Progress (1): foo.jar (41/136 MB) Progress (1): foo.jar (41/136 MB) Progress (1): foo.jar (42/136 MB) Progress (1): foo.jar (42/136 MB) Progress (1): foo.jar (43/136 MB) Progress (1): foo.jar (44/136 MB) Progress (1): foo.jar (44/136 MB) Progress (1): foo.jar (45/136 MB) Progress (1): foo.jar (45/136 MB) Progress (1): foo.jar (46/136 MB) Progress (1): foo.jar (46/136 MB) Progress (1): foo.jar (47/136 MB) Progress (1): foo.jar (47/136 MB) Progress (1): foo.jar (48/136 MB) Progress (1): foo.jar (48/136 MB) Progress (1): foo.jar (49/136 MB) Progress (1): foo.jar (49/136 MB) Progress (1): foo.jar (50/136 MB) Progress (1): foo.jar (50/136 MB) Progress (1): foo.jar (51/136 MB) Progress (1): foo.jar (51/136 MB) Progress (1): foo.jar (52/136 MB) Progress (1): foo.jar (52/136 MB) Progress (1): foo.jar (53/136 MB) Progress (1): foo.jar (53/136 MB) Progress (1): foo.jar (54/136 MB) Progress (1): foo.jar (55/136 MB) Progress (1): foo.jar (55/136 MB) Progress (1): foo.jar (56/136 MB) Progress (1): foo.jar (56/136 MB) Progress (1): foo.jar (57/136 MB) Progress (1): foo.jar (57/136 MB) Progress (1): foo.jar (58/136 MB) Progress (1): foo.jar (58/136 MB) Progress (1): foo.jar (59/136 MB) Progress (1): foo.jar (59/136 MB) Progress (1): foo.jar (60/136 MB) Progress (1): foo.jar (60/136 MB) Progress (1): foo.jar (61/136 MB) Progress (1): foo.jar (61/136 MB) Progress (1): foo.jar (62/136 MB) Progress (1): foo.jar (62/136 MB) Progress (1): foo.jar (63/136 MB) Progress (1): foo.jar (63/136 MB) Progress (1): foo.jar (64/136 MB) Progress (1): foo.jar (64/136 MB) Progress (1): foo.jar (65/136 MB) Progress (1): foo.jar (66/136 MB) Progress (1): foo.jar (66/136 MB) Progress (1): foo.jar (67/136 MB) Progress (1): foo.jar (67/136 MB) Progress (1): foo.jar (68/136 MB) Progress (1): foo.jar (68/136 MB) Progress (1): foo.jar (69/136 MB) Progress (1): foo.jar (69/136 MB) Progress (1): foo.jar (70/136 MB) Progress (1): foo.jar (70/136 MB) Progress (1): foo.jar (71/136 MB) Progress (1): foo.jar (71/136 MB) Progress (1): foo.jar (72/136 MB) Progress (1): foo.jar (72/136 MB) Progress (1): foo.jar (73/136 MB) Progress (1): foo.jar (73/136 MB) Progress (1): foo.jar (74/136 MB) Progress (1): foo.jar (74/136 MB) Progress (1): foo.jar (75/136 MB) Progress (1): foo.jar (75/136 MB) Progress (1): foo.jar (76/136 MB) Progress (1): foo.jar (77/136 MB) Progress (1): foo.jar (77/136 MB) Progress (1): foo.jar (78/136 MB) Progress (1): foo.jar (78/136 MB) Progress (1): foo.jar (79/136 MB) Progress (1): foo.jar (79/136 MB) Progress (1): foo.jar (80/136 MB) Progress (1): foo.jar (80/136 MB) Progress (1): foo.jar (81/136 MB) Progress (1): foo.jar (81/136 MB) Progress (1): foo.jar (82/136 MB) Progress (1): foo.jar (82/136 MB) Progress (1): foo.jar (83/136 MB) Progress (1): foo.jar (83/136 MB) Progress (1): foo.jar (84/136 MB) Progress (1): foo.jar (84/136 MB) Progress (1): foo.jar (85/136 MB) Progress (1): foo.jar (85/136 MB) Progress (1): foo.jar (86/136 MB) Progress (1): foo.jar (87/136 MB) Progress (1): foo.jar (87/136 MB) Progress (1): foo.jar (88/136 MB) Progress (1): foo.jar (88/136 MB) Progress (1): foo.jar (89/136 MB) Progress (1): foo.jar (89/136 MB) Progress (1): foo.jar (90/136 MB) Progress (1): foo.jar (90/136 MB) Progress (1): foo.jar (91/136 MB) Progress (1): foo.jar (91/136 MB) Progress (1): foo.jar (92/136 MB) Progress (1): foo.jar (92/136 MB) Progress (1): foo.jar (93/136 MB) Progress (1): foo.jar (93/136 MB) Progress (1): foo.jar (94/136 MB) Progress (1): foo.jar (94/136 MB) Progress (1): foo.jar (95/136 MB) Progress (1): foo.jar (95/136 MB) Progress (1): foo.jar (96/136 MB) Progress (1): foo.jar (96/136 MB) Progress (1): foo.jar (97/136 MB) Progress (1): foo.jar (98/136 MB) Progress (1): foo.jar (98/136 MB) Progress (1): foo.jar (99/136 MB) Progress (1): foo.jar (99/136 MB) Progress (1): foo.jar (100/136 MB) Progress (1): foo.jar (100/136 MB) Progress (1): foo.jar (101/136 MB) Progress (1): foo.jar (101/136 MB) Progress (1): foo.jar (102/136 MB) Progress (1): foo.jar (102/136 MB) Progress (1): foo.jar (103/136 MB) Progress (1): foo.jar (103/136 MB) Progress (1): foo.jar (104/136 MB) Progress (1): foo.jar (104/136 MB) Progress (1): foo.jar (105/136 MB) Progress (1): foo.jar (105/136 MB) Progress (1): foo.jar (106/136 MB) Progress (1): foo.jar (106/136 MB) Progress (1): foo.jar (107/136 MB) Progress (1): foo.jar (107/136 MB) Progress (1): foo.jar (108/136 MB) Progress (1): foo.jar (109/136 MB) Progress (1): foo.jar (109/136 MB) Progress (1): foo.jar (110/136 MB) Progress (1): foo.jar (110/136 MB) Progress (1): foo.jar (111/136 MB) Progress (1): foo.jar (111/136 MB) Progress (1): foo.jar (112/136 MB) Progress (1): foo.jar (112/136 MB) Progress (1): foo.jar (113/136 MB) Progress (1): foo.jar (113/136 MB) Progress (1): foo.jar (114/136 MB) Progress (1): foo.jar (114/136 MB) Progress (1): foo.jar (115/136 MB) Progress (1): foo.jar (115/136 MB) Progress (1): foo.jar (116/136 MB) Progress (1): foo.jar (116/136 MB) Progress (1): foo.jar (117/136 MB) Progress (1): foo.jar (117/136 MB) Progress (1): foo.jar (118/136 MB) Progress (1): foo.jar (118/136 MB) Progress (1): foo.jar (119/136 MB) Progress (1): foo.jar (120/136 MB) Progress (1): foo.jar (120/136 MB) Progress (1): foo.jar (121/136 MB) Progress (1): foo.jar (121/136 MB) Progress (1): foo.jar (122/136 MB) Progress (1): foo.jar (122/136 MB) Progress (1): foo.jar (123/136 MB) Progress (1): foo.jar (123/136 MB) Progress (1): foo.jar (124/136 MB) Progress (1): foo.jar (124/136 MB) Progress (1): foo.jar (125/136 MB) Progress (1): foo.jar (125/136 MB) Progress (1): foo.jar (126/136 MB) Progress (1): foo.jar (126/136 MB) Progress (1): foo.jar (127/136 MB) Progress (1): foo.jar (127/136 MB) Progress (1): foo.jar (128/136 MB) Progress (1): foo.jar (128/136 MB) Progress (1): foo.jar (129/136 MB) Progress (1): foo.jar (129/136 MB) Progress (1): foo.jar (130/136 MB) Progress (1): foo.jar (131/136 MB) Progress (1): foo.jar (131/136 MB) Progress (1): foo.jar (132/136 MB) Progress (1): foo.jar (132/136 MB) Progress (1): foo.jar (133/136 MB) Progress (1): foo.jar (133/136 MB) Progress (1): foo.jar (134/136 MB) Progress (1): foo.jar (134/136 MB) Progress (1): foo.jar (135/136 MB) Progress (1): foo.jar (135/136 MB) Progress (1): foo.jar (136/136 MB) Progress (1): foo.jar (136 MB) [DEBUG] http-outgoing-0 << HTTP/1.1 307 [DEBUG] http-outgoing-0 << Location: http://127.0.0.1:8888/bar/redirected/3.5-SNAPSHOT/foo.jar [DEBUG] http-outgoing-0 << Content-Length: 0 [DEBUG] http-outgoing-0 << Date: Sat, 02 May 2020 00:54:54 GMT [DEBUG] http-outgoing-0 << Connection: close [DEBUG] http-outgoing-0: Close connection [DEBUG] Connection discarded [DEBUG] Connection released: [id: 0][route: {}->http://localhost:8080][total available: 1; route allocated: 0 of 20; total allocated: 1 of 40] [DEBUG] Redirect requested to location 'http://127.0.0.1:8888/bar/redirected/3.5-SNAPSHOT/foo.jar' [DEBUG] Resetting target auth state [DEBUG] Redirecting to 'http://127.0.0.1:8888/bar/redirected/3.5-SNAPSHOT/foo.jar' via {}->http://127.0.0.1:8888 [DEBUG] CookieSpec selected: compatibility [DEBUG] Connection request: [route: {}->http://127.0.0.1:8888][total available: 1; route allocated: 1 of 20; total allocated: 1 of 40] [DEBUG] Connection leased: [id: 1][route: {}->http://127.0.0.1:8888][total available: 0; route allocated: 1 of 20; total allocated: 1 of 40] [DEBUG] http-outgoing-1: set socket timeout to 0 [DEBUG] http-outgoing-1: set socket timeout to 1800000 [DEBUG] Executing request PUT /bar/redirected/3.5-SNAPSHOT/foo.jar HTTP/1.1 [DEBUG] Target auth state: UNCHALLENGED [DEBUG] Proxy auth state: UNCHALLENGED [DEBUG] http-outgoing-1 >> PUT /bar/redirected/3.5-SNAPSHOT/foo.jar HTTP/1.1 [DEBUG] http-outgoing-1 >> Cache-control: no-cache [DEBUG] http-outgoing-1 >> Cache-store: no-store [DEBUG] http-outgoing-1 >> Pragma: no-cache [DEBUG] http-outgoing-1 >> User-Agent: Apache-Maven/3.7.0-SNAPSHOT (Java 1.8.0_232; Windows 10 10.0) [DEBUG] http-outgoing-1 >> Content-Length: 135824373 [DEBUG] http-outgoing-1 >> Host: 127.0.0.1:8888 [DEBUG] http-outgoing-1 >> Connection: Keep-Alive [DEBUG] http-outgoing-1 >> Expect: 100-continue [DEBUG] http-outgoing-1 >> Accept-Encoding: gzip,deflate [DEBUG] http-outgoing-1 << HTTP/1.1 100 [DEBUG] Failed to dispatch transfer event 'PUT PROGRESSED http://localhost:8080/bar/3.5-SNAPSHOT/foo.jar <> foo.jar' to org.apache.maven.cli.transfer.ConsoleMavenTransferListener java.lang.IllegalArgumentException: progressed file size cannot be greater than size: 136348661 > 135824373 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:662) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.access$200 (AbstractHttpClientWagon.java:118) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon$WagonHttpEntity.writeTo (AbstractHttpClientWagon.java:220) 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) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.execute (AbstractHttpClientWagon.java:991) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:780) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:737) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:709) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:703) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:683) at org.eclipse.aether.transport.wagon.WagonTransporter$PutTaskRunner.run (WagonTransporter.java:686) at org.eclipse.aether.transport.wagon.WagonTransporter.execute (WagonTransporter.java:435) at org.eclipse.aether.transport.wagon.WagonTransporter.put (WagonTransporter.java:418) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$PutTaskRunner.runTask (BasicRepositoryConnector.java:556) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run (BasicRepositoryConnector.java:364) at org.eclipse.aether.connector.basic.BasicRepositoryConnector.put (BasicRepositoryConnector.java:288) at org.eclipse.aether.internal.impl.DefaultDeployer.deploy (DefaultDeployer.java:295) at org.eclipse.aether.internal.impl.DefaultDeployer.deploy (DefaultDeployer.java:213) at org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy (DefaultRepositorySystem.java:386) at org.apache.maven.shared.transfer.artifact.deploy.internal.Maven31ArtifactDeployer.deploy (Maven31ArtifactDeployer.java:122) at org.apache.maven.shared.transfer.artifact.deploy.internal.DefaultArtifactDeployer.deploy (DefaultArtifactDeployer.java:79) at org.apache.maven.shared.transfer.project.deploy.internal.DefaultProjectDeployer.deploy (DefaultProjectDeployer.java:190) at org.apache.maven.shared.transfer.project.deploy.internal.DefaultProjectDeployer.deploy (DefaultProjectDeployer.java:134) at org.apache.maven.plugins.deploy.DeployMojo.deployProject (DeployMojo.java:193) at org.apache.maven.plugins.deploy.DeployMojo.execute (DeployMojo.java:159) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:136) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:151) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:115) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:79) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:64) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:131) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:196) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:109) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:977) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:291) at org.apache.maven.cli.MavenCli.main (MavenCli.java:195) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [DEBUG] Failed to dispatch transfer event 'PUT PROGRESSED http://localhost:8080/bar/3.5-SNAPSHOT/foo.jar <> foo.jar' to org.apache.maven.cli.transfer.ConsoleMavenTransferListener java.lang.IllegalArgumentException: progressed file size cannot be greater than size: 136872949 > 135824373 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:662) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.access$200 (AbstractHttpClientWagon.java:118) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon$WagonHttpEntity.writeTo (AbstractHttpClientWagon.java:220) 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) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.execute (AbstractHttpClientWagon.java:991) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:780) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:737) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:709) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:703) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:683) at org.eclipse.aether.transport.wagon.WagonTransporter$PutTaskRunner.run (WagonTransporter.java:686) at org.eclipse.aether.transport.wagon.WagonTransporter.execute (WagonTransporter.java:435) at org.eclipse.aether.transport.wagon.WagonTransporter.put (WagonTransporter.java:418) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$PutTaskRunner.runTask (BasicRepositoryConnector.java:556) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run (BasicRepositoryConnector.java:364) at org.eclipse.aether.connector.basic.BasicRepositoryConnector.put (BasicRepositoryConnector.java:288) at org.eclipse.aether.internal.impl.DefaultDeployer.deploy (DefaultDeployer.java:295) at org.eclipse.aether.internal.impl.DefaultDeployer.deploy (DefaultDeployer.java:213) at org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy (DefaultRepositorySystem.java:386) at org.apache.maven.shared.transfer.artifact.deploy.internal.Maven31ArtifactDeployer.deploy (Maven31ArtifactDeployer.java:122) at org.apache.maven.shared.transfer.artifact.deploy.internal.DefaultArtifactDeployer.deploy (DefaultArtifactDeployer.java:79) at org.apache.maven.shared.transfer.project.deploy.internal.DefaultProjectDeployer.deploy (DefaultProjectDeployer.java:190) at org.apache.maven.shared.transfer.project.deploy.internal.DefaultProjectDeployer.deploy (DefaultProjectDeployer.java:134) at org.apache.maven.plugins.deploy.DeployMojo.deployProject (DeployMojo.java:193) at org.apache.maven.plugins.deploy.DeployMojo.execute (DeployMojo.java:159) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:136) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:151) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:115) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:79) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:64) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:131) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:196) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:109) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:977) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:291) at org.apache.maven.cli.MavenCli.main (MavenCli.java:195) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) ... [DEBUG] Failed to dispatch transfer event 'PUT PROGRESSED http://localhost:8080/bar/3.5-SNAPSHOT/foo.jar <> foo.jar' to org.apache.maven.cli.transfer.ConsoleMavenTransferListener java.lang.IllegalArgumentException: progressed file size cannot be greater than size: 271614965 > 135824373 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:662) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.access$200 (AbstractHttpClientWagon.java:118) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon$WagonHttpEntity.writeTo (AbstractHttpClientWagon.java:220) 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) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.execute (AbstractHttpClientWagon.java:991) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:780) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:737) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:709) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:703) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:683) at org.eclipse.aether.transport.wagon.WagonTransporter$PutTaskRunner.run (WagonTransporter.java:686) at org.eclipse.aether.transport.wagon.WagonTransporter.execute (WagonTransporter.java:435) at org.eclipse.aether.transport.wagon.WagonTransporter.put (WagonTransporter.java:418) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$PutTaskRunner.runTask (BasicRepositoryConnector.java:556) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run (BasicRepositoryConnector.java:364) at org.eclipse.aether.connector.basic.BasicRepositoryConnector.put (BasicRepositoryConnector.java:288) at org.eclipse.aether.internal.impl.DefaultDeployer.deploy (DefaultDeployer.java:295) at org.eclipse.aether.internal.impl.DefaultDeployer.deploy (DefaultDeployer.java:213) at org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy (DefaultRepositorySystem.java:386) at org.apache.maven.shared.transfer.artifact.deploy.internal.Maven31ArtifactDeployer.deploy (Maven31ArtifactDeployer.java:122) at org.apache.maven.shared.transfer.artifact.deploy.internal.DefaultArtifactDeployer.deploy (DefaultArtifactDeployer.java:79) at org.apache.maven.shared.transfer.project.deploy.internal.DefaultProjectDeployer.deploy (DefaultProjectDeployer.java:190) at org.apache.maven.shared.transfer.project.deploy.internal.DefaultProjectDeployer.deploy (DefaultProjectDeployer.java:134) at org.apache.maven.plugins.deploy.DeployMojo.deployProject (DeployMojo.java:193) at org.apache.maven.plugins.deploy.DeployMojo.execute (DeployMojo.java:159) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:136) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:151) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:115) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:79) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:64) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:131) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:196) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:109) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:977) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:291) at org.apache.maven.cli.MavenCli.main (MavenCli.java:195) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [DEBUG] Failed to dispatch transfer event 'PUT PROGRESSED http://localhost:8080/bar/3.5-SNAPSHOT/foo.jar <> foo.jar' to org.apache.maven.cli.transfer.ConsoleMavenTransferListener java.lang.IllegalArgumentException: progressed file size cannot be greater than size: 271648746 > 135824373 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:662) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.access$100 (AbstractHttpClientWagon.java:118) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon$WagonHttpEntity.writeTo (AbstractHttpClientWagon.java:204) 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) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.execute (AbstractHttpClientWagon.java:991) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:780) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:737) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:709) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:703) at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put (AbstractHttpClientWagon.java:683) at org.eclipse.aether.transport.wagon.WagonTransporter$PutTaskRunner.run (WagonTransporter.java:686) at org.eclipse.aether.transport.wagon.WagonTransporter.execute (WagonTransporter.java:435) at org.eclipse.aether.transport.wagon.WagonTransporter.put (WagonTransporter.java:418) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$PutTaskRunner.runTask (BasicRepositoryConnector.java:556) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run (BasicRepositoryConnector.java:364) at org.eclipse.aether.connector.basic.BasicRepositoryConnector.put (BasicRepositoryConnector.java:288) at org.eclipse.aether.internal.impl.DefaultDeployer.deploy (DefaultDeployer.java:295) at org.eclipse.aether.internal.impl.DefaultDeployer.deploy (DefaultDeployer.java:213) at org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy (DefaultRepositorySystem.java:386) at org.apache.maven.shared.transfer.artifact.deploy.internal.Maven31ArtifactDeployer.deploy (Maven31ArtifactDeployer.java:122) at org.apache.maven.shared.transfer.artifact.deploy.internal.DefaultArtifactDeployer.deploy (DefaultArtifactDeployer.java:79) at org.apache.maven.shared.transfer.project.deploy.internal.DefaultProjectDeployer.deploy (DefaultProjectDeployer.java:190) at org.apache.maven.shared.transfer.project.deploy.internal.DefaultProjectDeployer.deploy (DefaultProjectDeployer.java:134) at org.apache.maven.plugins.deploy.DeployMojo.deployProject (DeployMojo.java:193) at org.apache.maven.plugins.deploy.DeployMojo.execute (DeployMojo.java:159) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:136) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:151) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:115) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:79) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:64) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:131) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:196) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:109) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:977) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:291) at org.apache.maven.cli.MavenCli.main (MavenCli.java:195) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [DEBUG] http-outgoing-1 << HTTP/1.1 204 [DEBUG] http-outgoing-1 << Date: Sat, 02 May 2020 00:54:59 GMT [DEBUG] http-outgoing-1 << Keep-Alive: timeout=20 [DEBUG] http-outgoing-1 << Connection: keep-alive