aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2022-10-04 14:08:57 +1000
committerOlivier Lamy <olamy@apache.org>2022-10-04 14:08:57 +1000
commit772db34742e08fd5cf17fedb467f9259e589aa85 (patch)
treeed3f16bbef89a72556edeef4343744c423cf8aed
parentad0108f1b86684e2efa319be85ef312b32ca6c1c (diff)
downloadarchiva-772db34742e08fd5cf17fedb467f9259e589aa85.tar.gz
archiva-772db34742e08fd5cf17fedb467f9259e589aa85.zip
simplify release
Signed-off-by: Olivier Lamy <olamy@apache.org>
-rw-r--r--pom.xml5
1 files changed, 4 insertions, 1 deletions
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>