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:06:51 UTC

[royale-compiler] 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-compiler.git


The following commit(s) were added to refs/heads/develop by this push:
     new 505ef6c  - 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 1994881  Merge pull request #146 from chrisdutz/develop
505ef6c is described below

commit 505ef6c2d1eeb4519522f642555739604a908ec1
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Wed Apr 29 17:30:34 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 00d62d1..aac969d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -56,6 +56,15 @@
     <option.withSwf.enabled>false</option.withSwf.enabled>
 
     <release-profiles>apache-release,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 -->
@@ -104,6 +113,14 @@
   </modules>
 
   <build>
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-http</artifactId>
+        <version>3.4.0</version>
+      </extension>
+    </extensions>
+
     <plugins>
       <!-- Execute some checks if the environment ist correctly configured -->
       <plugin>