HBASE-23980 Use enforcer plugin to print JVM info in maven output

Does what it says on the tin. Bound to `initialize` phase so that it
runs early in lifecycle. Uses `<inherited>false</inherited>` so that
the plugin will run only for the base pom's reactor stage and not for
any children.

Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
This commit is contained in:
Nick Dimiduk 2020-03-19 16:52:51 -07:00 committed by Nick Dimiduk
parent 304edcf1af
commit 7d89a9870b
1 changed files with 8 additions and 0 deletions

View File

@ -876,6 +876,14 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>display-info</id>
<phase>initialize</phase>
<goals>
<goal>display-info</goal>
</goals>
<inherited>false</inherited>
</execution>
<execution>
<id>hadoop-profile-min-maven-min-java-banned-xerces</id>
<goals>