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>
<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>
<executions>
<execution>
<id>check-dependencies-version</id>
- <phase>validate</phase>
+ <phase>${versions.plugin.phase}</phase>
<goals>
<goal>display-dependency-updates</goal>
</goals>