Nick Dimiduk created HBASE-23980:
------------------------------------

             Summary: Use enforcer plugin to print JVM info in maven output
                 Key: HBASE-23980
                 URL: https://issues.apache.org/jira/browse/HBASE-23980
             Project: HBase
          Issue Type: Task
          Components: build
            Reporter: Nick Dimiduk


This is a little nice-to-have. We currently dump OS info using 
{{os-maven-plugin}}. Since we build on multiple JVM environments, would be nice 
to add that info too. Looking around, there wasn't an obvious source of this 
information, until I realized it's readily available via 
{{enforcer:display-info}}. Should add this to the top-level pom, if we can get 
it to run just once/build instead of with every module.

{noformat}
[INFO] --- maven-enforcer-plugin:3.0.0-M2:display-info (default-cli) @ 
hbase-archetype-builder ---
[INFO] Maven Version: 3.6.3
[INFO] JDK Version: 1.8.0_222 normalized as: 1.8.0-222
[INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.14.6
[INFO] ------------------------------------------------------------------------
{noformat}

{noformat}
[INFO] --- maven-enforcer-plugin:3.0.0-M2:display-info (default-cli) @ 
hbase-archetype-builder ---
[INFO] Maven Version: 3.6.3
[INFO] JDK Version: 11.0.4 normalized as: 11.0.4
[INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.14.6
[INFO] ------------------------------------------------------------------------
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to