summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorAnaël Closson <ac2550@intl.att.com>2017-08-29 17:18:08 +0200
committerAnaël Closson <ac2550@intl.att.com>2017-08-29 17:18:08 +0200
commita75c5c88fe7733cbdfe9afe91cc6c4c141bebabc (patch)
tree92d8c93a73656bb9a570da42cce5c2b24b53a5bc /pom.xml
parent35b7186f9389a099c5035c50afeba1d975779a2d (diff)
Optional execution off versions-maven-pluginv0.1.0
The maven plugin used for displaying the list of artifacts that can be updated consumes a lot of time on each job execution on the LF infrastructure. The execution should be optional and can be configured by assigning it on a specific maven phase when needed using the following variable: versions.plugin.phase By default, it's assigned to a non existing phase to disable it. Change-Id: I30d38a8458e6e855ff27cf3c31678cbc373e59c9 Issue-Id: INT-121 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 64a62ed..7ac034e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,6 +34,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
+ <versions.plugin.phase>none</versions.plugin.phase>
<!-- sitePath may be overridden in the inheriting POM if desired -->
<sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
</properties>
@@ -110,7 +111,7 @@
<executions>
<execution>
<id>check-dependencies-version</id>
- <phase>validate</phase>
+ <phase>${versions.plugin.phase}</phase>
<goals>
<goal>display-dependency-updates</goal>
</goals>