]> source.dussan.org Git - archiva.git/commitdiff
simplify release
authorOlivier Lamy <olamy@apache.org>
Tue, 4 Oct 2022 04:08:57 +0000 (14:08 +1000)
committerOlivier Lamy <olamy@apache.org>
Tue, 4 Oct 2022 04:08:57 +0000 (14:08 +1000)
Signed-off-by: Olivier Lamy <olamy@apache.org>
pom.xml

diff --git a/pom.xml b/pom.xml
index e70bef38f9daf64fe6b1fb523031e026434b81f9..47ea56eef9d460196f1ee4450cb13f693992e4d2 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <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>
             <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>