You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2020/04/29 16:07:21 UTC

[royale-asjs] branch develop updated: - Ensured the latest wagon providers are used by the wagon-maven-plugin uses - Added some properties to fine-tune the way the http wagon provider deploys

This is an automated email from the ASF dual-hosted git repository.

harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new ff74b4f  - Ensured the latest wagon providers are used by the wagon-maven-plugin uses - Added some properties to fine-tune the way the http wagon provider deploys
     new 920f813  Merge pull request #816 from chrisdutz/develop
ff74b4f is described below

commit ff74b4f57d57edfc9ad394ec2e415edfdd51b62e
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Wed Apr 29 17:30:35 2020 +0200

    - Ensured the latest wagon providers are used by the wagon-maven-plugin uses
    - Added some properties to fine-tune the way the http wagon provider deploys
    
    REMARK: These properties should probably be disabled or tuned as I switched off paralellism completely ... it might also have an effect on resolving dependencies.
---
 pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/pom.xml b/pom.xml
index 99aa241..fac5354 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,6 +77,15 @@
     <junit.version>4.12</junit.version>
 
     <release-profiles>apache-release,with-distribution,option-with-swf</release-profiles>
+
+    <!-- Dont't open multiple connections to one service to upload multiple artifacts at the same time -->
+    <maven.wagon.httpconnectionManager.maxPerRoute>1</maven.wagon.httpconnectionManager.maxPerRoute>
+    <!-- Dont't open multiple connections in total to upload multiple artifacts at the same time -->
+    <maven.wagon.httpconnectionManager.maxTotal>1</maven.wagon.httpconnectionManager.maxTotal>
+    <!-- Change the retry handler to a version that supports retries -->
+    <maven.wagon.http.retryHandler.class>standard</maven.wagon.http.retryHandler.class>
+    <!-- Try at most 6 times to deploy every artifact -->
+    <maven.wagon.http.retryHandler.count>6</maven.wagon.http.retryHandler.count>
   </properties>
 
   <!-- Only configure the site distribution as the rest is handled by the apache parent -->
@@ -115,6 +124,14 @@
   </modules>
 
   <build>
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-http</artifactId>
+        <version>3.4.0</version>
+      </extension>
+    </extensions>
+
     <pluginManagement>
       <plugins>
         <plugin>