You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by nd...@apache.org on 2020/03/23 21:28:08 UTC

[hbase] branch master updated: HBASE-23980 Use enforcer plugin to print JVM info in maven output

This is an automated email from the ASF dual-hosted git repository.

ndimiduk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new af4fdcc  HBASE-23980 Use enforcer plugin to print JVM info in maven output
af4fdcc is described below

commit af4fdcc556eee76a03b88969739521f4cb154d87
Author: Nick Dimiduk <nd...@apache.org>
AuthorDate: Thu Mar 19 16:52:51 2020 -0700

    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 <vj...@apache.org>
    Signed-off-by: Jan Hentschel <ja...@ultratendency.com>
---
 pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/pom.xml b/pom.xml
index 4ec1832..dfde144 100755
--- a/pom.xml
+++ b/pom.xml
@@ -1040,6 +1040,14 @@
         <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>
               <goal>enforce</goal>