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

olamy pushed a commit to branch archiva-2.x
in repository https://gitbox.apache.org/repos/asf/archiva.git


The following commit(s) were added to refs/heads/archiva-2.x by this push:
     new 772db3474 simplify release
772db3474 is described below

commit 772db34742e08fd5cf17fedb467f9259e589aa85
Author: Olivier Lamy <[email protected]>
AuthorDate: Tue Oct 4 14:08:57 2022 +1000

    simplify release
    
    Signed-off-by: Olivier Lamy <[email protected]>
---
 pom.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index e70bef38f..47ea56eef 100644
--- a/pom.xml
+++ b/pom.xml
@@ -104,7 +104,9 @@
     <asfTomcatMavenPluginVersion>2.2</asfTomcatMavenPluginVersion>
     <tomcat7Version>7.0.54</tomcat7Version>
 
+    <arguments></arguments>
     <release.preparationGoals>clean install</release.preparationGoals>
+    <release.arguments>-DretryFailedDeploymentCount=5 
${arguments}</release.arguments>
     <springockito.version>1.0.9</springockito.version>
     <mockito.version>1.9.5</mockito.version>
   </properties>
@@ -1805,8 +1807,9 @@
             <useReleaseProfile>false</useReleaseProfile>
             <autoVersionSubmodules>true</autoVersionSubmodules>
             <goals>deploy</goals>
+            <releaseProfiles>release</releaseProfiles>
             <preparationGoals>${release.preparationGoals}</preparationGoals>
-            <arguments>-Prelease -DretryFailedDeploymentCount=5</arguments>
+            <arguments>${release.arguments}</arguments>
           </configuration>
         </plugin>
         <plugin>

Reply via email to